[libvirt-users] printing domain information

John Wayne m01z04-libvirt at yahoo.com
Sat May 5 06:24:31 UTC 2012

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

More information about the libvirt-users mailing list