[libvirt] Inconsistency with documentation virDomainGetMaxMemory(NULL)

Stefan de Konink skinkie at xs4all.nl
Sat Jul 19 13:33:26 UTC 2008


Stefan de Konink schreef:
> Stefan de Konink schreef:
>>  From docs:
>>
>> Retrieve the maximum amount of physical memory allocated to a domain. 
>> If domain is NULL, then this get the amount of memory reserved to 
>> Domain0 i.e. the domain where the application runs.
> 
> Doing it the 'proper' way gives an even more interesting answer:

Checking the free memory also results in strange measures:

printf("%llu\n", virNodeGetFreeMemory(conn));

28672

> That doesn't make sense.

I'm running the lastest git version of libvirt...


Stefan




More information about the libvir-list mailing list