blob: e88fda867a33b198bc356aded57d59f48fcfb4ee [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
H. Peter Anvinc5f9ee32014-02-25 12:05:34 -080010 depends on X86_64 || (X86_32 && X86_PAE)
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
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010022config XEN_PVHVM
23 def_bool y
Stefano Stabellinib17d0b52011-09-29 12:05:57 +010024 depends on XEN && PCI && X86_LOCAL_APIC
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010025
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010026config XEN_MAX_DOMAIN_MEMORY
Jeremy Fitzhardinge58e05022010-08-27 13:28:48 -070027 int
Maxim Uvarov80df4642011-10-14 15:36:51 -070028 default 500 if X86_64
29 default 64 if X86_32
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010030 depends on XEN
31 help
Jeremy Fitzhardinge58e05022010-08-27 13:28:48 -070032 This only affects the sizing of some bss arrays, the unused
33 portions of which are freed.
Jeremy Fitzhardinge93a08862008-07-15 13:43:42 -070034
35config XEN_SAVE_RESTORE
36 bool
Rafael J. Wysocki1eb208a2011-02-11 00:06:30 +010037 depends on XEN
Shriram Rajagopaland419e4c2011-04-11 22:54:48 +020038 select HIBERNATE_CALLBACKS
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070039 default y
40
41config XEN_DEBUG_FS
42 bool "Enable Xen debug and tuning parameters in debugfs"
43 depends on XEN && DEBUG_FS
44 default n
45 help
46 Enable statistics output and various tuning options in debugfs.
Chuck Ebbert08115ab2008-09-29 18:24:23 -040047 Enabling this option may incur a significant performance overhead.
Maxim Uvarov80df4642011-10-14 15:36:51 -070048
Mukesh Rathorddc416c2013-12-13 12:39:56 -050049config XEN_PVH
50 bool "Support for running as a PVH guest"
Konrad Rzeszutek Wilk54d44eb2014-01-10 10:45:35 -050051 depends on X86_64 && XEN && XEN_PVHVM
Mukesh Rathorddc416c2013-12-13 12:39:56 -050052 def_bool n