]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
libxc: create p2m list outside of kernel mapping if supported
authorJuergen Gross <jgross@suse.com>
Thu, 12 Nov 2015 13:43:36 +0000 (14:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 16 Nov 2015 13:19:22 +0000 (13:19 +0000)
commitabdf3c5b2b971dc12e665e8e0cda184b416efffe
tree3e7b099d548bbb77790839f4ba2b206eedce5724
parent81a76e4b12961a9f54f5021809074196dfe6dbba
libxc: create p2m list outside of kernel mapping if supported

In case the kernel of a new pv-domU indicates it is supporting a p2m
list outside the initial kernel mapping by specifying INIT_P2M, let
the domain builder allocate the memory for the p2m list from physical
guest memory only and map it to the address the kernel is expecting.

This will enable loading pv-domUs larger than 512 GB.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xc_dom.h
tools/libxc/xc_dom_core.c
tools/libxc/xc_dom_x86.c