Re: [libvirt] Inconsistency with documentation virDomainGetMaxMemory(NULL)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]