blob: 64d5209378749ff7175f8218fdbb546ee6310315 [file] [log] [blame]
Xiantao Zhangb6939192008-03-28 14:58:47 +08001#
2# KVM configuration
3#
4config HAVE_KVM
5 bool
6
Avi Kivity5d9b8e32009-01-04 18:04:18 +02007config HAVE_KVM_IRQCHIP
8 bool
9 default y
10
Xiantao Zhangb6939192008-03-28 14:58:47 +080011menuconfig VIRTUALIZATION
12 bool "Virtualization"
13 depends on HAVE_KVM || IA64
14 default y
15 ---help---
16 Say Y here to get to see options for using your Linux host to run other
17 operating systems inside virtual machines (guests).
18 This option alone does not add any kernel code.
19
20 If you say N, all options in this submenu will be skipped and disabled.
21
22if VIRTUALIZATION
23
24config KVM
25 tristate "Kernel-based Virtual Machine (KVM) support"
Zhang, Xiantao2906e792009-04-09 21:37:28 +080026 depends on HAVE_KVM && MODULES && EXPERIMENTAL
Avi Kivityca93e992008-11-04 11:25:17 +020027 # for device assignment:
28 depends on PCI
Xiantao Zhangb6939192008-03-28 14:58:47 +080029 select PREEMPT_NOTIFIERS
30 select ANON_INODES
31 ---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 Itanium 2 processors support"
47 depends on KVM && m
48 ---help---
49 Provides support for KVM on Itanium 2 processors equipped with the VT
50 extensions.
51
Avi Kivity048354c2008-04-11 02:51:52 +030052config KVM_TRACE
53 bool
54
Xiantao Zhang0be9e922008-08-26 08:58:53 +080055source drivers/virtio/Kconfig
56
Xiantao Zhangb6939192008-03-28 14:58:47 +080057endif # VIRTUALIZATION