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

Re: [libvirt] [PATCH 3/4] Log return value for virConnectGetCapabilities



On Tue, Aug 17, 2010 at 11:16:34AM -0400, Daniel P. Berrange wrote:
> Enabling debug doesn't show the capabilities XML for a connection.
> Add an extra debug statement for the return value
> 
> * src/libvirt.c: Enable debug logging of capabilities XML
> ---
>  src/libvirt.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/libvirt.c b/src/libvirt.c
> index 3ec5724..ca383ba 100644
> --- a/src/libvirt.c
> +++ b/src/libvirt.c
> @@ -4074,6 +4074,7 @@ virConnectGetCapabilities (virConnectPtr conn)
>          ret = conn->driver->getCapabilities (conn);
>          if (!ret)
>              goto error;
> +        DEBUG("conn=%p ret=%s", conn, ret);
>          return ret;
>      }

 trivial, ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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