[libvirt] [PATCH 06/23] Add further debugging lines to domain lock manager
Eric Blake
eblake at redhat.com
Tue Aug 14 23:58:21 UTC 2012
On 08/09/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/locking/domain_lock.c | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
No functional change, but easier to debug.
ACK.
> diff --git a/src/locking/domain_lock.c b/src/locking/domain_lock.c
> index ba49f9c..4ac16f2 100644
> --- a/src/locking/domain_lock.c
> +++ b/src/locking/domain_lock.c
> @@ -160,6 +160,9 @@ int virDomainLockProcessStart(virLockManagerPluginPtr plugin,
> int ret;
> int flags = VIR_LOCK_MANAGER_ACQUIRE_RESTRICT;
>
> + VIR_DEBUG("plugin=%p dom=%p paused=%d fd=%p",
> + plugin, dom, paused, fd);
I did a double-take on the fd=%p, but it really is a pointer whose
contents will be set later on, and not an int whose value we report now.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120814/7eac0757/attachment-0001.sig>
More information about the libvir-list
mailing list