| Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 1 | # | 
|  | 2 | # KVM configuration | 
|  | 3 | # | 
| Avi Kivity | fb56dbb | 2007-12-02 10:50:06 +0200 | [diff] [blame] | 4 | config HAVE_KVM | 
|  | 5 | bool | 
|  | 6 |  | 
| Avi Kivity | 5d9b8e3 | 2009-01-04 18:04:18 +0200 | [diff] [blame] | 7 | config HAVE_KVM_IRQCHIP | 
|  | 8 | bool | 
|  | 9 | default y | 
|  | 10 |  | 
| Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 11 | menuconfig VIRTUALIZATION | 
|  | 12 | bool "Virtualization" | 
| Avi Kivity | fb56dbb | 2007-12-02 10:50:06 +0200 | [diff] [blame] | 13 | depends on HAVE_KVM || X86 | 
| Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 14 | default y | 
| Jan Engelhardt | 06bfb7e | 2007-08-18 12:56:21 +0200 | [diff] [blame] | 15 | ---help--- | 
| Avi Kivity | 36a7409 | 2007-09-22 14:43:45 +0200 | [diff] [blame] | 16 | Say Y here to get to see options for using your Linux host to run other | 
|  | 17 | operating systems inside virtual machines (guests). | 
| Jan Engelhardt | 06bfb7e | 2007-08-18 12:56:21 +0200 | [diff] [blame] | 18 | This option alone does not add any kernel code. | 
|  | 19 |  | 
|  | 20 | If you say N, all options in this submenu will be skipped and disabled. | 
| Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 21 |  | 
|  | 22 | if VIRTUALIZATION | 
| Avi Kivity | fd24dc4 | 2006-12-13 00:33:44 -0800 | [diff] [blame] | 23 |  | 
| Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -0800 | [diff] [blame] | 24 | config KVM | 
|  | 25 | tristate "Kernel-based Virtual Machine (KVM) support" | 
| Avi Kivity | 268fe02 | 2008-03-23 18:36:30 +0200 | [diff] [blame] | 26 | depends on HAVE_KVM | 
| Avi Kivity | ca93e99 | 2008-11-04 11:25:17 +0200 | [diff] [blame] | 27 | # for device assignment: | 
|  | 28 | depends on PCI | 
| Avi Kivity | 15ad714 | 2007-07-11 18:17:21 +0300 | [diff] [blame] | 29 | select PREEMPT_NOTIFIERS | 
| Andrea Arcangeli | cddb8a5 | 2008-07-28 15:46:29 -0700 | [diff] [blame] | 30 | select MMU_NOTIFIER | 
| Avi Kivity | 7766879 | 2007-07-22 12:40:30 +0300 | [diff] [blame] | 31 | select ANON_INODES | 
| Avi Kivity | 6aa8b73 | 2006-12-10 02:21:36 -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 processors support" | 
|  | 48 | depends on KVM | 
|  | 49 | ---help--- | 
|  | 50 | Provides support for KVM on Intel processors equipped with the VT | 
|  | 51 | extensions. | 
|  | 52 |  | 
|  | 53 | config KVM_AMD | 
|  | 54 | tristate "KVM for AMD processors support" | 
|  | 55 | depends on KVM | 
|  | 56 | ---help--- | 
|  | 57 | Provides support for KVM on AMD processors equipped with the AMD-V | 
|  | 58 | (SVM) extensions. | 
| Avi Kivity | fd24dc4 | 2006-12-13 00:33:44 -0800 | [diff] [blame] | 59 |  | 
| Feng(Eric) Liu | d4c9ff2 | 2008-04-10 08:47:53 -0400 | [diff] [blame] | 60 | config KVM_TRACE | 
|  | 61 | bool "KVM trace support" | 
| Ingo Molnar | b6ab4af | 2008-12-30 09:41:04 +0100 | [diff] [blame] | 62 | depends on KVM && SYSFS | 
|  | 63 | select MARKERS | 
| Feng(Eric) Liu | d4c9ff2 | 2008-04-10 08:47:53 -0400 | [diff] [blame] | 64 | select RELAY | 
|  | 65 | select DEBUG_FS | 
|  | 66 | default n | 
|  | 67 | ---help--- | 
|  | 68 | This option allows reading a trace of kvm-related events through | 
|  | 69 | relayfs.  Note the ABI is not considered stable and will be | 
|  | 70 | modified in future updates. | 
|  | 71 |  | 
| Rusty Russell | 9525ca0 | 2007-10-22 10:55:43 +1000 | [diff] [blame] | 72 | # OK, it's a little counter-intuitive to do this, but it puts it neatly under | 
|  | 73 | # the virtualization menu. | 
|  | 74 | source drivers/lguest/Kconfig | 
| Anthony Liguori | 0ad07ec | 2007-11-07 20:46:31 -0600 | [diff] [blame] | 75 | source drivers/virtio/Kconfig | 
| Rusty Russell | 9525ca0 | 2007-10-22 10:55:43 +1000 | [diff] [blame] | 76 |  | 
| Jan Engelhardt | de06206 | 2007-05-23 14:22:11 -0700 | [diff] [blame] | 77 | endif # VIRTUALIZATION |