Hi,

http://www.libvirt.org/html/libvirt-libvirt.html#virNodeInfo says that memory size is in kilobytes, however when I use this call I get an answer in Megabytes, see below. The hypervisor has 16 GB of RAM.

$ python
Python 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import libvirt

>>> conn=libvirt.open("qemu+ssh://xx@xx.xxx.com/system")
Enter passphrase for key '/home/xx/.ssh/id_rsa':

>>> hv_info=conn.getInfo()

>>> hv_info
['x86_64', 15919, 8, 3292, 1, 1, 4, 2]

15,919 is the number I am referencing, should that not be in bytes and not MB?
8 is the number of cores, CPU is 3.2Ghz.

$ rpm -q libvirt
libvirt-0.10.2-18.el6_4.14.x86_64

$ uname -a
Linux xx.xxx.com 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Thanks