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" 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 26*5cb0944cSPaolo Bonzini select HAVE_KVM_VCPU_ASYNC_IOCTL 2710ccaa1eSCornelia Huck select HAVE_KVM_EVENTFD 283c038e6bSDominik Dingel select KVM_ASYNC_PF 293c038e6bSDominik Dingel select KVM_ASYNC_PF_SYNC 3084223598SCornelia Huck select HAVE_KVM_IRQCHIP 31297e2105SPaul Mackerras select HAVE_KVM_IRQFD 3284223598SCornelia Huck select HAVE_KVM_IRQ_ROUTING 333491caf2SChristian Borntraeger select HAVE_KVM_INVALID_WAKEUPS 3483fe27eaSPranith Kumar select SRCU 3514b0b4acSDong Jia Shi select KVM_VFIO 3677b455f1SChristian Borntraeger ---help--- 3777b455f1SChristian Borntraeger Support hosting paravirtualized guest machines using the SIE 3877b455f1SChristian Borntraeger virtualization capability on the mainframe. This should work 3977b455f1SChristian Borntraeger on any 64bit machine. 4077b455f1SChristian Borntraeger 4177b455f1SChristian Borntraeger This module provides access to the hardware capabilities through 4277b455f1SChristian Borntraeger a character device node named /dev/kvm. 4377b455f1SChristian Borntraeger 4477b455f1SChristian Borntraeger To compile this as a module, choose M here: the module 4577b455f1SChristian Borntraeger will be called kvm. 4677b455f1SChristian Borntraeger 4777b455f1SChristian Borntraeger If unsure, say N. 4877b455f1SChristian Borntraeger 49e08b9637SCarsten Otteconfig KVM_S390_UCONTROL 50e08b9637SCarsten Otte bool "Userspace controlled virtual machines" 51e08b9637SCarsten Otte depends on KVM 52e08b9637SCarsten Otte ---help--- 53e08b9637SCarsten Otte Allow CAP_SYS_ADMIN users to create KVM virtual machines that are 54e08b9637SCarsten Otte controlled by userspace. 55e08b9637SCarsten Otte 56e08b9637SCarsten Otte If unsure, say N. 57e08b9637SCarsten Otte 5877b455f1SChristian Borntraeger# OK, it's a little counter-intuitive to do this, but it puts it neatly under 5977b455f1SChristian Borntraeger# the virtualization menu. 603a4d5c94SMichael S. Tsirkinsource drivers/vhost/Kconfig 6177b455f1SChristian Borntraeger 6277b455f1SChristian Borntraegerendif # VIRTUALIZATION 63