On 08/24/2011 08:13 AM, Daniel P. Berrange wrote:
On Tue, Aug 16, 2011 at 02:27:23PM -0600, Eric Blake wrote:
> I was testing a virsh patch, and wanted to see if I had passed the
> flags I thought. But with LIBVIRT_DEBUG in the environment, I just
> saw:
>
> 14:24:52.359: 15022: debug : virDomainSnapshotNum:15586 : dom=0xc9c180, (VM:
name=rhel_6-64, uuid=48f8e8e7-e14f-0e14-02f0-ce71997bdcab),
>
> including a trailing space. This fixes the issues.
>
> * src/libvirt.c: Log flag parameters, even if currently unused.
> (VIR_DOMAIN_DEBUG_0): Drop trailing comma in log.
> (VIR_DOMAIN_DEBUG_1): Split guts into...
> (VIR_DOMAIN_DEBUG_2): ...new macro.
> ---
> src/libvirt.c | 58 +++++++++++++++++++++++++++++++-------------------------
> 1 files changed, 32 insertions(+), 26 deletions(-)
ACK
Thanks; pushed.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org