I am using python bindings of libvirt. When I use the function listDomainsID( ) it successfully returns me the list of the ids of my current virtual machines, but when I call function listDefinedDomains( ) it returns me an empty list.

Is this some kind of bug because as per my understanding listDefinedDomains should return a superset of vm's as returned by listDefinedDomains().

I am using 0.8.8 version of the libvirt.