xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 2412405b)
1c3eb5b14SMarc Zyngier#
2c3eb5b14SMarc Zyngier# KVM configuration
3c3eb5b14SMarc Zyngier#
4c3eb5b14SMarc Zyngier
5c3eb5b14SMarc Zyngiersource "virt/kvm/Kconfig"
62412405bSEric Augersource "virt/lib/Kconfig"
7c3eb5b14SMarc Zyngier
8c3eb5b14SMarc Zyngiermenuconfig VIRTUALIZATION
9c3eb5b14SMarc Zyngier	bool "Virtualization"
10c3eb5b14SMarc Zyngier	---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
20c3eb5b14SMarc Zyngierconfig 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
25c3eb5b14SMarc Zyngier	select ANON_INODES
26d241aac7SMarc Zyngier	select HAVE_KVM_CPU_RELAX_INTERCEPT
277276030aSMario Smarduch	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
28c3eb5b14SMarc Zyngier	select KVM_MMIO
29c3eb5b14SMarc Zyngier	select KVM_ARM_HOST
307276030aSMario Smarduch	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3183fe27eaSPranith Kumar	select SRCU
328889583cSKim Phillips	select KVM_VFIO
33174178feSEric Auger	select HAVE_KVM_EVENTFD
34174178feSEric Auger	select HAVE_KVM_IRQFD
3504fe4726SShannon Zhao	select KVM_ARM_PMU if HW_PERF_EVENTS
360e4e82f1SAndre Przywara	select HAVE_KVM_MSI
37180ae7b1SEric Auger	select HAVE_KVM_IRQCHIP
38180ae7b1SEric Auger	select HAVE_KVM_IRQ_ROUTING
392412405bSEric Auger	select IRQ_BYPASS_MANAGER
402412405bSEric Auger	select HAVE_KVM_IRQ_BYPASS
41c3eb5b14SMarc Zyngier	---help---
42c3eb5b14SMarc Zyngier	  Support hosting virtualized guest machines.
4344eaacf1SSuzuki K. Poulose	  We don't support KVM with 16K page tables yet, due to the multiple
4444eaacf1SSuzuki K. Poulose	  levels of fake page tables.
45c3eb5b14SMarc Zyngier
46c3eb5b14SMarc Zyngier	  If unsure, say N.
47c3eb5b14SMarc Zyngier
48c3eb5b14SMarc Zyngierconfig KVM_ARM_HOST
49c3eb5b14SMarc Zyngier	bool
50c3eb5b14SMarc Zyngier	---help---
51c3eb5b14SMarc Zyngier	  Provides host support for ARM processors.
52c3eb5b14SMarc Zyngier
5304fe4726SShannon Zhaoconfig KVM_ARM_PMU
5404fe4726SShannon Zhao	bool
5504fe4726SShannon Zhao	---help---
5604fe4726SShannon Zhao	  Adds support for a virtual Performance Monitoring Unit (PMU) in
5704fe4726SShannon Zhao	  virtual machines.
5804fe4726SShannon Zhao
5975755c6dSWei Huangsource drivers/vhost/Kconfig
6075755c6dSWei Huang
61c3eb5b14SMarc Zyngierendif # VIRTUALIZATION
62