mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
main: Report enabled features from CLI with "--version -v"
Fixes: #5817 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
ff651e0e28
commit
1e01b5eabc
@ -676,6 +676,11 @@ fn main() {
|
||||
|
||||
if toplevel.version {
|
||||
println!("{} {}", env!("CARGO_BIN_NAME"), env!("BUILD_VERSION"));
|
||||
|
||||
if toplevel.verbosity != 0 {
|
||||
println!("Enabled features: {:?}", vmm::feature_list());
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user