x86: guard HAS_VPCI with CONFIG_HVM
authorWei Liu <wei.liu2@citrix.com>
Fri, 10 Aug 2018 17:08:00 +0000 (18:08 +0100)
committerWei Liu <wei.liu2@citrix.com>
Sun, 26 Aug 2018 10:01:02 +0000 (11:01 +0100)
VPCI is only useful for PVH / HVM guests. Ideally CONFIG_HVM should
imply !PV_SHIM_EXCLUSIVE, but we still want to build PV_SHIM_EXCLUSIVE
with CONFIG_HVM at this stage because a lot of things are still
entangled.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig

index ba5cb62bdd625c322a9d9419a47453d3f94acf25..73ab8f8f9fd832ba8d082daccbc7a9689bcfba25 100644 (file)
@@ -23,7 +23,7 @@ config X86
        select HAS_PCI
        select HAS_PDX
        select HAS_UBSAN
-       select HAS_VPCI if !PV_SHIM_EXCLUSIVE
+       select HAS_VPCI if !PV_SHIM_EXCLUSIVE && HVM
        select NEEDS_LIBELF
        select NUMA