[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [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(-) -- 2.10.2 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |