blob: fa4d1e59deb05c21281011cc07fe5fecfd8a3fb4 [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
Gleb Natapov73880c82009-06-09 15:56:28 +030028 select KVM_APIC_ARCHITECTURE
Avi Kivity50eb2a32009-12-20 15:00:10 +020029 select KVM_MMIO
Xiantao Zhangb6939192008-03-28 14:58:47 +080030 ---help---
31 Support hosting fully virtualized guest machines using hardware
32 virtualization extensions. You will need a fairly recent
33 processor equipped with virtualization extensions. You will also
34 need to select one or more of the processor modules below.
35
36 This module provides access to the hardware capabilities through
37 a character device node named /dev/kvm.
38
39 To compile this as a module, choose M here: the module
40 will be called kvm.
41
42 If unsure, say N.
43
44config KVM_INTEL
45 tristate "KVM for Intel Itanium 2 processors support"
46 depends on KVM && m
47 ---help---
48 Provides support for KVM on Itanium 2 processors equipped with the VT
49 extensions.
50
Michael S. Tsirkin3a4d5c94e2010-01-14 06:17:27 +000051source drivers/vhost/Kconfig
Xiantao Zhang0be9e922008-08-26 08:58:53 +080052source drivers/virtio/Kconfig
53
Xiantao Zhangb6939192008-03-28 14:58:47 +080054endif # VIRTUALIZATION