This can prove useful if we want to track down problems like the
double-call of domainSuspend.
Also attached below is the output of virt-manager when this tracing is
enabled.
Note that if --enable-debug is not set, then no extra code is added to
libvirt.
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virInitialize ()
libvirt: virConnectOpen (name=xen)
libvirt: do_open: proceeding with name=xen:///
libvirt: do_open: trying driver 0 (Test) ...
libvirt: do_open: driver 0 returned DECLINED
libvirt: do_open: trying driver 1 (QEMU) ...
libvirt: do_open: driver 1 returned DECLINED
libvirt: do_open: trying driver 2 (Xen) ...
libvirt: do_open: driver 2 returned SUCCESS
libvir: Remote error : No such file or directory
libvir: warning : Failed to find the network: Is the daemon running ?
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c510, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virDomainLookupByID (conn=0x1052760, id=0)
libvirt: virDomainGetUUID (domain=0x104c660, uuid=0x7fff3a55ccd0)
libvirt: virDomainLookupByID (conn=0x1052760, id=12)
libvirt: virDomainGetUUID (domain=0x105a510, uuid=0x7fff3a55ccd0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c400)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c400)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55cca0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55cad0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55cad0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetName (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetName (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectGetType (conn=0x1052760)
libvirt: virConnectGetType (conn=0x1052760)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainSuspend (domain=0x105a510)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55bab0)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainResume (domain=0x105a510)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55bab0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectNumOfNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor: virConnectNumOfNetworks
libvirt: virConnectNumOfDefinedNetworks (conn=0x1052760)
libvir: error : this function is not supported by the hypervisor:
virConnectNumOfDefinedNetworks
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virConnectListDomains (conn=0x1052760, ids=0x7fff3a55c010, maxids=500)
libvirt: virConnectNumOfDefinedDomains (conn=0x1052760)
libvirt: virNodeGetInfo (conn=0x1052760, info=0x7fff3a55c7a0)
libvirt: virDomainGetInfo (domain=0x104c660, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetInfo (domain=0x105a510, info=0x7fff3a55c5d0)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x105a510)
libvirt: virDomainGetID (domain=0x104c660)
libvirt: virDomainGetID (domain=0x105a510)