xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libxc: silence HVM domain creation messages
@ 2013-08-14 22:20 Matthew Daley
  2013-08-20 15:03 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Daley @ 2013-08-14 22:20 UTC (permalink / raw)
  To: xen-devel; +Cc: fabio.fantoni, 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_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 <mattjd@gmail.com>
---
 tools/libxc/xc_hvm_build_x86.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/libxc/xc_hvm_build_x86.c b/tools/libxc/xc_hvm_build_x86.c
index 8bb0178..77bd365 100644
--- a/tools/libxc/xc_hvm_build_x86.c
+++ b/tools/libxc/xc_hvm_build_x86.c
@@ -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",
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-20 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 22:20 [PATCH] libxc: silence HVM domain creation messages Matthew Daley
2013-08-20 15:03 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).