xref: /linux/arch/riscv/kvm/Kconfig (revision 63eb28bb1402891b1ad2be02a530f29a9dd7f1cd)
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
21a29c19e1SAtish Patra	tristate "Kernel-based Virtual Machine (KVM) support"
2299cdc6c1SAnup Patel	depends on RISCV_SBI && MMU
2300f918f6SAnup Patel	select HAVE_KVM_IRQCHIP
2400f918f6SAnup Patel	select HAVE_KVM_IRQ_ROUTING
2500f918f6SAnup Patel	select HAVE_KVM_MSI
26c69daf8bSAndrew Jones	select HAVE_KVM_VCPU_ASYNC_IOCTL
278886640dSPaolo Bonzini	select HAVE_KVM_READONLY_MEM
28*f55ffaf8SQuan Zhou	select HAVE_KVM_DIRTY_RING_ACQ_REL
29caadf876SPaolo Bonzini	select KVM_COMMON
30c69daf8bSAndrew Jones	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
31441f7bfaSSean Christopherson	select KVM_GENERIC_HARDWARE_ENABLING
32c69daf8bSAndrew Jones	select KVM_MMIO
33c69daf8bSAndrew Jones	select KVM_XFER_TO_GUEST_WORK
34f128cf8cSSean Christopherson	select KVM_GENERIC_MMU_NOTIFIER
35e9f12b5fSAndrew Jones	select SCHED_INFO
36eded6754SQuan Zhou	select GUEST_PERF_EVENTS if PERF_EVENTS
3799cdc6c1SAnup Patel	help
3899cdc6c1SAnup Patel	  Support hosting virtualized guest machines.
3999cdc6c1SAnup Patel
4099cdc6c1SAnup Patel	  If unsure, say N.
4199cdc6c1SAnup Patel
4299cdc6c1SAnup Patelendif # VIRTUALIZATION
43