blob: 1a3c76505649d8c266c07f808c7fe5aafaadae30 [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"
Borislav Petkov6276a072013-03-04 21:20:21 +01007 depends on PARAVIRT
Gerd Hoffmann1c7b67f2008-06-03 16:17:30 +02008 select PARAVIRT_CLOCK
Ian Campbellc2374bf2012-10-03 12:17:50 +01009 select XEN_HAVE_PVMMU
Ingo Molnar965c7ec2009-02-22 23:19:12 +010010 depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
H. Peter Anvind55c5a92012-11-28 11:50:24 -080011 depends on X86_TSC
Jeremy Fitzhardingee738fca82007-07-17 18:37:05 -070012 help
13 This is the Linux Xen port. Enabling this will allow the
14 kernel to boot in a paravirtualized environment under the
15 Xen hypervisor.
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010016
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010017config XEN_DOM0
18 def_bool y
19 depends on XEN && PCI_XEN && SWIOTLB_XEN
20 depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
21
22# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
23# name in tools.
24config XEN_PRIVILEGED_GUEST
25 def_bool XEN_DOM0
26
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010027config XEN_PVHVM
28 def_bool y
Stefano Stabellinib17d0b52011-09-29 12:05:57 +010029 depends on XEN && PCI && X86_LOCAL_APIC
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010030
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010031config XEN_MAX_DOMAIN_MEMORY
Jeremy Fitzhardinge58e05022010-08-27 13:28:48 -070032 int
Maxim Uvarov80df4642011-10-14 15:36:51 -070033 default 500 if X86_64
34 default 64 if X86_32
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010035 depends on XEN
36 help
Jeremy Fitzhardinge58e05022010-08-27 13:28:48 -070037 This only affects the sizing of some bss arrays, the unused
38 portions of which are freed.
Jeremy Fitzhardinge93a08862008-07-15 13:43:42 -070039
40config XEN_SAVE_RESTORE
41 bool
Rafael J. Wysocki1eb208a2011-02-11 00:06:30 +010042 depends on XEN
Shriram Rajagopaland419e4c2011-04-11 22:54:48 +020043 select HIBERNATE_CALLBACKS
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070044 default y
45
46config XEN_DEBUG_FS
47 bool "Enable Xen debug and tuning parameters in debugfs"
48 depends on XEN && DEBUG_FS
49 default n
50 help
51 Enable statistics output and various tuning options in debugfs.
Chuck Ebbert08115ab2008-09-29 18:24:23 -040052 Enabling this option may incur a significant performance overhead.
Maxim Uvarov80df4642011-10-14 15:36:51 -070053