xref: /linux/arch/arm64/kvm/Kconfig (revision 0e4e82f154e387969ea7ecd2c8876689fb68f710)
1c3eb5b14SMarc Zyngier#
2c3eb5b14SMarc Zyngier# KVM configuration
3c3eb5b14SMarc Zyngier#
4c3eb5b14SMarc Zyngier
5c3eb5b14SMarc Zyngiersource "virt/kvm/Kconfig"
6c3eb5b14SMarc Zyngier
7c3eb5b14SMarc Zyngiermenuconfig VIRTUALIZATION
8c3eb5b14SMarc Zyngier	bool "Virtualization"
9c3eb5b14SMarc Zyngier	---help---
10c3eb5b14SMarc Zyngier	  Say Y here to get to see options for using your Linux host to run
11c3eb5b14SMarc Zyngier	  other operating systems inside virtual machines (guests).
12c3eb5b14SMarc Zyngier	  This option alone does not add any kernel code.
13c3eb5b14SMarc Zyngier
14c3eb5b14SMarc Zyngier	  If you say N, all options in this submenu will be skipped and
15c3eb5b14SMarc Zyngier	  disabled.
16c3eb5b14SMarc Zyngier
17c3eb5b14SMarc Zyngierif VIRTUALIZATION
18c3eb5b14SMarc Zyngier
194f64cb65SJean-Philippe Bruckerconfig KVM_ARM_VGIC_V3
204f64cb65SJean-Philippe Brucker	bool
214f64cb65SJean-Philippe Brucker
22c3eb5b14SMarc Zyngierconfig KVM
23c3eb5b14SMarc Zyngier	bool "Kernel-based Virtual Machine (KVM) support"
24662d9715SChristoffer Dall	depends on OF
25c3eb5b14SMarc Zyngier	select MMU_NOTIFIER
26c3eb5b14SMarc Zyngier	select PREEMPT_NOTIFIERS
27c3eb5b14SMarc Zyngier	select ANON_INODES
28d241aac7SMarc Zyngier	select HAVE_KVM_CPU_RELAX_INTERCEPT
297276030aSMario Smarduch	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
30c3eb5b14SMarc Zyngier	select KVM_MMIO
31c3eb5b14SMarc Zyngier	select KVM_ARM_HOST
327276030aSMario Smarduch	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3383fe27eaSPranith Kumar	select SRCU
348889583cSKim Phillips	select KVM_VFIO
35174178feSEric Auger	select HAVE_KVM_EVENTFD
36174178feSEric Auger	select HAVE_KVM_IRQFD
374f64cb65SJean-Philippe Brucker	select KVM_ARM_VGIC_V3
3804fe4726SShannon Zhao	select KVM_ARM_PMU if HW_PERF_EVENTS
39*0e4e82f1SAndre Przywara	select HAVE_KVM_MSI
40c3eb5b14SMarc Zyngier	---help---
41c3eb5b14SMarc Zyngier	  Support hosting virtualized guest machines.
4244eaacf1SSuzuki K. Poulose	  We don't support KVM with 16K page tables yet, due to the multiple
4344eaacf1SSuzuki K. Poulose	  levels of fake page tables.
44c3eb5b14SMarc Zyngier
45c3eb5b14SMarc Zyngier	  If unsure, say N.
46c3eb5b14SMarc Zyngier
47c3eb5b14SMarc Zyngierconfig KVM_ARM_HOST
48c3eb5b14SMarc Zyngier	bool
49c3eb5b14SMarc Zyngier	---help---
50c3eb5b14SMarc Zyngier	  Provides host support for ARM processors.
51c3eb5b14SMarc Zyngier
5204fe4726SShannon Zhaoconfig KVM_ARM_PMU
5304fe4726SShannon Zhao	bool
5404fe4726SShannon Zhao	---help---
5504fe4726SShannon Zhao	  Adds support for a virtual Performance Monitoring Unit (PMU) in
5604fe4726SShannon Zhao	  virtual machines.
5704fe4726SShannon Zhao
5875755c6dSWei Huangsource drivers/vhost/Kconfig
5975755c6dSWei Huang
60c3eb5b14SMarc Zyngierendif # VIRTUALIZATION
61