Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Jeremy Fitzhardinge | e738fca8 | 2007-07-17 18:37:05 -0700 | [diff] [blame] | 2 | # |
| 3 | # This Kconfig describes xen options |
| 4 | # |
| 5 | |
| 6 | config XEN |
Rusty Russell | d3d1c4bdf1 | 2007-10-22 10:55:21 +1000 | [diff] [blame] | 7 | bool "Xen guest support" |
Borislav Petkov | 6276a07 | 2013-03-04 21:20:21 +0100 | [diff] [blame] | 8 | depends on PARAVIRT |
Gerd Hoffmann | 1c7b67f | 2008-06-03 16:17:30 +0200 | [diff] [blame] | 9 | select PARAVIRT_CLOCK |
Zhao Yakui | ecca2502 | 2019-04-30 11:45:23 +0800 | [diff] [blame] | 10 | select X86_HV_CALLBACK_VECTOR |
H. Peter Anvin | c5f9ee3 | 2014-02-25 12:05:34 -0800 | [diff] [blame] | 11 | depends on X86_64 || (X86_32 && X86_PAE) |
David Vrabel | 87ffd2b | 2015-08-20 11:33:41 +0100 | [diff] [blame] | 12 | depends on X86_LOCAL_APIC && X86_TSC |
Jeremy Fitzhardinge | e738fca8 | 2007-07-17 18:37:05 -0700 | [diff] [blame] | 13 | 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 Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 17 | |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 18 | config XEN_PV |
| 19 | bool "Xen PV guest support" |
| 20 | default y |
| 21 | depends on XEN |
Juergen Gross | a13f2ef | 2020-06-29 10:35:39 +0200 | [diff] [blame] | 22 | depends on X86_64 |
Juergen Gross | c00a280 | 2018-08-28 09:40:21 +0200 | [diff] [blame] | 23 | select PARAVIRT_XXL |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 24 | select XEN_HAVE_PVMMU |
Vitaly Kuznetsov | 50a1062 | 2017-03-14 18:35:50 +0100 | [diff] [blame] | 25 | select XEN_HAVE_VPMU |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 26 | help |
| 27 | Support running as a Xen PV guest. |
| 28 | |
Vitaly Kuznetsov | 33af746 | 2017-03-14 18:35:55 +0100 | [diff] [blame] | 29 | config XEN_PV_SMP |
| 30 | def_bool y |
| 31 | depends on XEN_PV && SMP |
| 32 | |
Stefano Stabellini | 6b0661a | 2010-09-02 15:47:32 +0100 | [diff] [blame] | 33 | config XEN_DOM0 |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 34 | bool "Xen PV Dom0 support" |
| 35 | default y |
| 36 | depends on XEN_PV && PCI_XEN && SWIOTLB_XEN |
David Vrabel | 87ffd2b | 2015-08-20 11:33:41 +0100 | [diff] [blame] | 37 | depends on X86_IO_APIC && ACPI && PCI |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 38 | help |
| 39 | Support running as a Xen PV Dom0 guest. |
Stefano Stabellini | 6b0661a | 2010-09-02 15:47:32 +0100 | [diff] [blame] | 40 | |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 41 | config XEN_PVHVM |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 42 | bool "Xen PVHVM guest support" |
| 43 | default y |
Stefano Stabellini | b17d0b5 | 2011-09-29 12:05:57 +0100 | [diff] [blame] | 44 | depends on XEN && PCI && X86_LOCAL_APIC |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 45 | help |
| 46 | Support running as a Xen PVHVM guest. |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 47 | |
Vitaly Kuznetsov | a52482d | 2017-03-14 18:35:45 +0100 | [diff] [blame] | 48 | config XEN_PVHVM_SMP |
| 49 | def_bool y |
| 50 | depends on XEN_PVHVM && SMP |
| 51 | |
Juergen Gross | c70727a | 2015-07-17 06:51:36 +0200 | [diff] [blame] | 52 | config XEN_512GB |
| 53 | bool "Limit Xen pv-domain memory to 512GB" |
Juergen Gross | a13f2ef | 2020-06-29 10:35:39 +0200 | [diff] [blame] | 54 | depends on XEN_PV |
Juergen Gross | c70727a | 2015-07-17 06:51:36 +0200 | [diff] [blame] | 55 | 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 Fitzhardinge | 93a0886 | 2008-07-15 13:43:42 -0700 | [diff] [blame] | 64 | |
| 65 | config XEN_SAVE_RESTORE |
Krzysztof Kozlowski | b03b016 | 2019-11-21 04:21:09 +0100 | [diff] [blame] | 66 | bool |
| 67 | depends on XEN |
| 68 | select HIBERNATE_CALLBACKS |
| 69 | default y |
Jeremy Fitzhardinge | 994025c | 2008-08-20 17:02:19 -0700 | [diff] [blame] | 70 | |
| 71 | config XEN_DEBUG_FS |
| 72 | bool "Enable Xen debug and tuning parameters in debugfs" |
| 73 | depends on XEN && DEBUG_FS |
Jeremy Fitzhardinge | 994025c | 2008-08-20 17:02:19 -0700 | [diff] [blame] | 74 | help |
| 75 | Enable statistics output and various tuning options in debugfs. |
Chuck Ebbert | 08115ab | 2008-09-29 18:24:23 -0400 | [diff] [blame] | 76 | Enabling this option may incur a significant performance overhead. |
Maxim Uvarov | 80df464 | 2011-10-14 15:36:51 -0700 | [diff] [blame] | 77 | |
Mukesh Rathor | ddc416c | 2013-12-13 12:39:56 -0500 | [diff] [blame] | 78 | config XEN_PVH |
Maran Wilson | 7733607 | 2018-12-10 11:07:28 -0800 | [diff] [blame] | 79 | bool "Support for running as a Xen PVH guest" |
Boris Ostrovsky | 7243b93 | 2017-02-05 19:50:52 -0500 | [diff] [blame] | 80 | depends on XEN && XEN_PVHVM && ACPI |
Maran Wilson | 7733607 | 2018-12-10 11:07:28 -0800 | [diff] [blame] | 81 | select PVH |
Mukesh Rathor | ddc416c | 2013-12-13 12:39:56 -0500 | [diff] [blame] | 82 | def_bool n |