18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# KVM configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cisource "virt/lib/Kconfig"
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_cimenuconfig VIRTUALIZATION
98c2ecf20Sopenharmony_ci	bool "Virtualization"
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  Say Y here to get to see options for using your Linux host to run
128c2ecf20Sopenharmony_ci	  other operating systems inside virtual machines (guests).
138c2ecf20Sopenharmony_ci	  This option alone does not add any kernel code.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	  If you say N, all options in this submenu will be skipped and
168c2ecf20Sopenharmony_ci	  disabled.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciif VIRTUALIZATION
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cimenuconfig KVM
218c2ecf20Sopenharmony_ci	bool "Kernel-based Virtual Machine (KVM) support"
228c2ecf20Sopenharmony_ci	depends on OF
238c2ecf20Sopenharmony_ci	# for TASKSTATS/TASK_DELAY_ACCT:
248c2ecf20Sopenharmony_ci	depends on NET && MULTIUSER
258c2ecf20Sopenharmony_ci	select MMU_NOTIFIER
268c2ecf20Sopenharmony_ci	select PREEMPT_NOTIFIERS
278c2ecf20Sopenharmony_ci	select HAVE_KVM_CPU_RELAX_INTERCEPT
288c2ecf20Sopenharmony_ci	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
298c2ecf20Sopenharmony_ci	select KVM_MMIO
308c2ecf20Sopenharmony_ci	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
318c2ecf20Sopenharmony_ci	select SRCU
328c2ecf20Sopenharmony_ci	select KVM_VFIO
338c2ecf20Sopenharmony_ci	select HAVE_KVM_EVENTFD
348c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQFD
358c2ecf20Sopenharmony_ci	select HAVE_KVM_MSI
368c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQCHIP
378c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQ_ROUTING
388c2ecf20Sopenharmony_ci	select IRQ_BYPASS_MANAGER
398c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQ_BYPASS
408c2ecf20Sopenharmony_ci	select HAVE_KVM_VCPU_RUN_PID_CHANGE
418c2ecf20Sopenharmony_ci	select TASKSTATS
428c2ecf20Sopenharmony_ci	select TASK_DELAY_ACCT
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  Support hosting virtualized guest machines.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	  If unsure, say N.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciif KVM
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_cisource "virt/kvm/Kconfig"
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig KVM_ARM_PMU
538c2ecf20Sopenharmony_ci	bool "Virtual Performance Monitoring Unit (PMU) support"
548c2ecf20Sopenharmony_ci	depends on HW_PERF_EVENTS
558c2ecf20Sopenharmony_ci	default y
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	  Adds support for a virtual Performance Monitoring Unit (PMU) in
588c2ecf20Sopenharmony_ci	  virtual machines.
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ciendif # KVM
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciendif # VIRTUALIZATION
63