Displaying 1 result from an estimated 1 matches for "s_activedomain".
Did you mean:
s_activedomains
2012 May 05
1
listing active and defined vs inactive and defined domains
i am trying to list active + defined and inactive + defined domains using libvirt 0.9.4
i can get active domains using:
def 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-L...