2007-07-18 08:37:05 +07:00
|
|
|
#
|
|
|
|
# This Kconfig describes xen options
|
|
|
|
#
|
|
|
|
|
|
|
|
config XEN
|
2007-10-22 07:55:21 +07:00
|
|
|
bool "Xen guest support"
|
|
|
|
select PARAVIRT
|
2008-06-03 21:17:30 +07:00
|
|
|
select PARAVIRT_CLOCK
|
2012-10-03 18:17:50 +07:00
|
|
|
select XEN_HAVE_PVMMU
|
2009-02-23 05:19:12 +07:00
|
|
|
depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
|
2012-11-29 02:50:24 +07:00
|
|
|
depends on X86_TSC
|
2007-07-18 08:37:05 +07:00
|
|
|
help
|
|
|
|
This is the Linux Xen port. Enabling this will allow the
|
|
|
|
kernel to boot in a paravirtualized environment under the
|
|
|
|
Xen hypervisor.
|
2008-05-27 05:31:19 +07:00
|
|
|
|
2010-09-02 21:47:32 +07:00
|
|
|
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
|
|
|
|
|
2010-07-29 20:37:48 +07:00
|
|
|
config XEN_PVHVM
|
|
|
|
def_bool y
|
2011-09-29 18:05:57 +07:00
|
|
|
depends on XEN && PCI && X86_LOCAL_APIC
|
2010-07-29 20:37:48 +07:00
|
|
|
|
2008-05-27 05:31:19 +07:00
|
|
|
config XEN_MAX_DOMAIN_MEMORY
|
2010-08-28 03:28:48 +07:00
|
|
|
int
|
2011-10-15 05:36:51 +07:00
|
|
|
default 500 if X86_64
|
|
|
|
default 64 if X86_32
|
2008-05-27 05:31:19 +07:00
|
|
|
depends on XEN
|
|
|
|
help
|
2010-08-28 03:28:48 +07:00
|
|
|
This only affects the sizing of some bss arrays, the unused
|
|
|
|
portions of which are freed.
|
2008-07-16 03:43:42 +07:00
|
|
|
|
|
|
|
config XEN_SAVE_RESTORE
|
|
|
|
bool
|
PM: Make CONFIG_PM depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME)
From the users' point of view CONFIG_PM is really only used for
making it possible to set CONFIG_SUSPEND, CONFIG_HIBERNATION,
CONFIG_PM_RUNTIME and (surprisingly enough) CONFIG_XEN_SAVE_RESTORE
(CONFIG_PM_OPP also depends on CONFIG_PM, but quite artificially).
However, both CONFIG_SUSPEND and CONFIG_HIBERNATION require platform
support (independent of CONFIG_PM) and it is not quite obvious that
CONFIG_PM has to be set for CONFIG_XEN_SAVE_RESTORE to be available.
Thus, from the users' point of view, it would be more logical to
automatically select CONFIG_PM if any of the above options depending
on it are set.
Make CONFIG_PM depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME),
which will cause it to be selected when any of CONFIG_SUSPEND,
CONFIG_HIBERNATION, CONFIG_PM_RUNTIME, CONFIG_XEN_SAVE_RESTORE is
set and will clarify its meaning.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2011-02-11 06:06:30 +07:00
|
|
|
depends on XEN
|
2011-04-12 03:54:48 +07:00
|
|
|
select HIBERNATE_CALLBACKS
|
2008-08-21 07:02:19 +07:00
|
|
|
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.
|
2008-09-30 05:24:23 +07:00
|
|
|
Enabling this option may incur a significant performance overhead.
|
2011-10-15 05:36:51 +07:00
|
|
|
|