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

x86: allow enabling PARAVIRT without any guest implementation

This will allow people to enable the paravirt_ops code even when no
guest support is enabled, for broader testing of the paravirt_ops code.

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
e61bd94a 612a95b4

+9 -9
+9 -9
arch/x86/Kconfig
··· 310 310 311 311 If in doubt, say "Y". 312 312 313 - config PARAVIRT 314 - bool 315 - depends on X86_32 && !(X86_VISWS || X86_VOYAGER) 316 - help 317 - This changes the kernel so it can modify itself when it is run 318 - under a hypervisor, potentially improving performance significantly 319 - over full virtualization. However, when run without a hypervisor 320 - the kernel is theoretically slower and slightly larger. 321 - 322 313 menuconfig PARAVIRT_GUEST 323 314 bool "Paravirtualized guest support" 324 315 depends on X86_32 ··· 334 343 provided by the hypervisor. 335 344 336 345 source "arch/x86/lguest/Kconfig" 346 + 347 + config PARAVIRT 348 + bool "Enable paravirtualization code" 349 + depends on X86_32 && !(X86_VISWS || X86_VOYAGER) 350 + help 351 + This changes the kernel so it can modify itself when it is run 352 + under a hypervisor, potentially improving performance significantly 353 + over full virtualization. However, when run without a hypervisor 354 + the kernel is theoretically slower and slightly larger. 337 355 338 356 endif 339 357