xref: /openbmc/linux/arch/s390/kvm/Kconfig (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
277b455f1SChristian Borntraeger#
377b455f1SChristian Borntraeger# KVM configuration
477b455f1SChristian Borntraeger#
50ba12d10SAvi Kivitysource "virt/kvm/Kconfig"
65d9b8e30SAvi Kivity
777b455f1SChristian Borntraegermenuconfig VIRTUALIZATION
86f9a3c33SMartin Schwidefsky	def_bool y
9843c48fdSJan Glauber	prompt "KVM"
10a7f7f624SMasahiro Yamada	help
1177b455f1SChristian Borntraeger	  Say Y here to get to see options for using your Linux host to run other
1277b455f1SChristian Borntraeger	  operating systems inside virtual machines (guests).
1377b455f1SChristian Borntraeger	  This option alone does not add any kernel code.
1477b455f1SChristian Borntraeger
1577b455f1SChristian Borntraeger	  If you say N, all options in this submenu will be skipped and disabled.
1677b455f1SChristian Borntraeger
1777b455f1SChristian Borntraegerif VIRTUALIZATION
1877b455f1SChristian Borntraeger
1977b455f1SChristian Borntraegerconfig KVM
206f9a3c33SMartin Schwidefsky	def_tristate y
216f9a3c33SMartin Schwidefsky	prompt "Kernel-based Virtual Machine (KVM) support"
22b186ba6eSKees Cook	depends on HAVE_KVM
2377b455f1SChristian Borntraeger	select PREEMPT_NOTIFIERS
24f2a74347SRaghavendra K T	select HAVE_KVM_CPU_RELAX_INTERCEPT
255cb0944cSPaolo Bonzini	select HAVE_KVM_VCPU_ASYNC_IOCTL
2610ccaa1eSCornelia Huck	select HAVE_KVM_EVENTFD
273c038e6bSDominik Dingel	select KVM_ASYNC_PF
283c038e6bSDominik Dingel	select KVM_ASYNC_PF_SYNC
2984223598SCornelia Huck	select HAVE_KVM_IRQCHIP
30297e2105SPaul Mackerras	select HAVE_KVM_IRQFD
3184223598SCornelia Huck	select HAVE_KVM_IRQ_ROUTING
323491caf2SChristian Borntraeger	select HAVE_KVM_INVALID_WAKEUPS
338b905d28SChristian Borntraeger	select HAVE_KVM_NO_POLL
3414b0b4acSDong Jia Shi	select KVM_VFIO
35ed922739SMaciej S. Szmigiero	select INTERVAL_TREE
36*ca2fd060SClaudio Imbrenda	select MMU_NOTIFIER
37a7f7f624SMasahiro Yamada	help
3877b455f1SChristian Borntraeger	  Support hosting paravirtualized guest machines using the SIE
3977b455f1SChristian Borntraeger	  virtualization capability on the mainframe. This should work
4077b455f1SChristian Borntraeger	  on any 64bit machine.
4177b455f1SChristian Borntraeger
4277b455f1SChristian Borntraeger	  This module provides access to the hardware capabilities through
4377b455f1SChristian Borntraeger	  a character device node named /dev/kvm.
4477b455f1SChristian Borntraeger
4577b455f1SChristian Borntraeger	  To compile this as a module, choose M here: the module
4677b455f1SChristian Borntraeger	  will be called kvm.
4777b455f1SChristian Borntraeger
4877b455f1SChristian Borntraeger	  If unsure, say N.
4977b455f1SChristian Borntraeger
50e08b9637SCarsten Otteconfig KVM_S390_UCONTROL
51e08b9637SCarsten Otte	bool "Userspace controlled virtual machines"
52e08b9637SCarsten Otte	depends on KVM
53a7f7f624SMasahiro Yamada	help
54e08b9637SCarsten Otte	  Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
55e08b9637SCarsten Otte	  controlled by userspace.
56e08b9637SCarsten Otte
57e08b9637SCarsten Otte	  If unsure, say N.
58e08b9637SCarsten Otte
5977b455f1SChristian Borntraegerendif # VIRTUALIZATION
60