Xiantao Zhang | b693919 | 2008-03-28 14:58:47 +0800 | [diff] [blame] | 1 | # |
| 2 | # KVM configuration |
| 3 | # |
Xiantao Zhang | b693919 | 2008-03-28 14:58:47 +0800 | [diff] [blame] | 4 | |
Avi Kivity | 0ba12d1 | 2009-05-21 16:45:19 +0300 | [diff] [blame] | 5 | source "virt/kvm/Kconfig" |
Avi Kivity | 5d9b8e3 | 2009-01-04 18:04:18 +0200 | [diff] [blame] | 6 | |
Xiantao Zhang | b693919 | 2008-03-28 14:58:47 +0800 | [diff] [blame] | 7 | menuconfig 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 | |
| 18 | if VIRTUALIZATION |
| 19 | |
| 20 | config KVM |
| 21 | tristate "Kernel-based Virtual Machine (KVM) support" |
Avi Kivity | a6bb792 | 2012-05-17 13:14:08 +0300 | [diff] [blame] | 22 | depends on BROKEN |
Kees Cook | d2008e8 | 2012-10-02 11:16:30 -0700 | [diff] [blame] | 23 | depends on HAVE_KVM && MODULES |
Fengguang Wu | 0c40664 | 2012-07-25 15:53:49 +0800 | [diff] [blame] | 24 | depends on BROKEN |
Xiantao Zhang | b693919 | 2008-03-28 14:58:47 +0800 | [diff] [blame] | 25 | select PREEMPT_NOTIFIERS |
| 26 | select ANON_INODES |
Avi Kivity | 0ba12d1 | 2009-05-21 16:45:19 +0300 | [diff] [blame] | 27 | select HAVE_KVM_IRQCHIP |
Paul Mackerras | 297e210 | 2014-06-30 20:51:13 +1000 | [diff] [blame] | 28 | select HAVE_KVM_IRQFD |
Alexander Graf | 22e6402 | 2013-04-25 11:50:03 +0200 | [diff] [blame] | 29 | select HAVE_KVM_IRQ_ROUTING |
Gleb Natapov | 73880c8 | 2009-06-09 15:56:28 +0300 | [diff] [blame] | 30 | select KVM_APIC_ARCHITECTURE |
Avi Kivity | 50eb2a3 | 2009-12-20 15:00:10 +0200 | [diff] [blame] | 31 | select KVM_MMIO |
Xiantao Zhang | b693919 | 2008-03-28 14:58:47 +0800 | [diff] [blame] | 32 | ---help--- |
| 33 | Support hosting fully virtualized guest machines using hardware |
| 34 | virtualization extensions. You will need a fairly recent |
| 35 | processor equipped with virtualization extensions. You will also |
| 36 | need to select one or more of the processor modules below. |
| 37 | |
| 38 | This module provides access to the hardware capabilities through |
| 39 | a character device node named /dev/kvm. |
| 40 | |
| 41 | To compile this as a module, choose M here: the module |
| 42 | will be called kvm. |
| 43 | |
| 44 | If unsure, say N. |
| 45 | |
| 46 | config KVM_INTEL |
| 47 | tristate "KVM for Intel Itanium 2 processors support" |
| 48 | depends on KVM && m |
| 49 | ---help--- |
| 50 | Provides support for KVM on Itanium 2 processors equipped with the VT |
| 51 | extensions. |
| 52 | |
Alex Williamson | 2a5bab1 | 2013-04-16 13:49:18 -0600 | [diff] [blame] | 53 | config KVM_DEVICE_ASSIGNMENT |
| 54 | bool "KVM legacy PCI device assignment support" |
| 55 | depends on KVM && PCI && IOMMU_API |
| 56 | default y |
| 57 | ---help--- |
| 58 | Provide support for legacy PCI device assignment through KVM. The |
| 59 | kernel now also supports a full featured userspace device driver |
| 60 | framework through VFIO, which supersedes much of this support. |
| 61 | |
| 62 | If unsure, say Y. |
| 63 | |
Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 64 | source drivers/vhost/Kconfig |
Xiantao Zhang | 0be9e92 | 2008-08-26 08:58:53 +0800 | [diff] [blame] | 65 | |
Xiantao Zhang | b693919 | 2008-03-28 14:58:47 +0800 | [diff] [blame] | 66 | endif # VIRTUALIZATION |