On Sat, May 5, 2012 at 1:24 AM, John Wayne <m01z04-libvirt at yahoo.com>
wrote:> how do i print the features of a domain from functions that return a domain
object?
> for instance mydomain
=?virdomain=libvirt.virConnect.lookupByID(conn,domainid)
> so mydomain is?virDomainPtr, which is?typedef virDomain * virDomainPtr
> i am not sure on how to print the domain object features in python, such as
name, disk size, etc
Use python's built in help.
$ python>>> import libvirt
>>> help (libvirt.virDomain)
--
Doug Goldstein