Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: remove depends on X86_32 from PARAVIRT & PARAVIRT_GUEST

With this, the paravirt_ops code can be enabled on x86_64 also.

Each guest implementation (Xen, VMI, lguest) now depends on X86_32. The
dependencies can be dropped for each one when they start to support
x86_64.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Eduardo Pereira Habkost and committed by
Ingo Molnar
42d545c9 e61bd94a

+4 -2
+2 -2
arch/x86/Kconfig
··· 312 312 313 313 menuconfig PARAVIRT_GUEST 314 314 bool "Paravirtualized guest support" 315 - depends on X86_32 316 315 help 317 316 Say Y here to get to see options related to running Linux under 318 317 various hypervisors. This option alone does not add any kernel code. ··· 325 326 config VMI 326 327 bool "VMI Guest support" 327 328 select PARAVIRT 329 + depends on X86_32 328 330 depends on !(X86_VISWS || X86_VOYAGER) 329 331 help 330 332 VMI provides a paravirtualized interface to the VMware ESX server ··· 337 337 338 338 config PARAVIRT 339 339 bool "Enable paravirtualization code" 340 - depends on X86_32 && !(X86_VISWS || X86_VOYAGER) 340 + depends on !(X86_VISWS || X86_VOYAGER) 341 341 help 342 342 This changes the kernel so it can modify itself when it is run 343 343 under a hypervisor, potentially improving performance significantly
+1
arch/x86/lguest/Kconfig
··· 1 1 config LGUEST_GUEST 2 2 bool "Lguest guest support" 3 3 select PARAVIRT 4 + depends on X86_32 4 5 depends on !X86_PAE 5 6 depends on !(X86_VISWS || X86_VOYAGER) 6 7 select VIRTIO
+1
arch/x86/xen/Kconfig
··· 5 5 config XEN 6 6 bool "Xen guest support" 7 7 select PARAVIRT 8 + depends on X86_32 8 9 depends on X86_CMPXCHG && X86_TSC && !NEED_MULTIPLE_NODES && !(X86_VISWS || X86_VOYAGER) 9 10 help 10 11 This is the Linux Xen port. Enabling this will allow the