]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: esxNodeGetFreeMemory return info from host.
authorDawid Zamirski <dzamirski@datto.com>
Mon, 9 Mar 2015 15:54:05 +0000 (11:54 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Apr 2015 09:30:13 +0000 (11:30 +0200)
commit66fe31d12622cda48ea33005d2474ec8ed69a7b9
tree1da582979d7f0ffa96c692681bbd6a5c3df64970
parent486a8e47c098c108c5706c37b12f1a362322c3ce
esx: esxNodeGetFreeMemory return info from host.

Before this patch, when connected via vCenter, the free memory returned
was from the resorcePool (usually a cluster). This is in conflict with
e.g esxNodeGetInfo which always pulls info from the ESX host.
Since libvirt ESX driver works primarily with ESX hosts, this patch
changes esxNodeGetFreeMemory to pull that information from ESX host so
it's consistent with behavior of esxNodeGetInfo.
src/esx/esx_driver.c