1*b2441318SGreg 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" 1077b455f1SChristian Borntraeger ---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 2477b455f1SChristian Borntraeger select ANON_INODES 25f2a74347SRaghavendra K T select HAVE_KVM_CPU_RELAX_INTERCEPT 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 3383fe27eaSPranith Kumar select SRCU 3414b0b4acSDong Jia Shi select KVM_VFIO 3577b455f1SChristian Borntraeger ---help--- 3677b455f1SChristian Borntraeger Support hosting paravirtualized guest machines using the SIE 3777b455f1SChristian Borntraeger virtualization capability on the mainframe. This should work 3877b455f1SChristian Borntraeger on any 64bit machine. 3977b455f1SChristian Borntraeger 4077b455f1SChristian Borntraeger This module provides access to the hardware capabilities through 4177b455f1SChristian Borntraeger a character device node named /dev/kvm. 4277b455f1SChristian Borntraeger 4377b455f1SChristian Borntraeger To compile this as a module, choose M here: the module 4477b455f1SChristian Borntraeger will be called kvm. 4577b455f1SChristian Borntraeger 4677b455f1SChristian Borntraeger If unsure, say N. 4777b455f1SChristian Borntraeger 48e08b9637SCarsten Otteconfig KVM_S390_UCONTROL 49e08b9637SCarsten Otte bool "Userspace controlled virtual machines" 50e08b9637SCarsten Otte depends on KVM 51e08b9637SCarsten Otte ---help--- 52e08b9637SCarsten Otte Allow CAP_SYS_ADMIN users to create KVM virtual machines that are 53e08b9637SCarsten Otte controlled by userspace. 54e08b9637SCarsten Otte 55e08b9637SCarsten Otte If unsure, say N. 56e08b9637SCarsten Otte 5777b455f1SChristian Borntraeger# OK, it's a little counter-intuitive to do this, but it puts it neatly under 5877b455f1SChristian Borntraeger# the virtualization menu. 593a4d5c94SMichael S. Tsirkinsource drivers/vhost/Kconfig 6077b455f1SChristian Borntraeger 6177b455f1SChristian Borntraegerendif # VIRTUALIZATION 62