From 43965eda6fe940e023740882fa808d9cec746780 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 10 May 2019 10:02:07 +0200 Subject: [PATCH] main: Improve guest setting log format Signed-off-by: Samuel Ortiz --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index c5624e27c..7299bf0c6 100755 --- a/src/main.rs +++ b/src/main.rs @@ -104,8 +104,10 @@ fn main() { memory = mem.parse::().unwrap(); } - println!("VM [{} vCPUS {} MB of memory]", vcpus, memory); - println!("Booting {:?}...", kernel_path); + println!( + "Cloud Hypervisor Guest\n\tvCPUs: {}\n\tMemory: {} MB\n\tKernel: {:?}\n\tKernel cmdline: {}\n\tDisk: {:?}", + vcpus, memory, kernel_path, cmdline, disk_path + ); let vm_config = VmConfig::new( kernel_path,