free memory on hypervisor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i am trying to get the free memory on a hypervisor using libvert, with the python api bindings
as per http://libvirt.org/python.html, it should be pretty easy, however the below is failing:

#conn is a connection object
freemem=libvirt.virNode.getFreeMemory(conn)

although this works fine:

software=libvirt.virConnect.getType(conn)
if software ==  'QEMU':
logging.debug('hypervisor is type QEMU')

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux