blob: 1ecd419811a2b30a88d1fccc140829292e184035 [file] [log] [blame]
Jeremy Fitzhardingee738fca82007-07-17 18:37:05 -07001#
2# This Kconfig describes xen options
3#
4
5config XEN
Rusty Russelld3d1c4bdf12007-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
H. Peter Anvinc5f9ee32014-02-25 12:05:34 -08009 depends on X86_64 || (X86_32 && X86_PAE)
David Vrabel87ffd2b2015-08-20 11:33:41 +010010 depends on X86_LOCAL_APIC && 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
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010016config XEN_PV
17 bool "Xen PV guest support"
18 default y
19 depends on XEN
Kirill A. Shutemov77ef56e2017-07-17 01:59:54 +030020 # XEN_PV is not ready to work with 5-level paging.
21 # Changes to hypervisor are also required.
22 depends on !X86_5LEVEL
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010023 select XEN_HAVE_PVMMU
Vitaly Kuznetsov50a10622017-03-14 18:35:50 +010024 select XEN_HAVE_VPMU
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010025 help
26 Support running as a Xen PV guest.
27
Vitaly Kuznetsov33af7462017-03-14 18:35:55 +010028config XEN_PV_SMP
29 def_bool y
30 depends on XEN_PV && SMP
31
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010032config XEN_DOM0
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010033 bool "Xen PV Dom0 support"
34 default y
35 depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
David Vrabel87ffd2b2015-08-20 11:33:41 +010036 depends on X86_IO_APIC && ACPI && PCI
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010037 help
38 Support running as a Xen PV Dom0 guest.
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010039
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010040config XEN_PVHVM
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010041 bool "Xen PVHVM guest support"
42 default y
Stefano Stabellinib17d0b52011-09-29 12:05:57 +010043 depends on XEN && PCI && X86_LOCAL_APIC
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010044 help
45 Support running as a Xen PVHVM guest.
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010046
Vitaly Kuznetsova52482d2017-03-14 18:35:45 +010047config XEN_PVHVM_SMP
48 def_bool y
49 depends on XEN_PVHVM && SMP
50
Juergen Grossc70727a2015-07-17 06:51:36 +020051config XEN_512GB
52 bool "Limit Xen pv-domain memory to 512GB"
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010053 depends on XEN_PV && X86_64
Juergen Grossc70727a2015-07-17 06:51:36 +020054 default y
55 help
56 Limit paravirtualized user domains to 512GB of RAM.
57
58 The Xen tools and crash dump analysis tools might not support
59 pv-domains with more than 512 GB of RAM. This option controls the
60 default setting of the kernel to use only up to 512 GB or more.
61 It is always possible to change the default via specifying the
62 boot parameter "xen_512gb_limit".
Jeremy Fitzhardinge93a08862008-07-15 13:43:42 -070063
64config XEN_SAVE_RESTORE
65 bool
Rafael J. Wysocki1eb208a2011-02-11 00:06:30 +010066 depends on XEN
Shriram Rajagopaland419e4c2011-04-11 22:54:48 +020067 select HIBERNATE_CALLBACKS
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070068 default y
69
70config XEN_DEBUG_FS
71 bool "Enable Xen debug and tuning parameters in debugfs"
72 depends on XEN && DEBUG_FS
73 default n
74 help
75 Enable statistics output and various tuning options in debugfs.
Chuck Ebbert08115ab2008-09-29 18:24:23 -040076 Enabling this option may incur a significant performance overhead.
Maxim Uvarov80df4642011-10-14 15:36:51 -070077
Mukesh Rathorddc416c2013-12-13 12:39:56 -050078config XEN_PVH
79 bool "Support for running as a PVH guest"
Boris Ostrovsky7243b932017-02-05 19:50:52 -050080 depends on XEN && XEN_PVHVM && ACPI
Kirill A. Shutemov77ef56e2017-07-17 01:59:54 +030081 # Pre-built page tables are not ready to handle 5-level paging.
82 depends on !X86_5LEVEL
Mukesh Rathorddc416c2013-12-13 12:39:56 -050083 def_bool n