blob: e7947528aee61967523a6ff95337de2015583167 [file] [log] [blame]
Xiantao Zhangb6939192008-03-28 14:58:47 +08001#
2# KVM configuration
3#
Xiantao Zhangb6939192008-03-28 14:58:47 +08004
Avi Kivity0ba12d12009-05-21 16:45:19 +03005source "virt/kvm/Kconfig"
Avi Kivity5d9b8e32009-01-04 18:04:18 +02006
Xiantao Zhangb6939192008-03-28 14:58:47 +08007menuconfig VIRTUALIZATION
8 bool "Virtualization"
9 depends on HAVE_KVM || IA64
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
18if VIRTUALIZATION
19
20config KVM
21 tristate "Kernel-based Virtual Machine (KVM) support"
Avi Kivitya6bb7922012-05-17 13:14:08 +030022 depends on BROKEN
Zhang, Xiantao2906e792009-04-09 21:37:28 +080023 depends on HAVE_KVM && MODULES && EXPERIMENTAL
Avi Kivityca93e992008-11-04 11:25:17 +020024 # for device assignment:
25 depends on PCI
Fengguang Wu0c406642012-07-25 15:53:49 +080026 depends on BROKEN
Xiantao Zhangb6939192008-03-28 14:58:47 +080027 select PREEMPT_NOTIFIERS
28 select ANON_INODES
Avi Kivity0ba12d12009-05-21 16:45:19 +030029 select HAVE_KVM_IRQCHIP
Gleb Natapov73880c82009-06-09 15:56:28 +030030 select KVM_APIC_ARCHITECTURE
Avi Kivity50eb2a32009-12-20 15:00:10 +020031 select KVM_MMIO
Xiantao Zhangb6939192008-03-28 14:58:47 +080032 ---help---
33 Support hosting fully virtualized guest machines using hardware
34 virtualization extensions. You will need a fairly recent
35 processor equipped with virtualization extensions. You will also
36 need to select one or more of the processor modules below.
37
38 This module provides access to the hardware capabilities through
39 a character device node named /dev/kvm.
40
41 To compile this as a module, choose M here: the module
42 will be called kvm.
43
44 If unsure, say N.
45
46config KVM_INTEL
47 tristate "KVM for Intel Itanium 2 processors support"
48 depends on KVM && m
49 ---help---
50 Provides support for KVM on Itanium 2 processors equipped with the VT
51 extensions.
52
Michael S. Tsirkin3a4d5c92010-01-14 06:17:27 +000053source drivers/vhost/Kconfig
Xiantao Zhang0be9e922008-08-26 08:58:53 +080054
Xiantao Zhangb6939192008-03-28 14:58:47 +080055endif # VIRTUALIZATION