search for: guest_domain

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

Did you mean: guest_domains
2020 Aug 24
2
Re: python-libvirt domain.destroy() doesn't appear to be working for me
I was simply following the examples in the python-libvirt repo. If those methods raise exceptions I'll definitely change to try/catch. Thank you. The maintainer of the repo should update the examples and documentation if exceptions are raised by those. On Mon, Aug 24, 2020, 05:31 Daniel P. Berrangé <berrange@redhat.com> wrote: > On Sat, Aug 22, 2020 at 10:32:09AM -0400, Jeremy
2012 May 05
1
listing active and defined vs inactive and defined domains
...s_activedomains(conn): #get active domain ids numofdomains=libvirt.virConnect.numOfDomains(conn) activedomains=libvirt.virConnect.listDomainsID(conn) return activedomains i am stuck on how to get inactive domains the example listed here?http://libvirt.org/guide/html/Application_Development_Guide-Guest_Domains-Listing.html under example 4.4 and example 4.5 seems to be outdated looking at?/usr/lib64/python2.6/site-packages/libvirt.py, line 2337 says that "Note that this won't work for inactive domains which have an ID of -1" i think example 4.5 is wrong because if inactive domains have an i...