[libvirt] FreeNodeMemory

Daniel P. Berrange berrange at redhat.com
Fri Feb 6 11:09:31 UTC 2009


On Fri, Feb 06, 2009 at 09:53:04AM +0000, Gihan Munasinghe wrote:
> Is there a specific reason for not having a "free_memory" with in the 
> "virNodeInfo" structure.

All public structures are part of the public ABI and channot
be changed once added. virNodeInfo existed long before the
free memory API came about, hence its not present there.
 
> I can see there is "virNodeGetFreeMemory(connection)" which currently 
> not implemented for XEN..

Yes it is. In xen_unified.c the xenUnifiedNodeGetFreeMemory method 
provides the impl

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 :|




More information about the libvir-list mailing list