search for: listdomainid

Displaying 2 results from an estimated 2 matches for "listdomainid".

Did you mean: listdomainsid
2015 Nov 26
2
New vs old API usages
Hi, Currently I am using the latest libvirt API listAllDomains() to probe for domains. I may need to fall back to older API for old libvirt server such as: listDefinedDomains() and lookupByName() instead of listAllDomains(). Is there any disadvantage to using listAllDomains instead of listAllDomains or its the same results via different API? Thank you, Shahar.
2015 Nov 27
0
Re: New vs old API usages
...libvirt server such as: listDefinedDomains() and lookupByName() >instead of listAllDomains(). >Is there any disadvantage to using listAllDomains instead of listAllDomains >or its the same results via different API? > I guess you meant "disadvantage to using listDefinedDomains and listDomainIDs instead of listAllDomains". And yes there is, you have to call two functions, one for collecting domains that are shut off and one for those that are running. For those that are running, you only get IDs and you have to iterate over them. The process is not atomic, so if in the meantime th...