[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] qemu: Enable disabled debug messages



---
 src/qemu/qemu_conf.c |    2 +-
 src/qemu/qemu_conf.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index d81e6cc..08c084b 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -1449,7 +1449,7 @@ int qemudParseHelpStr(const char *qemu,
 
     *flags = qemudComputeCmdFlags(help, *version, *is_kvm, *kvm_version);
 
-    qemudDebug("Version %u.%u.%u, cooked version %u, flags %u",
+    qemudDebug("Version %u.%u.%u, cooked version %u, flags 0x%llx",
                major, minor, micro, *version, *flags);
     if (*kvm_version)
         qemudDebug("KVM version %d detected", *kvm_version);
diff --git a/src/qemu/qemu_conf.h b/src/qemu/qemu_conf.h
index a1556cb..50938f5 100644
--- a/src/qemu/qemu_conf.h
+++ b/src/qemu/qemu_conf.h
@@ -44,7 +44,7 @@
 # include "macvtap.h"
 # include "command.h"
 
-# define qemudDebug(fmt, ...) do {} while(0)
+# define qemudDebug DEBUG
 
 # define QEMUD_CPUMASK_LEN CPU_SETSIZE
 
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]