18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# KVM configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cisource "virt/kvm/Kconfig"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cimenuconfig VIRTUALIZATION
88c2ecf20Sopenharmony_ci	def_bool y
98c2ecf20Sopenharmony_ci	prompt "KVM"
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  Say Y here to get to see options for using your Linux host to run other
128c2ecf20Sopenharmony_ci	  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 disabled.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciif VIRTUALIZATION
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig KVM
208c2ecf20Sopenharmony_ci	def_tristate y
218c2ecf20Sopenharmony_ci	prompt "Kernel-based Virtual Machine (KVM) support"
228c2ecf20Sopenharmony_ci	depends on HAVE_KVM
238c2ecf20Sopenharmony_ci	select PREEMPT_NOTIFIERS
248c2ecf20Sopenharmony_ci	select HAVE_KVM_CPU_RELAX_INTERCEPT
258c2ecf20Sopenharmony_ci	select HAVE_KVM_VCPU_ASYNC_IOCTL
268c2ecf20Sopenharmony_ci	select HAVE_KVM_EVENTFD
278c2ecf20Sopenharmony_ci	select KVM_ASYNC_PF
288c2ecf20Sopenharmony_ci	select KVM_ASYNC_PF_SYNC
298c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQCHIP
308c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQFD
318c2ecf20Sopenharmony_ci	select HAVE_KVM_IRQ_ROUTING
328c2ecf20Sopenharmony_ci	select HAVE_KVM_INVALID_WAKEUPS
338c2ecf20Sopenharmony_ci	select HAVE_KVM_NO_POLL
348c2ecf20Sopenharmony_ci	select SRCU
358c2ecf20Sopenharmony_ci	select KVM_VFIO
368c2ecf20Sopenharmony_ci	help
378c2ecf20Sopenharmony_ci	  Support hosting paravirtualized guest machines using the SIE
388c2ecf20Sopenharmony_ci	  virtualization capability on the mainframe. This should work
398c2ecf20Sopenharmony_ci	  on any 64bit machine.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	  This module provides access to the hardware capabilities through
428c2ecf20Sopenharmony_ci	  a character device node named /dev/kvm.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci	  To compile this as a module, choose M here: the module
458c2ecf20Sopenharmony_ci	  will be called kvm.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci	  If unsure, say N.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig KVM_S390_UCONTROL
508c2ecf20Sopenharmony_ci	bool "Userspace controlled virtual machines"
518c2ecf20Sopenharmony_ci	depends on KVM
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
548c2ecf20Sopenharmony_ci	  controlled by userspace.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	  If unsure, say N.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciendif # VIRTUALIZATION
59