blob: c7b15f3e2cf37096f1041169aa544f706394a886 [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
Boris Ostrovsky5f141542015-08-10 16:34:33 -040010 select XEN_HAVE_VPMU
H. Peter Anvinc5f9ee32014-02-25 12:05:34 -080011 depends on X86_64 || (X86_32 && X86_PAE)
David Vrabel87ffd2b2015-08-20 11:33:41 +010012 depends on X86_LOCAL_APIC && X86_TSC
Jeremy Fitzhardingee738fca82007-07-17 18:37:05 -070013 help
14 This is the Linux Xen port. Enabling this will allow the
15 kernel to boot in a paravirtualized environment under the
16 Xen hypervisor.
Jeremy Fitzhardinge8006ec32008-05-26 23:31:19 +010017
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010018config XEN_DOM0
19 def_bool y
20 depends on XEN && PCI_XEN && SWIOTLB_XEN
David Vrabel87ffd2b2015-08-20 11:33:41 +010021 depends on X86_IO_APIC && ACPI && PCI
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010022
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010023config XEN_PVHVM
24 def_bool y
Stefano Stabellinib17d0b52011-09-29 12:05:57 +010025 depends on XEN && PCI && X86_LOCAL_APIC
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010026
Juergen Grossc70727a2015-07-17 06:51:36 +020027config XEN_512GB
28 bool "Limit Xen pv-domain memory to 512GB"
29 depends on XEN && X86_64
30 default y
31 help
32 Limit paravirtualized user domains to 512GB of RAM.
33
34 The Xen tools and crash dump analysis tools might not support
35 pv-domains with more than 512 GB of RAM. This option controls the
36 default setting of the kernel to use only up to 512 GB or more.
37 It is always possible to change the default via specifying the
38 boot parameter "xen_512gb_limit".
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
Mukesh Rathorddc416c2013-12-13 12:39:56 -050054config XEN_PVH
55 bool "Support for running as a PVH guest"
Konrad Rzeszutek Wilk54d44eb2014-01-10 10:45:35 -050056 depends on X86_64 && XEN && XEN_PVHVM
Mukesh Rathorddc416c2013-12-13 12:39:56 -050057 def_bool n