xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 8e049e0d)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2c3eb5b14SMarc Zyngier#
3c3eb5b14SMarc Zyngier# KVM configuration
4c3eb5b14SMarc Zyngier#
5c3eb5b14SMarc Zyngier
62412405bSEric Augersource "virt/lib/Kconfig"
7c3eb5b14SMarc Zyngier
8c3eb5b14SMarc Zyngiermenuconfig VIRTUALIZATION
9c3eb5b14SMarc Zyngier	bool "Virtualization"
10a7f7f624SMasahiro Yamada	help
11c3eb5b14SMarc Zyngier	  Say Y here to get to see options for using your Linux host to run
12c3eb5b14SMarc Zyngier	  other operating systems inside virtual machines (guests).
13c3eb5b14SMarc Zyngier	  This option alone does not add any kernel code.
14c3eb5b14SMarc Zyngier
15c3eb5b14SMarc Zyngier	  If you say N, all options in this submenu will be skipped and
16c3eb5b14SMarc Zyngier	  disabled.
17c3eb5b14SMarc Zyngier
18c3eb5b14SMarc Zyngierif VIRTUALIZATION
19c3eb5b14SMarc Zyngier
20f2613362SWill Deaconmenuconfig KVM
21c3eb5b14SMarc Zyngier	bool "Kernel-based Virtual Machine (KVM) support"
22662d9715SChristoffer Dall	depends on OF
23c3eb5b14SMarc Zyngier	select MMU_NOTIFIER
24c3eb5b14SMarc Zyngier	select PREEMPT_NOTIFIERS
25d241aac7SMarc Zyngier	select HAVE_KVM_CPU_RELAX_INTERCEPT
267276030aSMario Smarduch	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
27c3eb5b14SMarc Zyngier	select KVM_MMIO
287276030aSMario Smarduch	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
2983fe27eaSPranith Kumar	select SRCU
308889583cSKim Phillips	select KVM_VFIO
31174178feSEric Auger	select HAVE_KVM_EVENTFD
32174178feSEric Auger	select HAVE_KVM_IRQFD
330e4e82f1SAndre Przywara	select HAVE_KVM_MSI
34180ae7b1SEric Auger	select HAVE_KVM_IRQCHIP
35180ae7b1SEric Auger	select HAVE_KVM_IRQ_ROUTING
362412405bSEric Auger	select IRQ_BYPASS_MANAGER
372412405bSEric Auger	select HAVE_KVM_IRQ_BYPASS
38e6b673b7SDave Martin	select HAVE_KVM_VCPU_RUN_PID_CHANGE
3963b3f96eSPeter Zijlstra	select SCHED_INFO
40a7f7f624SMasahiro Yamada	help
41c3eb5b14SMarc Zyngier	  Support hosting virtualized guest machines.
42c3eb5b14SMarc Zyngier
43c3eb5b14SMarc Zyngier	  If unsure, say N.
44c3eb5b14SMarc Zyngier
45f2613362SWill Deaconif KVM
46f2613362SWill Deacon
47f2613362SWill Deaconsource "virt/kvm/Kconfig"
48f2613362SWill Deacon
49*8e049e0dSQuentin Perretconfig NVHE_EL2_DEBUG
50*8e049e0dSQuentin Perret	bool "Debug mode for non-VHE EL2 object"
51*8e049e0dSQuentin Perret	help
52*8e049e0dSQuentin Perret	  Say Y here to enable the debug mode for the non-VHE KVM EL2 object.
53*8e049e0dSQuentin Perret	  Failure reports will BUG() in the hypervisor. This is intended for
54*8e049e0dSQuentin Perret	  local EL2 hypervisor development.
55*8e049e0dSQuentin Perret
56*8e049e0dSQuentin Perret	  If unsure, say N.
57*8e049e0dSQuentin Perret
58f2613362SWill Deaconendif # KVM
594340ba80SMarc Zyngier
60c3eb5b14SMarc Zyngierendif # VIRTUALIZATION
61