xref: /openbmc/linux/arch/riscv/kvm/Kconfig (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
199cdc6c1SAnup Patel# SPDX-License-Identifier: GPL-2.0
299cdc6c1SAnup Patel#
399cdc6c1SAnup Patel# KVM configuration
499cdc6c1SAnup Patel#
599cdc6c1SAnup Patel
699cdc6c1SAnup Patelsource "virt/kvm/Kconfig"
799cdc6c1SAnup Patel
899cdc6c1SAnup Patelmenuconfig VIRTUALIZATION
999cdc6c1SAnup Patel	bool "Virtualization"
1099cdc6c1SAnup Patel	help
1199cdc6c1SAnup Patel	  Say Y here to get to see options for using your Linux host to run
1299cdc6c1SAnup Patel	  other operating systems inside virtual machines (guests).
1399cdc6c1SAnup Patel	  This option alone does not add any kernel code.
1499cdc6c1SAnup Patel
1599cdc6c1SAnup Patel	  If you say N, all options in this submenu will be skipped and
1699cdc6c1SAnup Patel	  disabled.
1799cdc6c1SAnup Patel
1899cdc6c1SAnup Patelif VIRTUALIZATION
1999cdc6c1SAnup Patel
2099cdc6c1SAnup Patelconfig KVM
2199cdc6c1SAnup Patel	tristate "Kernel-based Virtual Machine (KVM) support (EXPERIMENTAL)"
2299cdc6c1SAnup Patel	depends on RISCV_SBI && MMU
23*c69daf8bSAndrew Jones	select HAVE_KVM_EVENTFD
24*c69daf8bSAndrew Jones	select HAVE_KVM_IRQCHIP
25*c69daf8bSAndrew Jones	select HAVE_KVM_IRQFD
26441f7bfaSSean Christopherson	select HAVE_KVM_IRQ_ROUTING
27*c69daf8bSAndrew Jones	select HAVE_KVM_MSI
28*c69daf8bSAndrew Jones	select HAVE_KVM_VCPU_ASYNC_IOCTL
299955371cSAnup Patel	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3099cdc6c1SAnup Patel	select KVM_GENERIC_HARDWARE_ENABLING
3199cdc6c1SAnup Patel	select KVM_MMIO
3299cdc6c1SAnup Patel	select KVM_XFER_TO_GUEST_WORK
3399cdc6c1SAnup Patel	select MMU_NOTIFIER
3499cdc6c1SAnup Patel	select PREEMPT_NOTIFIERS
3599cdc6c1SAnup Patel	help
3699cdc6c1SAnup Patel	  Support hosting virtualized guest machines.
37
38	  If unsure, say N.
39
40endif # VIRTUALIZATION
41