diff options
author | Juergen Gross <jgross@suse.com> | 2024-08-14 16:47:25 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2024-09-10 15:26:34 +0200 |
commit | d05208cf7f05420ad10cc7f9550f91d485523659 (patch) | |
tree | 6f141fa4f2bb23c18b190d90463b6d499f353204 /rust | |
parent | xen: move max_pfn in xen_memory_setup() out of function scope (diff) | |
download | linux-d05208cf7f05420ad10cc7f9550f91d485523659.tar.xz linux-d05208cf7f05420ad10cc7f9550f91d485523659.zip |
xen: add capability to remap non-RAM pages to different PFNs
When running as a Xen PV dom0 it can happen that the kernel is being
loaded to a guest physical address conflicting with the host memory
map.
In order to be able to resolve this conflict, add the capability to
remap non-RAM areas to different guest PFNs. A function to use this
remapping information for other purposes than doing the remap will be
added when needed.
As the number of conflicts should be rather low (currently only
machines with max. 1 conflict are known), save the remap data in a
small statically allocated array.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions