Kconfig 1.4 KB
Newer Older
J
Jeremy Fitzhardinge 已提交
1 2 3 4 5
#
# This Kconfig describes xen options
#

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

16 17 18 19 20 21 22 23 24 25
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

26 27 28 29 30
config XEN_PVHVM
	def_bool y
	depends on XEN
	depends on X86_LOCAL_APIC

31 32
config XEN_MAX_DOMAIN_MEMORY
       int "Maximum allowed size of a domain in gigabytes"
33 34
       default 8 if X86_32
       default 32 if X86_64
35 36 37 38 39
       depends on XEN
       help
         The pseudo-physical to machine address array is sized
         according to the maximum possible memory size of a Xen
         domain.  This array uses 1 page per gigabyte, so there's no
40
         need to be too stingy here.
41 42 43

config XEN_SAVE_RESTORE
       bool
44
       depends on XEN && PM
J
Jeremy Fitzhardinge 已提交
45 46 47 48 49 50 51 52
       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.
53
	  Enabling this option may incur a significant performance overhead.