Memory sizes obtained from the hypervisor
During test of HVMlite Mini-OS I found that the memory size obtained via HYPERVISOR_memory_op(XENMEM_current_reservation) was higher than
expected: for a 16MB domain the number of pages was 8 pages larger than I thought it should be. This seems to include the p2m map allocated by the toolstack.
The size returned by HYPERVISOR_memory_op(XENMEM_maximum_reservation) was 1MB larger than expected (additional space for first MB?).
I don't see a problem in this behavior, I just wanted to report it in case this is regarded to be wrong.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 24.08.16 at 13:38, <[email protected]> wrote:
During test of HVMlite Mini-OS I found that the memory size obtained via
HYPERVISOR_memory_op(XENMEM_current_reservation)was higher than
expected: for a 16MB domain the number of pages was 8 pages larger than I thought it should be. This seems to include the p2m map allocated by the toolstack.
I don't think that should be counted separately.
Quoted 2 lines
The size returned by
HYPERVISOR_memory_op(XENMEM_maximum_reservation)was 1MB larger than expected (additional space for first MB?).
Isn't that the result of XSA-153?
Overall the question here really is whether the values read match the values previously set (by the tool stack).
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel