^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # KVM configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) source "virt/kvm/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) menuconfig VIRTUALIZATION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) prompt "KVM"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Say Y here to get to see options for using your Linux host to run other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) operating systems inside virtual machines (guests).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) This option alone does not add any kernel code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) If you say N, all options in this submenu will be skipped and disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) if VIRTUALIZATION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config KVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) def_tristate y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) prompt "Kernel-based Virtual Machine (KVM) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on HAVE_KVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select PREEMPT_NOTIFIERS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select HAVE_KVM_CPU_RELAX_INTERCEPT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select HAVE_KVM_VCPU_ASYNC_IOCTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) select HAVE_KVM_EVENTFD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select KVM_ASYNC_PF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) select KVM_ASYNC_PF_SYNC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select HAVE_KVM_IRQCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) select HAVE_KVM_IRQFD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) select HAVE_KVM_IRQ_ROUTING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) select HAVE_KVM_INVALID_WAKEUPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) select HAVE_KVM_NO_POLL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) select SRCU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) select KVM_VFIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Support hosting paravirtualized guest machines using the SIE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) virtualization capability on the mainframe. This should work
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) on any 64bit machine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) This module provides access to the hardware capabilities through
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) a character device node named /dev/kvm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) To compile this as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) will be called kvm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) config KVM_S390_UCONTROL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) bool "Userspace controlled virtual machines"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) depends on KVM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) controlled by userspace.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) endif # VIRTUALIZATION