*In the python bindings of libvirt, could we please add the following code
to the virDomain class?  *

def state(self):
    """return the state of the dom object"""
    return self.info()[0]


*This helper function would make the world of difference when
coding against the libvirt api. *

-- 

  *Russell J Ballestrini*
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to