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