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

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



On 12/07/2010 10:24 AM, Jiri Denemark wrote:
> ---
>  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

ACK.  Hmm; should we rename the use of qemudDebug in daemon/libvirtd.c
to something more appropriate, as a follow-on cleanup?

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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