rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # KVM configuration |
| 4 | # |
| 5 | |
| 6 | source "virt/kvm/Kconfig" |
| 7 | |
| 8 | menuconfig VIRTUALIZATION |
| 9 | bool "Virtualization" |
| 10 | ---help--- |
| 11 | Say Y here to get to see options for using your Linux host to run |
| 12 | other operating systems inside virtual machines (guests). |
| 13 | This option alone does not add any kernel code. |
| 14 | |
| 15 | If you say N, all options in this submenu will be skipped and |
| 16 | disabled. |
| 17 | |
| 18 | if VIRTUALIZATION |
| 19 | |
| 20 | config KVM |
| 21 | tristate "Kernel-based Virtual Machine (KVM) support" |
| 22 | depends on HAVE_KVM && MODULES |
| 23 | select PREEMPT_NOTIFIERS |
| 24 | select ANON_INODES |
| 25 | select SRCU |
| 26 | ---help--- |
| 27 | Support hosting paravirtualized guest machines. |
| 28 | |
| 29 | This module provides access to the hardware capabilities through |
| 30 | a character device node named /dev/kvm. |
| 31 | |
| 32 | To compile this as a module, choose M here: the module |
| 33 | will be called kvm. |
| 34 | |
| 35 | If unsure, say N. |
| 36 | |
| 37 | source drivers/vhost/Kconfig |
| 38 | |
| 39 | endif # VIRTUALIZATION |