blob: 8d45fabc5f3baf556b1da2558a42df183ab09e80 [file] [log] [blame]
Avi Kivity6aa8b732006-12-10 02:21:36 -08001#
2# KVM configuration
3#
Avi Kivityfb56dbb2007-12-02 10:50:06 +02004config HAVE_KVM
5 bool
6
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 Kivity15ad7142007-07-11 18:17:21 +030023 select PREEMPT_NOTIFIERS
Avi Kivity77668792007-07-22 12:40:30 +030024 select ANON_INODES
Avi Kivity6aa8b732006-12-10 02:21:36 -080025 ---help---
26 Support hosting fully virtualized guest machines using hardware
27 virtualization extensions. You will need a fairly recent
28 processor equipped with virtualization extensions. You will also
29 need to select one or more of the processor modules below.
30
31 This module provides access to the hardware capabilities through
32 a character device node named /dev/kvm.
33
34 To compile this as a module, choose M here: the module
35 will be called kvm.
36
37 If unsure, say N.
38
39config KVM_INTEL
40 tristate "KVM for Intel processors support"
41 depends on KVM
42 ---help---
43 Provides support for KVM on Intel processors equipped with the VT
44 extensions.
45
46config KVM_AMD
47 tristate "KVM for AMD processors support"
48 depends on KVM
49 ---help---
50 Provides support for KVM on AMD processors equipped with the AMD-V
51 (SVM) extensions.
Avi Kivityfd24dc42006-12-13 00:33:44 -080052
Feng(Eric) Liud4c9ff22008-04-10 08:47:53 -040053config KVM_TRACE
54 bool "KVM trace support"
55 depends on KVM && MARKERS && SYSFS
56 select RELAY
57 select DEBUG_FS
58 default n
59 ---help---
60 This option allows reading a trace of kvm-related events through
61 relayfs. Note the ABI is not considered stable and will be
62 modified in future updates.
63
Rusty Russell9525ca02007-10-22 10:55:43 +100064# OK, it's a little counter-intuitive to do this, but it puts it neatly under
65# the virtualization menu.
66source drivers/lguest/Kconfig
Anthony Liguori0ad07ec2007-11-07 20:46:31 -060067source drivers/virtio/Kconfig
Rusty Russell9525ca02007-10-22 10:55:43 +100068
Jan Engelhardtde062062007-05-23 14:22:11 -070069endif # VIRTUALIZATION