summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/Kconfig
blob: e7b525d04c6d2ebe4b153b06ddff4aa4d49fb798 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# SPDX-License-Identifier: GPL-2.0
#
# KVM configuration
#
source "virt/kvm/Kconfig"

menuconfig VIRTUALIZATION
	def_bool y
	prompt "KVM"
	help
	  Say Y here to get to see options for using your Linux host to run other
	  operating systems inside virtual machines (guests).
	  This option alone does not add any kernel code.

	  If you say N, all options in this submenu will be skipped and disabled.

if VIRTUALIZATION

config KVM
	def_tristate y
	prompt "Kernel-based Virtual Machine (KVM) support"
	select HAVE_KVM_CPU_RELAX_INTERCEPT
	select KVM_ASYNC_PF
	select KVM_ASYNC_PF_SYNC
	select KVM_COMMON
	select HAVE_KVM_IRQCHIP
	select HAVE_KVM_IRQ_ROUTING
	select KVM_VFIO
	select VIRT_XFER_TO_GUEST_WORK
	select KVM_MMU_LOCKLESS_AGING
	select KVM_GENERIC_PRE_FAULT_MEMORY
	help
	  Enable support for hosting virtualized, hardware-accelerated
	  virtual machines via two modules: kvm and kvm_arm64.

	  The kvm module provides access to host hardware-accelerated s390
	  guests using the Start Interpretive Execution (SIE) instruction via a
	  character device node named /dev/kvm. This requires a 64-bit machine
	  (hardware model).

	  The kvm_arm64 module provides access to host hardware-accelerated
	  arm64 guests using the Start ARM Execution (SAE) instruction via a
	  character device node named /dev/kvm_arm64. This requires hardware
	  models that support the Arm execution facility (AEF).

	  To compile this driver as a module, choose M here. The module will be
	  called kvm for the SIE acceleration and kvm_arm64 for the SAE
	  acceleration.

	  If unsure, say N.

config KVM_S390_UCONTROL
	bool "Userspace controlled virtual machines"
	depends on KVM
	help
	  Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
	  controlled by userspace.

	  If unsure, say N.

endif # VIRTUALIZATION