2007-07-18 09:37:05 +08:00
|
|
|
#
|
|
|
|
# This Kconfig describes xen options
|
|
|
|
#
|
|
|
|
|
|
|
|
config XEN
|
2007-10-22 08:55:21 +08:00
|
|
|
bool "Xen guest support"
|
2013-03-05 04:20:21 +08:00
|
|
|
depends on PARAVIRT
|
2008-06-03 22:17:30 +08:00
|
|
|
select PARAVIRT_CLOCK
|
2014-02-26 04:05:34 +08:00
|
|
|
depends on X86_64 || (X86_32 && X86_PAE)
|
2015-08-20 18:33:41 +08:00
|
|
|
depends on X86_LOCAL_APIC && X86_TSC
|
2007-07-18 09:37:05 +08: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 06:31:19 +08:00
|
|
|
|
2017-03-15 01:35:38 +08:00
|
|
|
config XEN_PV
|
|
|
|
bool "Xen PV guest support"
|
|
|
|
default y
|
|
|
|
depends on XEN
|
2017-07-17 06:59:54 +08:00
|
|
|
# XEN_PV is not ready to work with 5-level paging.
|
|
|
|
# Changes to hypervisor are also required.
|
|
|
|
depends on !X86_5LEVEL
|
2017-03-15 01:35:38 +08:00
|
|
|
select XEN_HAVE_PVMMU
|
2017-03-15 01:35:50 +08:00
|
|
|
select XEN_HAVE_VPMU
|
2017-03-15 01:35:38 +08:00
|
|
|
help
|
|
|
|
Support running as a Xen PV guest.
|
|
|
|
|
2017-03-15 01:35:55 +08:00
|
|
|
config XEN_PV_SMP
|
|
|
|
def_bool y
|
|
|
|
depends on XEN_PV && SMP
|
|
|
|
|
2010-09-02 22:47:32 +08:00
|
|
|
config XEN_DOM0
|
2017-03-15 01:35:38 +08:00
|
|
|
bool "Xen PV Dom0 support"
|
|
|
|
default y
|
|
|
|
depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
|
2015-08-20 18:33:41 +08:00
|
|
|
depends on X86_IO_APIC && ACPI && PCI
|
2017-03-15 01:35:38 +08:00
|
|
|
help
|
|
|
|
Support running as a Xen PV Dom0 guest.
|
2010-09-02 22:47:32 +08:00
|
|
|
|
2010-07-29 21:37:48 +08:00
|
|
|
config XEN_PVHVM
|
2017-03-15 01:35:38 +08:00
|
|
|
bool "Xen PVHVM guest support"
|
|
|
|
default y
|
2011-09-29 19:05:57 +08:00
|
|
|
depends on XEN && PCI && X86_LOCAL_APIC
|
2017-03-15 01:35:38 +08:00
|
|
|
help
|
|
|
|
Support running as a Xen PVHVM guest.
|
2010-07-29 21:37:48 +08:00
|
|
|
|
2017-03-15 01:35:45 +08:00
|
|
|
config XEN_PVHVM_SMP
|
|
|
|
def_bool y
|
|
|
|
depends on XEN_PVHVM && SMP
|
|
|
|
|
2015-07-17 12:51:36 +08:00
|
|
|
config XEN_512GB
|
|
|
|
bool "Limit Xen pv-domain memory to 512GB"
|
2017-03-15 01:35:38 +08:00
|
|
|
depends on XEN_PV && X86_64
|
2015-07-17 12:51:36 +08:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Limit paravirtualized user domains to 512GB of RAM.
|
|
|
|
|
|
|
|
The Xen tools and crash dump analysis tools might not support
|
|
|
|
pv-domains with more than 512 GB of RAM. This option controls the
|
|
|
|
default setting of the kernel to use only up to 512 GB or more.
|
|
|
|
It is always possible to change the default via specifying the
|
|
|
|
boot parameter "xen_512gb_limit".
|
2008-07-16 04:43:42 +08: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 07:06:30 +08:00
|
|
|
depends on XEN
|
2011-04-12 04:54:48 +08:00
|
|
|
select HIBERNATE_CALLBACKS
|
2008-08-21 08:02:19 +08: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 06:24:23 +08:00
|
|
|
Enabling this option may incur a significant performance overhead.
|
2011-10-15 06:36:51 +08:00
|
|
|
|
2013-12-14 01:39:56 +08:00
|
|
|
config XEN_PVH
|
|
|
|
bool "Support for running as a PVH guest"
|
2017-02-06 08:50:52 +08:00
|
|
|
depends on XEN && XEN_PVHVM && ACPI
|
2017-07-17 06:59:54 +08:00
|
|
|
# Pre-built page tables are not ready to handle 5-level paging.
|
|
|
|
depends on !X86_5LEVEL
|
2013-12-14 01:39:56 +08:00
|
|
|
def_bool n
|