xen: modify dom0 interface for obtaining memory map
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen/x86: return partial memory map in case of not enough spacexen/ xen/ | +14 | 7 replies | |
| 2/2 | xen/x86: add a way to obtain the needed number of memory map entriesxen/ xen/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] xen: modify dom0 interface for obtaining memory map
Today's interface to get the machine memory map in dom0 requires to know in advance how large the final map will be. There is however no way to either get only a part of the memory map or to ask the hypervisor about its size.
This patch set enhances the XENMEM_machine_memory_map hypercall to solve both issues by returning only a partial memory map in case the supplied buffer was too small and to return the needed number of entries if no buffer is being supplied.
Juergen Gross (2):
xen/x86: return partial memory map in case of not enough space xen/x86: add a way to obtain the needed number of memory map entries
xen/arch/x86/mm.c | 52 +++++++++++++++++++++++++++------------------ xen/include/public/memory.h | 4 ++++ 2 files changed, 35 insertions(+), 21 deletions(-)
Signature · 7 lines
2.10.2 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel