From d5371bcdc3671f862b36e897cd6cff8156f385cb Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Sat, 4 Jan 2020 11:39:28 +0000 Subject: [PATCH 2/2] Log boot time as warning this way it gets printed out on stdout without having to mess with logger configs. DO NOT MERGE Signed-off-by: Rolf Neugebauer --- src/vmm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm/src/lib.rs b/src/vmm/src/lib.rs index b0a9586..4d14bb2 100644 --- a/src/vmm/src/lib.rs +++ b/src/vmm/src/lib.rs @@ -1602,7 +1602,7 @@ impl Vmm { let boot_time_us = now_tm_us.time_us - t0_ts.time_us; let boot_time_cpu_us = now_tm_us.cputime_us - t0_ts.cputime_us; - info!( + warn!( "Guest-boot-time = {:>6} us {} ms, {:>6} CPU us {} CPU ms", boot_time_us, boot_time_us / 1000, -- 2.17.1