blob: ff5790d8e990f0c382fa43c5ff2d3b5d7ed46c48 [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
Randy Dunlapdf3d8ae2011-08-02 12:54:31 -070025 # for TASKSTATS/TASK_DELAY_ACCT:
26 depends on NET
Avi Kivity15ad7142007-07-11 18:17:21 +030027 select PREEMPT_NOTIFIERS
Andrea Arcangelicddb8a52008-07-28 15:46:29 -070028 select MMU_NOTIFIER
Avi Kivity77668792007-07-22 12:40:30 +030029 select ANON_INODES
Avi Kivity0ba12d12009-05-21 16:45:19 +030030 select HAVE_KVM_IRQCHIP
Gregory Haskins721eecb2009-05-20 10:30:49 -040031 select HAVE_KVM_EVENTFD
Gleb Natapov73880c82009-06-09 15:56:28 +030032 select KVM_APIC_ARCHITECTURE
Gleb Natapovaf585b92010-10-14 11:22:46 +020033 select KVM_ASYNC_PF
Avi Kivity18863bd2009-09-07 11:12:18 +030034 select USER_RETURN_NOTIFIER
Avi Kivity50eb2a32009-12-20 15:00:10 +020035 select KVM_MMIO
Randy Dunlapfd079fa2011-07-25 11:01:09 -070036 select TASKSTATS
Glauber Costac9aaa892011-07-11 15:28:14 -040037 select TASK_DELAY_ACCT
Avi Kivity6aa8b732006-12-10 02:21:36 -080038 ---help---
39 Support hosting fully virtualized guest machines using hardware
40 virtualization extensions. You will need a fairly recent
41 processor equipped with virtualization extensions. You will also
42 need to select one or more of the processor modules below.
43
44 This module provides access to the hardware capabilities through
45 a character device node named /dev/kvm.
46
47 To compile this as a module, choose M here: the module
48 will be called kvm.
49
50 If unsure, say N.
51
52config KVM_INTEL
53 tristate "KVM for Intel processors support"
54 depends on KVM
55 ---help---
56 Provides support for KVM on Intel processors equipped with the VT
57 extensions.
58
Robert P. J. Day58f8ac22009-05-12 13:44:06 -070059 To compile this as a module, choose M here: the module
60 will be called kvm-intel.
61
Avi Kivity6aa8b732006-12-10 02:21:36 -080062config KVM_AMD
63 tristate "KVM for AMD processors support"
64 depends on KVM
65 ---help---
66 Provides support for KVM on AMD processors equipped with the AMD-V
67 (SVM) extensions.
Avi Kivityfd24dc42006-12-13 00:33:44 -080068
Robert P. J. Day58f8ac22009-05-12 13:44:06 -070069 To compile this as a module, choose M here: the module
70 will be called kvm-amd.
71
Xiao Guangrong8b1fe172010-08-30 18:22:53 +080072config KVM_MMU_AUDIT
73 bool "Audit KVM MMU"
74 depends on KVM && TRACEPOINTS
75 ---help---
76 This option adds a R/W kVM module parameter 'mmu_audit', which allows
77 audit KVM MMU at runtime.
78
Rusty Russell9525ca02007-10-22 10:55:43 +100079# OK, it's a little counter-intuitive to do this, but it puts it neatly under
80# the virtualization menu.
Michael S. Tsirkin3a4d5c94e2010-01-14 06:17:27 +000081source drivers/vhost/Kconfig
Rusty Russell9525ca02007-10-22 10:55:43 +100082source drivers/lguest/Kconfig
83
Jan Engelhardtde062062007-05-23 14:22:11 -070084endif # VIRTUALIZATION