e88fda867a33b198bc356aded57d59f48fcfb4ee
[kvmfornfv.git] / kernel / arch / x86 / xen / Kconfig
1 #
2 # This Kconfig describes xen options
3 #
4
5 config XEN
6         bool "Xen guest support"
7         depends on PARAVIRT
8         select PARAVIRT_CLOCK
9         select XEN_HAVE_PVMMU
10         depends on X86_64 || (X86_32 && X86_PAE)
11         depends on X86_TSC
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.
16
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 config XEN_PVHVM
23         def_bool y
24         depends on XEN && PCI && X86_LOCAL_APIC
25
26 config XEN_MAX_DOMAIN_MEMORY
27        int
28        default 500 if X86_64
29        default 64 if X86_32
30        depends on XEN
31        help
32          This only affects the sizing of some bss arrays, the unused
33          portions of which are freed.
34
35 config XEN_SAVE_RESTORE
36        bool
37        depends on XEN
38        select HIBERNATE_CALLBACKS
39        default y
40
41 config XEN_DEBUG_FS
42         bool "Enable Xen debug and tuning parameters in debugfs"
43         depends on XEN && DEBUG_FS
44         default n
45         help
46           Enable statistics output and various tuning options in debugfs.
47           Enabling this option may incur a significant performance overhead.
48
49 config XEN_PVH
50         bool "Support for running as a PVH guest"
51         depends on X86_64 && XEN && XEN_PVHVM
52         def_bool n