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 |
Ian Campbell | c2374bf | 2012-10-03 12:17:50 +0100 | [diff] [blame] | 9 | select XEN_HAVE_PVMMU |
Ingo Molnar | 965c7ec | 2009-02-22 23:19:12 +0100 | [diff] [blame] | 10 | depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS) |
H. Peter Anvin | d55c5a9 | 2012-11-28 11:50:24 -0800 | [diff] [blame] | 11 | depends on X86_TSC |
Jeremy Fitzhardinge | e738fca8 | 2007-07-17 18:37:05 -0700 | [diff] [blame] | 12 | help |
| 13 | This is the Linux Xen port. Enabling this will allow the |
| 14 | kernel to boot in a paravirtualized environment under the |
| 15 | Xen hypervisor. |
Jeremy Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 16 | |
Stefano Stabellini | 6b0661a | 2010-09-02 15:47:32 +0100 | [diff] [blame] | 17 | config XEN_DOM0 |
| 18 | def_bool y |
| 19 | depends on XEN && PCI_XEN && SWIOTLB_XEN |
| 20 | depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI |
| 21 | |
| 22 | # Dummy symbol since people have come to rely on the PRIVILEGED_GUEST |
| 23 | # name in tools. |
| 24 | config XEN_PRIVILEGED_GUEST |
| 25 | def_bool XEN_DOM0 |
| 26 | |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 27 | config XEN_PVHVM |
| 28 | def_bool y |
Stefano Stabellini | b17d0b5 | 2011-09-29 12:05:57 +0100 | [diff] [blame] | 29 | depends on XEN && PCI && X86_LOCAL_APIC |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 30 | |
Jeremy Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 31 | config XEN_MAX_DOMAIN_MEMORY |
Jeremy Fitzhardinge | 58e0502 | 2010-08-27 13:28:48 -0700 | [diff] [blame] | 32 | int |
Maxim Uvarov | 80df464 | 2011-10-14 15:36:51 -0700 | [diff] [blame] | 33 | default 500 if X86_64 |
| 34 | default 64 if X86_32 |
Jeremy Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 35 | depends on XEN |
| 36 | help |
Jeremy Fitzhardinge | 58e0502 | 2010-08-27 13:28:48 -0700 | [diff] [blame] | 37 | This only affects the sizing of some bss arrays, the unused |
| 38 | portions of which are freed. |
Jeremy Fitzhardinge | 93a0886 | 2008-07-15 13:43:42 -0700 | [diff] [blame] | 39 | |
| 40 | config XEN_SAVE_RESTORE |
| 41 | bool |
Rafael J. Wysocki | 1eb208a | 2011-02-11 00:06:30 +0100 | [diff] [blame] | 42 | depends on XEN |
Shriram Rajagopalan | d419e4c | 2011-04-11 22:54:48 +0200 | [diff] [blame] | 43 | select HIBERNATE_CALLBACKS |
Jeremy Fitzhardinge | 994025c | 2008-08-20 17:02:19 -0700 | [diff] [blame] | 44 | default y |
| 45 | |
| 46 | config 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 Ebbert | 08115ab | 2008-09-29 18:24:23 -0400 | [diff] [blame] | 52 | Enabling this option may incur a significant performance overhead. |
Maxim Uvarov | 80df464 | 2011-10-14 15:36:51 -0700 | [diff] [blame] | 53 | |
Mukesh Rathor | ddc416c | 2013-12-13 12:39:56 -0500 | [diff] [blame] | 54 | config XEN_PVH |
| 55 | bool "Support for running as a PVH guest" |
Konrad Rzeszutek Wilk | 54d44eb | 2014-01-10 10:45:35 -0500 | [diff] [blame] | 56 | depends on X86_64 && XEN && XEN_PVHVM |
Mukesh Rathor | ddc416c | 2013-12-13 12:39:56 -0500 | [diff] [blame] | 57 | def_bool n |