Kconfig 1.9 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
J
Jeremy Fitzhardinge 已提交
2 3 4 5 6
#
# This Kconfig describes xen options
#

config XEN
7
	bool "Xen guest support"
8
	depends on PARAVIRT
9
	select PARAVIRT_CLOCK
10
	select X86_HV_CALLBACK_VECTOR
11
	depends on X86_64 || (X86_32 && X86_PAE)
12
	depends on X86_LOCAL_APIC && X86_TSC
J
Jeremy Fitzhardinge 已提交
13 14 15 16
	help
	  This is the Linux Xen port.  Enabling this will allow the
	  kernel to boot in a paravirtualized environment under the
	  Xen hypervisor.
17

18 19 20 21
config XEN_PV
	bool "Xen PV guest support"
	default y
	depends on XEN
22
	select PARAVIRT_XXL
23
	select XEN_HAVE_PVMMU
24
	select XEN_HAVE_VPMU
25 26 27
	help
	  Support running as a Xen PV guest.

28 29 30 31
config XEN_PV_SMP
	def_bool y
	depends on XEN_PV && SMP

32
config XEN_DOM0
33 34 35
	bool "Xen PV Dom0 support"
	default y
	depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
36
	depends on X86_IO_APIC && ACPI && PCI
37 38
	help
	  Support running as a Xen PV Dom0 guest.
39

40
config XEN_PVHVM
41 42
	bool "Xen PVHVM guest support"
	default y
43
	depends on XEN && PCI && X86_LOCAL_APIC
44 45
	help
	  Support running as a Xen PVHVM guest.
46

V
Vitaly Kuznetsov 已提交
47 48 49 50
config XEN_PVHVM_SMP
	def_bool y
	depends on XEN_PVHVM && SMP

51 52
config XEN_512GB
	bool "Limit Xen pv-domain memory to 512GB"
53
	depends on XEN_PV && X86_64
54 55 56 57 58 59 60 61 62
	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".
63 64

config XEN_SAVE_RESTORE
65 66 67 68
	bool
	depends on XEN
	select HIBERNATE_CALLBACKS
	default y
J
Jeremy Fitzhardinge 已提交
69 70 71 72 73 74

config XEN_DEBUG_FS
	bool "Enable Xen debug and tuning parameters in debugfs"
	depends on XEN && DEBUG_FS
	help
	  Enable statistics output and various tuning options in debugfs.
75
	  Enabling this option may incur a significant performance overhead.
76

77
config XEN_PVH
78
	bool "Support for running as a Xen PVH guest"
B
Boris Ostrovsky 已提交
79
	depends on XEN && XEN_PVHVM && ACPI
80
	select PVH
81
	def_bool n