xref: /linux/arch/arm64/kvm/Kconfig (revision 04fe472615d0216ec0bdd66d9f3f1812b642ada6)
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
2544eaacf1SSuzuki K. Poulose	depends on !ARM64_16K_PAGES
26c3eb5b14SMarc Zyngier	select MMU_NOTIFIER
27c3eb5b14SMarc Zyngier	select PREEMPT_NOTIFIERS
28c3eb5b14SMarc Zyngier	select ANON_INODES
29d241aac7SMarc Zyngier	select HAVE_KVM_CPU_RELAX_INTERCEPT
307276030aSMario Smarduch	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
31c3eb5b14SMarc Zyngier	select KVM_MMIO
32c3eb5b14SMarc Zyngier	select KVM_ARM_HOST
337276030aSMario Smarduch	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3483fe27eaSPranith Kumar	select SRCU
358889583cSKim Phillips	select KVM_VFIO
36174178feSEric Auger	select HAVE_KVM_EVENTFD
37174178feSEric Auger	select HAVE_KVM_IRQFD
384f64cb65SJean-Philippe Brucker	select KVM_ARM_VGIC_V3
39*04fe4726SShannon Zhao	select KVM_ARM_PMU if HW_PERF_EVENTS
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
52*04fe4726SShannon Zhaoconfig KVM_ARM_PMU
53*04fe4726SShannon Zhao	bool
54*04fe4726SShannon Zhao	---help---
55*04fe4726SShannon Zhao	  Adds support for a virtual Performance Monitoring Unit (PMU) in
56*04fe4726SShannon Zhao	  virtual machines.
57*04fe4726SShannon Zhao
5875755c6dSWei Huangsource drivers/vhost/Kconfig
5975755c6dSWei Huang
60c3eb5b14SMarc Zyngierendif # VIRTUALIZATION
61