[libvirt] [PATCH]: Fix up virNodeGetCellsFreeMemory

The documentation for virNodeGetCellsFreeMemory claims the values returned are in kilobytes, but that's actually wrong; the value returned is actually in bytes. Fix up the documentation to be correct. Signed-off-by: Chris Lalancette <clalance@redhat.com> --- docs/devhelp/libvirt-libvirt.html | 2 +- docs/html/libvirt-libvirt.html | 2 +- docs/libvirt-api.xml | 2 +- docs/libvirt-refs.xml | 1 - src/libvirt.c | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-)

On Fri, Aug 28, 2009 at 04:58:13PM +0200, Chris Lalancette wrote:
The documentation for virNodeGetCellsFreeMemory claims the values returned are in kilobytes, but that's actually wrong; the value returned is actually in bytes. Fix up the documentation to be correct.
Opps, I thought we had fixed this docs problem already, but looking back at commit 81e6a22192c9b160b984b2a2a7f1d8e3a12b0429 Author: Daniel Veillard <veillard@redhat.com> Date: Fri Apr 17 15:34:53 2009 +0000 we only fixed the similar virNodeGetFreeMemory() call. ACK Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

Daniel P. Berrange wrote:
On Fri, Aug 28, 2009 at 04:58:13PM +0200, Chris Lalancette wrote:
The documentation for virNodeGetCellsFreeMemory claims the values returned are in kilobytes, but that's actually wrong; the value returned is actually in bytes. Fix up the documentation to be correct.
Opps, I thought we had fixed this docs problem already, but looking back at
commit 81e6a22192c9b160b984b2a2a7f1d8e3a12b0429 Author: Daniel Veillard <veillard@redhat.com> Date: Fri Apr 17 15:34:53 2009 +0000
we only fixed the similar virNodeGetFreeMemory() call.
ACK
Committed. -- Chris Lalancette
participants (2)
-
Chris Lalancette
-
Daniel P. Berrange