blob: 7fbedfd34d6cf87d10acde14325ecc7fff678f36 [file] [log] [blame]
Avi Kivity6aa8b732006-12-10 02:21:36 -08001#
2# KVM configuration
3#
Avi Kivityfb56dbb2007-12-02 10:50:06 +02004
Avi Kivity0ba12d12009-05-21 16:45:19 +03005source "virt/kvm/Kconfig"
Avi Kivity5d9b8e32009-01-04 18:04:18 +02006
Jan Engelhardtde062062007-05-23 14:22:11 -07007menuconfig VIRTUALIZATION
8 bool "Virtualization"
Avi Kivityfb56dbb2007-12-02 10:50:06 +02009 depends on HAVE_KVM || X86
Jan Engelhardtde062062007-05-23 14:22:11 -070010 default y
Jan Engelhardt06bfb7e2007-08-18 12:56:21 +020011 ---help---
Avi Kivity36a740972007-09-22 14:43:45 +020012 Say Y here to get to see options for using your Linux host to run other
13 operating systems inside virtual machines (guests).
Jan Engelhardt06bfb7e2007-08-18 12:56:21 +020014 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.
Jan Engelhardtde062062007-05-23 14:22:11 -070017
18if VIRTUALIZATION
Avi Kivityfd24dc42006-12-13 00:33:44 -080019
Avi Kivity6aa8b732006-12-10 02:21:36 -080020config KVM
21 tristate "Kernel-based Virtual Machine (KVM) support"
Avi Kivity268fe022008-03-23 18:36:30 +020022 depends on HAVE_KVM
Avi Kivityca93e992008-11-04 11:25:17 +020023 # for device assignment:
24 depends on PCI
Avi Kivity15ad7142007-07-11 18:17:21 +030025 select PREEMPT_NOTIFIERS
Andrea Arcangelicddb8a52008-07-28 15:46:29 -070026 select MMU_NOTIFIER
Avi Kivity77668792007-07-22 12:40:30 +030027 select ANON_INODES
Avi Kivity0ba12d12009-05-21 16:45:19 +030028 select HAVE_KVM_IRQCHIP
Gregory Haskins721eecbf2009-05-20 10:30:49 -040029 select HAVE_KVM_EVENTFD
Gleb Natapov73880c82009-06-09 15:56:28 +030030 select KVM_APIC_ARCHITECTURE
Avi Kivity6aa8b732006-12-10 02:21:36 -080031 ---help---
32 Support hosting fully virtualized guest machines using hardware
33 virtualization extensions. You will need a fairly recent
34 processor equipped with virtualization extensions. You will also
35 need to select one or more of the processor modules below.
36
37 This module provides access to the hardware capabilities through
38 a character device node named /dev/kvm.
39
40 To compile this as a module, choose M here: the module
41 will be called kvm.
42
43 If unsure, say N.
44
45config KVM_INTEL
46 tristate "KVM for Intel processors support"
47 depends on KVM
48 ---help---
49 Provides support for KVM on Intel processors equipped with the VT
50 extensions.
51
Robert P. J. Day58f8ac22009-05-12 13:44:06 -070052 To compile this as a module, choose M here: the module
53 will be called kvm-intel.
54
Avi Kivity6aa8b732006-12-10 02:21:36 -080055config KVM_AMD
56 tristate "KVM for AMD processors support"
57 depends on KVM
58 ---help---
59 Provides support for KVM on AMD processors equipped with the AMD-V
60 (SVM) extensions.
Avi Kivityfd24dc42006-12-13 00:33:44 -080061
Robert P. J. Day58f8ac22009-05-12 13:44:06 -070062 To compile this as a module, choose M here: the module
63 will be called kvm-amd.
64
Feng(Eric) Liud4c9ff22008-04-10 08:47:53 -040065config KVM_TRACE
66 bool "KVM trace support"
Ingo Molnarb6ab4af2008-12-30 09:41:04 +010067 depends on KVM && SYSFS
68 select MARKERS
Feng(Eric) Liud4c9ff22008-04-10 08:47:53 -040069 select RELAY
70 select DEBUG_FS
71 default n
72 ---help---
73 This option allows reading a trace of kvm-related events through
74 relayfs. Note the ABI is not considered stable and will be
75 modified in future updates.
76
Rusty Russell9525ca02007-10-22 10:55:43 +100077# OK, it's a little counter-intuitive to do this, but it puts it neatly under
78# the virtualization menu.
79source drivers/lguest/Kconfig
Anthony Liguori0ad07ec2007-11-07 20:46:31 -060080source drivers/virtio/Kconfig
Rusty Russell9525ca02007-10-22 10:55:43 +100081
Jan Engelhardtde062062007-05-23 14:22:11 -070082endif # VIRTUALIZATION