]> xenbits.xensource.com Git - xen.git/commitdiff
libxc: silence HVM domain creation messages
authorMatthew Daley <mattjd@gmail.com>
Wed, 14 Aug 2013 22:20:54 +0000 (10:20 +1200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 20 Aug 2013 14:23:13 +0000 (15:23 +0100)
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

index 8bb0178dc58d2bc83e8523c904502a15a3a95cce..77bd3650c6486b4180101b5944a93ab6aaceca15 100644 (file)
@@ -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",