blob: f922bbba37974657060182137487d49a65cf0285 [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"
Zhang, Xiantao2906e792009-04-09 21:37:28 +080022 depends on HAVE_KVM && MODULES && EXPERIMENTAL
Avi Kivityca93e992008-11-04 11:25:17 +020023 # for device assignment:
24 depends on PCI
Xiantao Zhangb6939192008-03-28 14:58:47 +080025 select PREEMPT_NOTIFIERS
26 select ANON_INODES
Avi Kivity0ba12d12009-05-21 16:45:19 +030027 select HAVE_KVM_IRQCHIP
Xiantao Zhangb6939192008-03-28 14:58:47 +080028 ---help---
29 Support hosting fully virtualized guest machines using hardware
30 virtualization extensions. You will need a fairly recent
31 processor equipped with virtualization extensions. You will also
32 need to select one or more of the processor modules below.
33
34 This module provides access to the hardware capabilities through
35 a character device node named /dev/kvm.
36
37 To compile this as a module, choose M here: the module
38 will be called kvm.
39
40 If unsure, say N.
41
42config KVM_INTEL
43 tristate "KVM for Intel Itanium 2 processors support"
44 depends on KVM && m
45 ---help---
46 Provides support for KVM on Itanium 2 processors equipped with the VT
47 extensions.
48
Avi Kivity048354c2008-04-11 02:51:52 +030049config KVM_TRACE
50 bool
51
Xiantao Zhang0be9e922008-08-26 08:58:53 +080052source drivers/virtio/Kconfig
53
Xiantao Zhangb6939192008-03-28 14:58:47 +080054endif # VIRTUALIZATION