On Thu, Dec 11, 2014 at 11:29:48AM +, Richard W.M. Jones wrote:
> This returns the raw C pointer to the underlying object, eg:
>
> conn = libvirt.open(None)
> print "0x%x" % conn.c_pointer() # returns virConnectPtr of the connection
> dom = conn.lookupByName("test")
> print "0x%x" %
This returns the raw C pointer to the underlying object, eg:
conn = libvirt.open(None)
print "0x%x" % conn.c_pointer() # returns virConnectPtr of the connection
dom = conn.lookupByName("test")
print "0x%x" % dom.c_pointer()# returns virDomainPtr of the domain
The reason behind this