- Update Xen patches to 3.3-rc5 and c/s 1157.
[linux-flexiantxendom0-3.2.10.git] / arch / x86 / kvm / Kconfig
1 #
2 # KVM configuration
3 #
4
5 source "virt/kvm/Kconfig"
6
7 menuconfig VIRTUALIZATION
8         bool "Virtualization"
9         depends on HAVE_KVM || X86
10         depends on !XEN
11         default y
12         ---help---
13           Say Y here to get to see options for using your Linux host to run other
14           operating systems inside virtual machines (guests).
15           This option alone does not add any kernel code.
16
17           If you say N, all options in this submenu will be skipped and disabled.
18
19 if VIRTUALIZATION
20
21 config KVM
22         tristate "Kernel-based Virtual Machine (KVM) support"
23         depends on HAVE_KVM
24         # for device assignment:
25         depends on PCI
26         # for TASKSTATS/TASK_DELAY_ACCT:
27         depends on NET
28         select PREEMPT_NOTIFIERS
29         select MMU_NOTIFIER
30         select ANON_INODES
31         select HAVE_KVM_IRQCHIP
32         select HAVE_KVM_EVENTFD
33         select KVM_APIC_ARCHITECTURE
34         select KVM_ASYNC_PF
35         select USER_RETURN_NOTIFIER
36         select KVM_MMIO
37         select TASKSTATS
38         select TASK_DELAY_ACCT
39         select PERF_EVENTS
40         ---help---
41           Support hosting fully virtualized guest machines using hardware
42           virtualization extensions.  You will need a fairly recent
43           processor equipped with virtualization extensions. You will also
44           need to select one or more of the processor modules below.
45
46           This module provides access to the hardware capabilities through
47           a character device node named /dev/kvm.
48
49           To compile this as a module, choose M here: the module
50           will be called kvm.
51
52           If unsure, say N.
53
54 config KVM_INTEL
55         tristate "KVM for Intel processors support"
56         depends on KVM
57         # for perf_guest_get_msrs():
58         depends on CPU_SUP_INTEL
59         ---help---
60           Provides support for KVM on Intel processors equipped with the VT
61           extensions.
62
63           To compile this as a module, choose M here: the module
64           will be called kvm-intel.
65
66 config KVM_AMD
67         tristate "KVM for AMD processors support"
68         depends on KVM
69         ---help---
70           Provides support for KVM on AMD processors equipped with the AMD-V
71           (SVM) extensions.
72
73           To compile this as a module, choose M here: the module
74           will be called kvm-amd.
75
76 config KVM_MMU_AUDIT
77         bool "Audit KVM MMU"
78         depends on KVM && TRACEPOINTS
79         ---help---
80          This option adds a R/W kVM module parameter 'mmu_audit', which allows
81          audit  KVM MMU at runtime.
82
83 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
84 # the virtualization menu.
85 source drivers/vhost/Kconfig
86 source drivers/lguest/Kconfig
87
88 endif # VIRTUALIZATION