aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/Kconfig6
-rw-r--r--arch/x86/kernel/head_64.S2
-rw-r--r--arch/x86/xen/Kconfig3
3 files changed, 9 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 8689e794a43c..c2a22a74abee 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -796,6 +796,12 @@ config KVM_GUEST
796 underlying device model, the host provides the guest with 796 underlying device model, the host provides the guest with
797 timing infrastructure such as time of day, and system time 797 timing infrastructure such as time of day, and system time
798 798
799config PVH
800 bool "Support for running PVH guests"
801 ---help---
802 This option enables the PVH entry point for guest virtual machines
803 as specified in the x86/HVM direct boot ABI.
804
799config KVM_DEBUG_FS 805config KVM_DEBUG_FS
800 bool "Enable debug information for KVM Guests in debugfs" 806 bool "Enable debug information for KVM Guests in debugfs"
801 depends on KVM_GUEST && DEBUG_FS 807 depends on KVM_GUEST && DEBUG_FS
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index 747c758f67b7..d1dbe8e4eb82 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -386,7 +386,7 @@ NEXT_PAGE(early_dynamic_pgts)
386 386
387 .data 387 .data
388 388
389#if defined(CONFIG_XEN_PV) || defined(CONFIG_XEN_PVH) 389#if defined(CONFIG_XEN_PV) || defined(CONFIG_PVH)
390NEXT_PGD_PAGE(init_top_pgt) 390NEXT_PGD_PAGE(init_top_pgt)
391 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC 391 .quad level3_ident_pgt - __START_KERNEL_map + _KERNPG_TABLE_NOENC
392 .org init_top_pgt + L4_PAGE_OFFSET*8, 0 392 .org init_top_pgt + L4_PAGE_OFFSET*8, 0
diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
index 1ef391aa184d..e07abefd3d26 100644
--- a/arch/x86/xen/Kconfig
+++ b/arch/x86/xen/Kconfig
@@ -74,6 +74,7 @@ config XEN_DEBUG_FS
74 Enabling this option may incur a significant performance overhead. 74 Enabling this option may incur a significant performance overhead.
75 75
76config XEN_PVH 76config XEN_PVH
77 bool "Support for running as a PVH guest" 77 bool "Support for running as a Xen PVH guest"
78 depends on XEN && XEN_PVHVM && ACPI 78 depends on XEN && XEN_PVHVM && ACPI
79 select PVH
79 def_bool n 80 def_bool n