Skip to content

Commit c00a280

Browse files
jgross1KAGA-KOKO
authored andcommitted
x86/paravirt: Introduce new config option PARAVIRT_XXL
A large amount of paravirt ops is used by Xen PV guests only. Add a new config option PARAVIRT_XXL which is selected by XEN_PV. Later we can put the Xen PV only paravirt ops under the PARAVIRT_XXL umbrella. Since irq related paravirt ops are used only by VSMP and Xen PV, let VSMP select PARAVIRT_XXL, too, in order to enable moving the irq ops under PARAVIRT_XXL. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: xen-devel@lists.xenproject.org Cc: virtualization@lists.linux-foundation.org Cc: akataria@vmware.com Cc: rusty@rustcorp.com.au Cc: boris.ostrovsky@oracle.com Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20180828074026.820-11-jgross@suse.com
1 parent 5def7a4 commit c00a280

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

arch/x86/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ config X86_VSMP
523523
bool "ScaleMP vSMP"
524524
select HYPERVISOR_GUEST
525525
select PARAVIRT
526+
select PARAVIRT_XXL
526527
depends on X86_64 && PCI
527528
depends on X86_EXTENDED_PLATFORM
528529
depends on SMP
@@ -754,6 +755,9 @@ config PARAVIRT
754755
over full virtualization. However, when run without a hypervisor
755756
the kernel is theoretically slower and slightly larger.
756757

758+
config PARAVIRT_XXL
759+
bool
760+
757761
config PARAVIRT_DEBUG
758762
bool "paravirt-ops debugging"
759763
depends on PARAVIRT && DEBUG_KERNEL

arch/x86/boot/compressed/misc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* paravirt and debugging variants are added.)
1010
*/
1111
#undef CONFIG_PARAVIRT
12+
#undef CONFIG_PARAVIRT_XXL
1213
#undef CONFIG_PARAVIRT_SPINLOCKS
1314
#undef CONFIG_KASAN
1415

arch/x86/mm/mem_encrypt_identity.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* be extended when new paravirt and debugging variants are added.)
2828
*/
2929
#undef CONFIG_PARAVIRT
30+
#undef CONFIG_PARAVIRT_XXL
3031
#undef CONFIG_PARAVIRT_SPINLOCKS
3132

3233
#include <linux/kernel.h>

arch/x86/xen/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ config XEN_PV
1818
bool "Xen PV guest support"
1919
default y
2020
depends on XEN
21+
select PARAVIRT_XXL
2122
select XEN_HAVE_PVMMU
2223
select XEN_HAVE_VPMU
2324
help

0 commit comments

Comments
 (0)