blob: 68128a1b401a30a9316b0a9cfa35369c88f9e81a [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 Stabellinica65f9f2010-07-29 14:37:48 +010016config XEN_PVHVM
17 def_bool y
18 depends on XEN
19 depends on X86_LOCAL_APIC
20
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010021config XEN_MAX_DOMAIN_MEMORY
22 int "Maximum allowed size of a domain in gigabytes"
Jeremy Fitzhardinge51dd6602008-07-08 15:07:17 -070023 default 8 if X86_32
24 default 32 if X86_64
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010025 depends on XEN
26 help
27 The pseudo-physical to machine address array is sized
28 according to the maximum possible memory size of a Xen
29 domain. This array uses 1 page per gigabyte, so there's no
Jeremy Fitzhardinge51dd6602008-07-08 15:07:17 -070030 need to be too stingy here.
Jeremy Fitzhardinge93a08862008-07-15 13:43:42 -070031
32config XEN_SAVE_RESTORE
33 bool
Chuck Ebbert08115ab2008-09-29 18:24:23 -040034 depends on XEN && PM
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070035 default y
36
37config XEN_DEBUG_FS
38 bool "Enable Xen debug and tuning parameters in debugfs"
39 depends on XEN && DEBUG_FS
40 default n
41 help
42 Enable statistics output and various tuning options in debugfs.
Chuck Ebbert08115ab2008-09-29 18:24:23 -040043 Enabling this option may incur a significant performance overhead.