From 13724dbd22fa5ce4d663e49ddb9b67f36d939e3c Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 18 Mar 2021 10:59:50 +0000 Subject: [PATCH] main: Remove messages from startup Remove the startup message containing incomplete VM configuration details. It's a bit unusual for a tool such as Cloud Hypervisor to print those kind of details which are a direct representation of the command line. Signed-off-by: Rob Bradford --- src/main.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3caf31655..539101149 100644 --- a/src/main.rs +++ b/src/main.rs @@ -432,18 +432,6 @@ fn start_vmm(cmd_arguments: ArgMatches, api_socket_path: &Option) -> Res let vm_params = config::VmParams::from_arg_matches(&cmd_arguments); let vm_config = config::VmConfig::parse(vm_params).map_err(Error::ParsingConfig)?; - println!( - "Cloud Hypervisor Guest\n\tAPI server: {:?}\n\tvCPUs: {}\n\tMemory: {} MB\n\tKernel: \ - {:?}\n\tInitramfs: {:?}\n\tKernel cmdline: {}\n\tDisk(s): {:?}", - api_socket_path, - vm_config.cpus.boot_vcpus, - vm_config.memory.size >> 20, - vm_config.kernel, - vm_config.initramfs, - vm_config.cmdline.args.as_str(), - vm_config.disks, - ); - // Create and boot the VM based off the VM config we just built. let sender = api_request_sender.clone(); vmm::api::vm_create(