blob: 990b86420cc64638b542b95dd6a9059ba8cd37f9 [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
Kees Cookd2008e82012-10-02 11:16:30 -070023 depends on HAVE_KVM && MODULES
Fengguang Wu0c406642012-07-25 15:53:49 +080024 depends on BROKEN
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
Alexander Graf22e64022013-04-25 11:50:03 +020028 select HAVE_KVM_IRQ_ROUTING
Gleb Natapov73880c82009-06-09 15:56:28 +030029 select KVM_APIC_ARCHITECTURE
Avi Kivity50eb2a32009-12-20 15:00:10 +020030 select KVM_MMIO
Xiantao Zhangb6939192008-03-28 14:58:47 +080031 ---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
Alex Williamson2a5bab12013-04-16 13:49:18 -060052config KVM_DEVICE_ASSIGNMENT
53 bool "KVM legacy PCI device assignment support"
54 depends on KVM && PCI && IOMMU_API
55 default y
56 ---help---
57 Provide support for legacy PCI device assignment through KVM. The
58 kernel now also supports a full featured userspace device driver
59 framework through VFIO, which supersedes much of this support.
60
61 If unsure, say Y.
62
Michael S. Tsirkin3a4d5c94e2010-01-14 06:17:27 +000063source drivers/vhost/Kconfig
Xiantao Zhang0be9e922008-08-26 08:58:53 +080064
Xiantao Zhangb6939192008-03-28 14:58:47 +080065endif # VIRTUALIZATION