Jeremy Fitzhardinge | e738fca8 | 2007-07-17 18:37:05 -0700 | [diff] [blame] | 1 | # |
| 2 | # This Kconfig describes xen options |
| 3 | # |
| 4 | |
| 5 | config XEN |
Rusty Russell | d3d1c4bdf1 | 2007-10-22 10:55:21 +1000 | [diff] [blame] | 6 | bool "Xen guest support" |
Borislav Petkov | 6276a07 | 2013-03-04 21:20:21 +0100 | [diff] [blame] | 7 | depends on PARAVIRT |
Gerd Hoffmann | 1c7b67f | 2008-06-03 16:17:30 +0200 | [diff] [blame] | 8 | select PARAVIRT_CLOCK |
H. Peter Anvin | c5f9ee3 | 2014-02-25 12:05:34 -0800 | [diff] [blame] | 9 | depends on X86_64 || (X86_32 && X86_PAE) |
David Vrabel | 87ffd2b | 2015-08-20 11:33:41 +0100 | [diff] [blame] | 10 | depends on X86_LOCAL_APIC && X86_TSC |
Jeremy Fitzhardinge | e738fca8 | 2007-07-17 18:37:05 -0700 | [diff] [blame] | 11 | 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 Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 15 | |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 16 | config XEN_PV |
| 17 | bool "Xen PV guest support" |
| 18 | default y |
| 19 | depends on XEN |
Kirill A. Shutemov | 77ef56e | 2017-07-17 01:59:54 +0300 | [diff] [blame] | 20 | # XEN_PV is not ready to work with 5-level paging. |
| 21 | # Changes to hypervisor are also required. |
| 22 | depends on !X86_5LEVEL |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 23 | select XEN_HAVE_PVMMU |
Vitaly Kuznetsov | 50a1062 | 2017-03-14 18:35:50 +0100 | [diff] [blame] | 24 | select XEN_HAVE_VPMU |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 25 | help |
| 26 | Support running as a Xen PV guest. |
| 27 | |
Vitaly Kuznetsov | 33af746 | 2017-03-14 18:35:55 +0100 | [diff] [blame] | 28 | config XEN_PV_SMP |
| 29 | def_bool y |
| 30 | depends on XEN_PV && SMP |
| 31 | |
Stefano Stabellini | 6b0661a | 2010-09-02 15:47:32 +0100 | [diff] [blame] | 32 | config XEN_DOM0 |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 33 | bool "Xen PV Dom0 support" |
| 34 | default y |
| 35 | depends on XEN_PV && PCI_XEN && SWIOTLB_XEN |
David Vrabel | 87ffd2b | 2015-08-20 11:33:41 +0100 | [diff] [blame] | 36 | depends on X86_IO_APIC && ACPI && PCI |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 37 | help |
| 38 | Support running as a Xen PV Dom0 guest. |
Stefano Stabellini | 6b0661a | 2010-09-02 15:47:32 +0100 | [diff] [blame] | 39 | |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 40 | config XEN_PVHVM |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 41 | bool "Xen PVHVM guest support" |
| 42 | default y |
Stefano Stabellini | b17d0b5 | 2011-09-29 12:05:57 +0100 | [diff] [blame] | 43 | depends on XEN && PCI && X86_LOCAL_APIC |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 44 | help |
| 45 | Support running as a Xen PVHVM guest. |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 46 | |
Vitaly Kuznetsov | a52482d | 2017-03-14 18:35:45 +0100 | [diff] [blame] | 47 | config XEN_PVHVM_SMP |
| 48 | def_bool y |
| 49 | depends on XEN_PVHVM && SMP |
| 50 | |
Juergen Gross | c70727a | 2015-07-17 06:51:36 +0200 | [diff] [blame] | 51 | config XEN_512GB |
| 52 | bool "Limit Xen pv-domain memory to 512GB" |
Vitaly Kuznetsov | 5e57f1d | 2017-03-14 18:35:38 +0100 | [diff] [blame] | 53 | depends on XEN_PV && X86_64 |
Juergen Gross | c70727a | 2015-07-17 06:51:36 +0200 | [diff] [blame] | 54 | 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 Fitzhardinge | 93a0886 | 2008-07-15 13:43:42 -0700 | [diff] [blame] | 63 | |
| 64 | config XEN_SAVE_RESTORE |
| 65 | bool |
Rafael J. Wysocki | 1eb208a | 2011-02-11 00:06:30 +0100 | [diff] [blame] | 66 | depends on XEN |
Shriram Rajagopalan | d419e4c | 2011-04-11 22:54:48 +0200 | [diff] [blame] | 67 | select HIBERNATE_CALLBACKS |
Jeremy Fitzhardinge | 994025c | 2008-08-20 17:02:19 -0700 | [diff] [blame] | 68 | default y |
| 69 | |
| 70 | config 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 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 |
| 79 | bool "Support for running as a PVH guest" |
Boris Ostrovsky | 7243b93 | 2017-02-05 19:50:52 -0500 | [diff] [blame] | 80 | depends on XEN && XEN_PVHVM && ACPI |
Kirill A. Shutemov | 77ef56e | 2017-07-17 01:59:54 +0300 | [diff] [blame] | 81 | # Pre-built page tables are not ready to handle 5-level paging. |
| 82 | depends on !X86_5LEVEL |
Mukesh Rathor | ddc416c | 2013-12-13 12:39:56 -0500 | [diff] [blame] | 83 | def_bool n |