rcu: Make SRCU optional by using CONFIG_SRCU
[deliverable/linux.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 default y
11 ---help---
12 Say Y here to get to see options for using your Linux host to run other
13 operating systems inside virtual machines (guests).
14 This option alone does not add any kernel code.
15
16 If you say N, all options in this submenu will be skipped and disabled.
17
18 if VIRTUALIZATION
19
20 config KVM
21 tristate "Kernel-based Virtual Machine (KVM) support"
22 depends on HAVE_KVM
23 depends on HIGH_RES_TIMERS
24 # for TASKSTATS/TASK_DELAY_ACCT:
25 depends on NET
26 select PREEMPT_NOTIFIERS
27 select MMU_NOTIFIER
28 select ANON_INODES
29 select HAVE_KVM_IRQCHIP
30 select HAVE_KVM_IRQFD
31 select HAVE_KVM_IRQ_ROUTING
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 select HAVE_KVM_MSI
41 select HAVE_KVM_CPU_RELAX_INTERCEPT
42 select KVM_VFIO
43 select SRCU
44 ---help---
45 Support hosting fully virtualized guest machines using hardware
46 virtualization extensions. You will need a fairly recent
47 processor equipped with virtualization extensions. You will also
48 need to select one or more of the processor modules below.
49
50 This module provides access to the hardware capabilities through
51 a character device node named /dev/kvm.
52
53 To compile this as a module, choose M here: the module
54 will be called kvm.
55
56 If unsure, say N.
57
58 config KVM_INTEL
59 tristate "KVM for Intel processors support"
60 depends on KVM
61 # for perf_guest_get_msrs():
62 depends on CPU_SUP_INTEL
63 ---help---
64 Provides support for KVM on Intel processors equipped with the VT
65 extensions.
66
67 To compile this as a module, choose M here: the module
68 will be called kvm-intel.
69
70 config KVM_AMD
71 tristate "KVM for AMD processors support"
72 depends on KVM
73 ---help---
74 Provides support for KVM on AMD processors equipped with the AMD-V
75 (SVM) extensions.
76
77 To compile this as a module, choose M here: the module
78 will be called kvm-amd.
79
80 config KVM_MMU_AUDIT
81 bool "Audit KVM MMU"
82 depends on KVM && TRACEPOINTS
83 ---help---
84 This option adds a R/W kVM module parameter 'mmu_audit', which allows
85 auditing of KVM MMU events at runtime.
86
87 config KVM_DEVICE_ASSIGNMENT
88 bool "KVM legacy PCI device assignment support"
89 depends on KVM && PCI && IOMMU_API
90 default y
91 ---help---
92 Provide support for legacy PCI device assignment through KVM. The
93 kernel now also supports a full featured userspace device driver
94 framework through VFIO, which supersedes much of this support.
95
96 If unsure, say Y.
97
98 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
99 # the virtualization menu.
100 source drivers/vhost/Kconfig
101 source drivers/lguest/Kconfig
102
103 endif # VIRTUALIZATION
This page took 0.030891 seconds and 5 git commands to generate.