libxc: silence HVM domain creation messages
PATCH 1/1 libxc: silence HVM domain creation messages
There's no need for xl to output these messages on HVM domain creation to stderr by default.
Change their loglevels from XTL_INFO to XTL_DETAIL; then the messages output by xl are the same as those for PV domain creation. These now-silenced messages can still be seen using verbose (-v) mode.
Signed-off-by Matthew Daley <[email protected]>
--- tools/libxc/xc_hvm_build_x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxc/xc_hvm_build_x86.c +2 -2
@@ -281,7 +281,7 @@ static int setup_guest(xc_interface *xch, goto error_out; } -IPRINTF ("VIRTUAL MEMORY ARRANGEMENT:\n" +DPRINTF ("VIRTUAL MEMORY ARRANGEMENT:\n" " Loader: %016" PRIx64"->%016" PRIx64"\n" " Modules: %016" PRIx64"->%016" PRIx64"\n" " TOTAL: %016"PRIx64"->%016"PRIx64"\n"
@@ -443,7 +443,7 @@ static int setup_guest(xc_interface *xch, goto error_out; } - IPRINTF("PHYSICAL MEMORY ALLOCATION:\n" + DPRINTF("PHYSICAL MEMORY ALLOCATION:\n" " 4KB PAGES: 0x%016lx\n" " 2MB PAGES: 0x%016lx\n" " 1GB PAGES: 0x%016lx\n",
Signature · 1 line
1.7.10.4
Quoted 8 lines · Matthew Daley
There's no need for xl to output these messages on HVM domain creation to stderr by default.
Change their loglevels from
XTL_INFOtoXTL_DETAIL; then the messages output by xl are the same as those for PV domain creation. These now-silenced messages can still be seen using verbose (-v) mode.Signed-off-by Matthew Daley <[email protected]>
acked + applied, thanks.