Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 2 | # |
| 3 | # KVM configuration |
| 4 | # |
| 5 | |
Eric Auger | 2412405 | 2017-10-27 15:28:31 +0100 | [diff] [blame] | 6 | source "virt/lib/Kconfig" |
Sean Christopherson | c8f1e96 | 2021-09-21 15:22:30 -0700 | [diff] [blame^] | 7 | source "virt/kvm/Kconfig" |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 8 | |
| 9 | menuconfig VIRTUALIZATION |
| 10 | bool "Virtualization" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 11 | help |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 12 | Say Y here to get to see options for using your Linux host to run |
| 13 | other 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 |
| 17 | disabled. |
| 18 | |
| 19 | if VIRTUALIZATION |
| 20 | |
Will Deacon | f261336 | 2020-05-05 16:45:19 +0100 | [diff] [blame] | 21 | menuconfig KVM |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 22 | bool "Kernel-based Virtual Machine (KVM) support" |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 23 | depends on OF |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 24 | select MMU_NOTIFIER |
| 25 | select PREEMPT_NOTIFIERS |
Marc Zyngier | d241aac | 2013-08-02 11:41:13 +0100 | [diff] [blame] | 26 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Mario Smarduch | 7276030 | 2015-01-15 15:59:01 -0800 | [diff] [blame] | 27 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 28 | select KVM_MMIO |
Mario Smarduch | 7276030 | 2015-01-15 15:59:01 -0800 | [diff] [blame] | 29 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
Oliver Upton | 6caa581 | 2021-08-02 19:28:09 +0000 | [diff] [blame] | 30 | select KVM_XFER_TO_GUEST_WORK |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 31 | select SRCU |
Kim Phillips | 8889583 | 2015-06-05 16:21:49 +0100 | [diff] [blame] | 32 | select KVM_VFIO |
Eric Auger | 174178f | 2015-03-04 11:14:36 +0100 | [diff] [blame] | 33 | select HAVE_KVM_EVENTFD |
| 34 | select HAVE_KVM_IRQFD |
Andre Przywara | 0e4e82f | 2016-07-15 12:43:38 +0100 | [diff] [blame] | 35 | select HAVE_KVM_MSI |
Eric Auger | 180ae7b | 2016-07-22 16:20:41 +0000 | [diff] [blame] | 36 | select HAVE_KVM_IRQCHIP |
| 37 | select HAVE_KVM_IRQ_ROUTING |
Eric Auger | 2412405 | 2017-10-27 15:28:31 +0100 | [diff] [blame] | 38 | select IRQ_BYPASS_MANAGER |
| 39 | select HAVE_KVM_IRQ_BYPASS |
Dave Martin | e6b673b | 2018-04-06 14:55:59 +0100 | [diff] [blame] | 40 | select HAVE_KVM_VCPU_RUN_PID_CHANGE |
Peter Zijlstra | 63b3f96 | 2021-05-04 22:43:39 +0200 | [diff] [blame] | 41 | select SCHED_INFO |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 42 | help |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 43 | Support hosting virtualized guest machines. |
| 44 | |
| 45 | If unsure, say N. |
| 46 | |
Quentin Perret | 8e049e0 | 2021-08-09 16:24:29 +0100 | [diff] [blame] | 47 | config NVHE_EL2_DEBUG |
| 48 | bool "Debug mode for non-VHE EL2 object" |
Sean Christopherson | c8f1e96 | 2021-09-21 15:22:30 -0700 | [diff] [blame^] | 49 | depends on KVM |
Quentin Perret | 8e049e0 | 2021-08-09 16:24:29 +0100 | [diff] [blame] | 50 | help |
| 51 | Say Y here to enable the debug mode for the non-VHE KVM EL2 object. |
| 52 | Failure reports will BUG() in the hypervisor. This is intended for |
| 53 | local EL2 hypervisor development. |
| 54 | |
| 55 | If unsure, say N. |
| 56 | |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 57 | endif # VIRTUALIZATION |