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 | d3d1c4b | 2007-10-22 10:55:21 +1000 | [diff] [blame] | 6 | bool "Xen guest support" |
| 7 | select PARAVIRT |
Gerd Hoffmann | 1c7b67f | 2008-06-03 16:17:30 +0200 | [diff] [blame] | 8 | select PARAVIRT_CLOCK |
Ingo Molnar | 965c7ec | 2009-02-22 23:19:12 +0100 | [diff] [blame] | 9 | depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS) |
Jeremy Fitzhardinge | 51dd660 | 2008-07-08 15:07:17 -0700 | [diff] [blame] | 10 | depends on X86_CMPXCHG && 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 | |
Stefano Stabellini | 6b0661a | 2010-09-02 15:47:32 +0100 | [diff] [blame] | 16 | config XEN_DOM0 |
| 17 | def_bool y |
| 18 | depends on XEN && PCI_XEN && SWIOTLB_XEN |
| 19 | depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI |
| 20 | |
| 21 | # Dummy symbol since people have come to rely on the PRIVILEGED_GUEST |
| 22 | # name in tools. |
| 23 | config XEN_PRIVILEGED_GUEST |
| 24 | def_bool XEN_DOM0 |
| 25 | |
Stefano Stabellini | ca65f9f | 2010-07-29 14:37:48 +0100 | [diff] [blame] | 26 | config XEN_PVHVM |
| 27 | def_bool y |
| 28 | depends on XEN |
| 29 | depends on X86_LOCAL_APIC |
| 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 |
| 33 | default 128 |
Jeremy Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 34 | depends on XEN |
| 35 | help |
Jeremy Fitzhardinge | 58e0502 | 2010-08-27 13:28:48 -0700 | [diff] [blame] | 36 | This only affects the sizing of some bss arrays, the unused |
| 37 | portions of which are freed. |
Jeremy Fitzhardinge | 93a0886 | 2008-07-15 13:43:42 -0700 | [diff] [blame] | 38 | |
| 39 | config XEN_SAVE_RESTORE |
| 40 | bool |
Rafael J. Wysocki | 1eb208a | 2011-02-11 00:06:30 +0100 | [diff] [blame] | 41 | depends on XEN |
Shriram Rajagopalan | d419e4c | 2011-04-11 22:54:48 +0200 | [diff] [blame] | 42 | select HIBERNATE_CALLBACKS |
Jeremy Fitzhardinge | 994025c | 2008-08-20 17:02:19 -0700 | [diff] [blame] | 43 | default y |
| 44 | |
| 45 | config XEN_DEBUG_FS |
| 46 | bool "Enable Xen debug and tuning parameters in debugfs" |
| 47 | depends on XEN && DEBUG_FS |
| 48 | default n |
| 49 | help |
| 50 | Enable statistics output and various tuning options in debugfs. |
Chuck Ebbert | 08115ab | 2008-09-29 18:24:23 -0400 | [diff] [blame] | 51 | Enabling this option may incur a significant performance overhead. |
Konrad Rzeszutek Wilk | fc25151 | 2010-12-23 16:25:29 -0500 | [diff] [blame] | 52 | |
| 53 | config XEN_DEBUG |
| 54 | bool "Enable Xen debug checks" |
| 55 | depends on XEN |
| 56 | default n |
| 57 | help |
| 58 | Enable various WARN_ON checks in the Xen MMU code. |
| 59 | Enabling this option WILL incur a significant performance overhead. |