blob: fdce49c7aff6cf2ce931f25154d8e7c0ada8338c [file] [log] [blame]
Jeremy Fitzhardingee738fca82007-07-17 18:37:05 -07001#
2# This Kconfig describes xen options
3#
4
5config XEN
Rusty Russelld3d1c4b2007-10-22 10:55:21 +10006 bool "Xen guest support"
7 select PARAVIRT
Gerd Hoffmann1c7b67f2008-06-03 16:17:30 +02008 select PARAVIRT_CLOCK
Ingo Molnar965c7ec2009-02-22 23:19:12 +01009 depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
Jeremy Fitzhardinge51dd6602008-07-08 15:07:17 -070010 depends on X86_CMPXCHG && X86_TSC
Jeremy Fitzhardingee738fca82007-07-17 18:37:05 -070011 help
12 This is the Linux Xen port. Enabling this will allow the
13 kernel to boot in a paravirtualized environment under the
14 Xen hypervisor.
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010015
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010016config XEN_DOM0
17 def_bool y
18 depends on XEN && PCI_XEN && SWIOTLB_XEN
19 depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
20
21# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
22# name in tools.
23config XEN_PRIVILEGED_GUEST
24 def_bool XEN_DOM0
25
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010026config XEN_PVHVM
27 def_bool y
Stefano Stabellinib17d0b52011-09-29 12:05:57 +010028 depends on XEN && PCI && X86_LOCAL_APIC
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010029
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010030config XEN_MAX_DOMAIN_MEMORY
Jeremy Fitzhardinge58e05022010-08-27 13:28:48 -070031 int
Maxim Uvarov80df4642011-10-14 15:36:51 -070032 default 500 if X86_64
33 default 64 if X86_32
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010034 depends on XEN
35 help
Jeremy Fitzhardinge58e05022010-08-27 13:28:48 -070036 This only affects the sizing of some bss arrays, the unused
37 portions of which are freed.
Jeremy Fitzhardinge93a08862008-07-15 13:43:42 -070038
39config XEN_SAVE_RESTORE
40 bool
Rafael J. Wysocki1eb208a2011-02-11 00:06:30 +010041 depends on XEN
Shriram Rajagopaland419e4c2011-04-11 22:54:48 +020042 select HIBERNATE_CALLBACKS
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070043 default y
44
45config XEN_DEBUG_FS
46 bool "Enable Xen debug and tuning parameters in debugfs"
47 depends on XEN && DEBUG_FS
48 default n
49 help
50 Enable statistics output and various tuning options in debugfs.
Chuck Ebbert08115ab2008-09-29 18:24:23 -040051 Enabling this option may incur a significant performance overhead.
Maxim Uvarov80df4642011-10-14 15:36:51 -070052