diff options
author | David Vrabel <david.vrabel@citrix.com> | 2015-03-11 17:49:56 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-03-16 17:49:15 +0300 |
commit | 628c28eefd6f2cef03b212081b466ae43fd093a3 (patch) | |
tree | edcde5040badd2068efe925f8253961e0ca71c48 /drivers/xen/Kconfig | |
parent | b3b06c7eb7820cea5c15f9faa4964044284c5399 (diff) | |
download | linux-628c28eefd6f2cef03b212081b466ae43fd093a3.tar.xz |
xen: unify foreign GFN map/unmap for auto-xlated physmap guests
Auto-translated physmap guests (arm, arm64 and x86 PVHVM/PVH) map and
unmap foreign GFNs using the same method (updating the physmap).
Unify the two arm and x86 implementations into one commont one.
Note that on arm and arm64, the correct error code will be returned
(instead of always -EFAULT) and map/unmap failure warnings are no
longer printed. These changes are required if the foreign domain is
paging (-ENOENT failures are expected and must be propagated up to the
caller).
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'drivers/xen/Kconfig')
-rw-r--r-- | drivers/xen/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index b812462083fc..afc39ca5cc4f 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -253,4 +253,10 @@ config XEN_EFI def_bool y depends on X86_64 && EFI +config XEN_AUTO_XLATE + def_bool y + depends on ARM || ARM64 || XEN_PVHVM + help + Support for auto-translated physmap guests. + endmenu |