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