There are some errors in documentation in the following pages: -- link: http://libvirt.org/guide/html/ch03s04s05.html -- line: The virNodeGetCellsFreeMemory API call can be used to obtain the amount of free memory (in kilobytes) -- should be replaced with: The virNodeGetCellsFreeMemory API call can be used to obtain the amount of free memory (in bytes) -- link: http://libvirt.org/guide/html/Application_Development_Guide-Guest_Domains-Listing.html -- line: numDomains = virConnectListDomains(conn, inactiveDomains, numDomains); -- sould be replaced with: numDomains = virConnectListDefinedDomains(conn, inactiveDomains, numDomains); -- link: http://libvirt.org/guide/html/ch03s04s03.html -- line: The virNodeGetFreeMemory API call can be used to obtain the total amount of free memory on the virtualization -- sould be replaced with: The virNodeGetFreeMemory API call can be used to obtain the total amount of free memory (in bytes) on the virtualization
Closing this old bug, since the appdev guide is no longer maintained