xref: /linux/arch/s390/kvm/Kconfig (revision 14b0b4ac37cbb3e57f564da30ece5626d1e3767a)
177b455f1SChristian Borntraeger#
277b455f1SChristian Borntraeger# KVM configuration
377b455f1SChristian Borntraeger#
40ba12d10SAvi Kivitysource "virt/kvm/Kconfig"
55d9b8e30SAvi Kivity
677b455f1SChristian Borntraegermenuconfig VIRTUALIZATION
76f9a3c33SMartin Schwidefsky	def_bool y
8843c48fdSJan Glauber	prompt "KVM"
977b455f1SChristian Borntraeger	---help---
1077b455f1SChristian Borntraeger	  Say Y here to get to see options for using your Linux host to run other
1177b455f1SChristian Borntraeger	  operating systems inside virtual machines (guests).
1277b455f1SChristian Borntraeger	  This option alone does not add any kernel code.
1377b455f1SChristian Borntraeger
1477b455f1SChristian Borntraeger	  If you say N, all options in this submenu will be skipped and disabled.
1577b455f1SChristian Borntraeger
1677b455f1SChristian Borntraegerif VIRTUALIZATION
1777b455f1SChristian Borntraeger
1877b455f1SChristian Borntraegerconfig KVM
196f9a3c33SMartin Schwidefsky	def_tristate y
206f9a3c33SMartin Schwidefsky	prompt "Kernel-based Virtual Machine (KVM) support"
21b186ba6eSKees Cook	depends on HAVE_KVM
2277b455f1SChristian Borntraeger	select PREEMPT_NOTIFIERS
2377b455f1SChristian Borntraeger	select ANON_INODES
24f2a74347SRaghavendra K T	select HAVE_KVM_CPU_RELAX_INTERCEPT
2510ccaa1eSCornelia Huck	select HAVE_KVM_EVENTFD
263c038e6bSDominik Dingel	select KVM_ASYNC_PF
273c038e6bSDominik Dingel	select KVM_ASYNC_PF_SYNC
2884223598SCornelia Huck	select HAVE_KVM_IRQCHIP
29297e2105SPaul Mackerras	select HAVE_KVM_IRQFD
3084223598SCornelia Huck	select HAVE_KVM_IRQ_ROUTING
3183fe27eaSPranith Kumar	select SRCU
32*14b0b4acSDong Jia Shi	select KVM_VFIO
3377b455f1SChristian Borntraeger	---help---
3477b455f1SChristian Borntraeger	  Support hosting paravirtualized guest machines using the SIE
3577b455f1SChristian Borntraeger	  virtualization capability on the mainframe. This should work
3677b455f1SChristian Borntraeger	  on any 64bit machine.
3777b455f1SChristian Borntraeger
3877b455f1SChristian Borntraeger	  This module provides access to the hardware capabilities through
3977b455f1SChristian Borntraeger	  a character device node named /dev/kvm.
4077b455f1SChristian Borntraeger
4177b455f1SChristian Borntraeger	  To compile this as a module, choose M here: the module
4277b455f1SChristian Borntraeger	  will be called kvm.
4377b455f1SChristian Borntraeger
4477b455f1SChristian Borntraeger	  If unsure, say N.
4577b455f1SChristian Borntraeger
46e08b9637SCarsten Otteconfig KVM_S390_UCONTROL
47e08b9637SCarsten Otte	bool "Userspace controlled virtual machines"
48e08b9637SCarsten Otte	depends on KVM
49e08b9637SCarsten Otte	---help---
50e08b9637SCarsten Otte	  Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
51e08b9637SCarsten Otte	  controlled by userspace.
52e08b9637SCarsten Otte
53e08b9637SCarsten Otte	  If unsure, say N.
54e08b9637SCarsten Otte
5577b455f1SChristian Borntraeger# OK, it's a little counter-intuitive to do this, but it puts it neatly under
5677b455f1SChristian Borntraeger# the virtualization menu.
573a4d5c94SMichael S. Tsirkinsource drivers/vhost/Kconfig
5877b455f1SChristian Borntraeger
5977b455f1SChristian Borntraegerendif # VIRTUALIZATION
60