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" |
| 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 | |
| 16 | config XEN_MAX_DOMAIN_MEMORY |
| 17 | int "Maximum allowed size of a domain in gigabytes" |
Jeremy Fitzhardinge | 51dd660 | 2008-07-08 15:07:17 -0700 | [diff] [blame] | 18 | default 8 if X86_32 |
| 19 | default 32 if X86_64 |
Jeremy Fitzhardinge | 8006ec3 | 2008-05-26 23:31:19 +0100 | [diff] [blame] | 20 | depends on XEN |
| 21 | help |
| 22 | The pseudo-physical to machine address array is sized |
| 23 | according to the maximum possible memory size of a Xen |
| 24 | domain. This array uses 1 page per gigabyte, so there's no |
Jeremy Fitzhardinge | 51dd660 | 2008-07-08 15:07:17 -0700 | [diff] [blame] | 25 | need to be too stingy here. |
Jeremy Fitzhardinge | 93a0886 | 2008-07-15 13:43:42 -0700 | [diff] [blame] | 26 | |
| 27 | config XEN_SAVE_RESTORE |
| 28 | bool |
Chuck Ebbert | 08115ab | 2008-09-29 18:24:23 -0400 | [diff] [blame] | 29 | depends on XEN && PM |
Jeremy Fitzhardinge | 994025c | 2008-08-20 17:02:19 -0700 | [diff] [blame] | 30 | default y |
| 31 | |
| 32 | config XEN_DEBUG_FS |
| 33 | bool "Enable Xen debug and tuning parameters in debugfs" |
| 34 | depends on XEN && DEBUG_FS |
| 35 | default n |
| 36 | help |
| 37 | Enable statistics output and various tuning options in debugfs. |
Chuck Ebbert | 08115ab | 2008-09-29 18:24:23 -0400 | [diff] [blame] | 38 | Enabling this option may incur a significant performance overhead. |