blob: 218acbd5c7a01af94f62468a05b8f79288678083 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Jeremy Fitzhardingee738fca82007-07-17 18:37:05 -07002#
3# This Kconfig describes xen options
4#
5
6config XEN
Rusty Russelld3d1c4bdf12007-10-22 10:55:21 +10007 bool "Xen guest support"
Borislav Petkov6276a072013-03-04 21:20:21 +01008 depends on PARAVIRT
Gerd Hoffmann1c7b67f2008-06-03 16:17:30 +02009 select PARAVIRT_CLOCK
Zhao Yakuiecca25022019-04-30 11:45:23 +080010 select X86_HV_CALLBACK_VECTOR
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
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010018config XEN_PV
19 bool "Xen PV guest support"
20 default y
21 depends on XEN
Juergen Grossa13f2ef2020-06-29 10:35:39 +020022 depends on X86_64
Juergen Grossc00a2802018-08-28 09:40:21 +020023 select PARAVIRT_XXL
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010024 select XEN_HAVE_PVMMU
Vitaly Kuznetsov50a10622017-03-14 18:35:50 +010025 select XEN_HAVE_VPMU
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010026 help
27 Support running as a Xen PV guest.
28
Vitaly Kuznetsov33af7462017-03-14 18:35:55 +010029config XEN_PV_SMP
30 def_bool y
31 depends on XEN_PV && SMP
32
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010033config XEN_DOM0
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010034 bool "Xen PV Dom0 support"
35 default y
36 depends on XEN_PV && PCI_XEN && SWIOTLB_XEN
David Vrabel87ffd2b2015-08-20 11:33:41 +010037 depends on X86_IO_APIC && ACPI && PCI
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010038 help
39 Support running as a Xen PV Dom0 guest.
Stefano Stabellini6b0661a2010-09-02 15:47:32 +010040
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010041config XEN_PVHVM
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010042 bool "Xen PVHVM guest support"
43 default y
Stefano Stabellinib17d0b52011-09-29 12:05:57 +010044 depends on XEN && PCI && X86_LOCAL_APIC
Vitaly Kuznetsov5e57f1d2017-03-14 18:35:38 +010045 help
46 Support running as a Xen PVHVM guest.
Stefano Stabellinica65f9f2010-07-29 14:37:48 +010047
Vitaly Kuznetsova52482d2017-03-14 18:35:45 +010048config XEN_PVHVM_SMP
49 def_bool y
50 depends on XEN_PVHVM && SMP
51
Juergen Grossc70727a2015-07-17 06:51:36 +020052config XEN_512GB
53 bool "Limit Xen pv-domain memory to 512GB"
Juergen Grossa13f2ef2020-06-29 10:35:39 +020054 depends on XEN_PV
Juergen Grossc70727a2015-07-17 06:51:36 +020055 default y
56 help
57 Limit paravirtualized user domains to 512GB of RAM.
58
59 The Xen tools and crash dump analysis tools might not support
60 pv-domains with more than 512 GB of RAM. This option controls the
61 default setting of the kernel to use only up to 512 GB or more.
62 It is always possible to change the default via specifying the
63 boot parameter "xen_512gb_limit".
Jeremy Fitzhardinge93a08862008-07-15 13:43:42 -070064
65config XEN_SAVE_RESTORE
Krzysztof Kozlowskib03b0162019-11-21 04:21:09 +010066 bool
67 depends on XEN
68 select HIBERNATE_CALLBACKS
69 default y
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070070
71config XEN_DEBUG_FS
72 bool "Enable Xen debug and tuning parameters in debugfs"
73 depends on XEN && DEBUG_FS
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070074 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
Maran Wilson77336072018-12-10 11:07:28 -080079 bool "Support for running as a Xen PVH guest"
Boris Ostrovsky7243b932017-02-05 19:50:52 -050080 depends on XEN && XEN_PVHVM && ACPI
Maran Wilson77336072018-12-10 11:07:28 -080081 select PVH
Mukesh Rathorddc416c2013-12-13 12:39:56 -050082 def_bool n