Skip to contentSkip to conversation

libxc: use DPRINTF in xc_domain_dumpcore_via_callback

PATCH In review Wei Liu 2 participants 2 messages Aug 11, 2016

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 libxc: use DPRINTF in xc_domain_dumpcore_via_callback

That line doesn't reveal much information to ordinary users.

Change that to debug output.

---
 tools/libxc/xc_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxc/xc_core.c +1 -1
index d792566..e581905 100644
@@ -859,7 +859,7 @@ copy_done:
         /* When live dump-mode (-L option) is specified,
          * guest domain may reduce memory. pad with zero pages.
          */
-        IPRINTF("j (%ld) != nr_pages (%ld)", j, nr_pages);
+        DPRINTF("j (%ld) != nr_pages (%ld)", j, nr_pages);
         memset(dump_mem_start, 0, PAGE_SIZE);
         for (; j < nr_pages; j++) {
             sts = dump_rtn(xch, args, dump_mem_start, PAGE_SIZE);
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel