mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
6276a074c6
Put all config options needed to run Linux as a guest behind a CONFIG_HYPERVISOR_GUEST menu so that they don't get built-in by default but be selectable by the user. Also, make all units which depend on x86_hyper, depend on this new symbol so that compilation doesn't fail when CONFIG_HYPERVISOR_GUEST is disabled but those units assume its presence. Sort options in the new HYPERVISOR_GUEST menu, adapt config text and drop redundant select. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1362428421-9244-3-git-send-email-bp@alien8.de Cc: Dmitry Torokhov <dtor@vmware.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
#
|
|
# This Kconfig describes xen options
|
|
#
|
|
|
|
config XEN
|
|
bool "Xen guest support"
|
|
depends on PARAVIRT
|
|
select PARAVIRT_CLOCK
|
|
select XEN_HAVE_PVMMU
|
|
depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
|
|
depends on X86_TSC
|
|
help
|
|
This is the Linux Xen port. Enabling this will allow the
|
|
kernel to boot in a paravirtualized environment under the
|
|
Xen hypervisor.
|
|
|
|
config XEN_DOM0
|
|
def_bool y
|
|
depends on XEN && PCI_XEN && SWIOTLB_XEN
|
|
depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
|
|
|
|
# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
|
|
# name in tools.
|
|
config XEN_PRIVILEGED_GUEST
|
|
def_bool XEN_DOM0
|
|
|
|
config XEN_PVHVM
|
|
def_bool y
|
|
depends on XEN && PCI && X86_LOCAL_APIC
|
|
|
|
config XEN_MAX_DOMAIN_MEMORY
|
|
int
|
|
default 500 if X86_64
|
|
default 64 if X86_32
|
|
depends on XEN
|
|
help
|
|
This only affects the sizing of some bss arrays, the unused
|
|
portions of which are freed.
|
|
|
|
config XEN_SAVE_RESTORE
|
|
bool
|
|
depends on XEN
|
|
select HIBERNATE_CALLBACKS
|
|
default y
|
|
|
|
config XEN_DEBUG_FS
|
|
bool "Enable Xen debug and tuning parameters in debugfs"
|
|
depends on XEN && DEBUG_FS
|
|
default n
|
|
help
|
|
Enable statistics output and various tuning options in debugfs.
|
|
Enabling this option may incur a significant performance overhead.
|
|
|