blob: f9b9d1582c27802f4207dd5a2760c3ad02a4c94e [file] [log] [blame]
Christian Borntraeger77b455f2008-03-25 18:47:36 +01001#
2# KVM configuration
3#
Avi Kivity0ba12d12009-05-21 16:45:19 +03004source "virt/kvm/Kconfig"
Avi Kivity5d9b8e32009-01-04 18:04:18 +02005
Christian Borntraeger77b455f2008-03-25 18:47:36 +01006menuconfig VIRTUALIZATION
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +01007 def_bool y
Jan Glauber843c48f2012-08-27 10:55:18 +02008 prompt "KVM"
Christian Borntraeger77b455f2008-03-25 18:47:36 +01009 ---help---
10 Say Y here to get to see options for using your Linux host to run other
11 operating systems inside virtual machines (guests).
12 This option alone does not add any kernel code.
13
14 If you say N, all options in this submenu will be skipped and disabled.
15
16if VIRTUALIZATION
17
18config KVM
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +010019 def_tristate y
20 prompt "Kernel-based Virtual Machine (KVM) support"
Kees Cookb186ba62012-10-02 11:16:43 -070021 depends on HAVE_KVM
Christian Borntraeger77b455f2008-03-25 18:47:36 +010022 select PREEMPT_NOTIFIERS
Raghavendra K Tf2a74342012-07-18 19:07:32 +053023 select HAVE_KVM_CPU_RELAX_INTERCEPT
Cornelia Huck10ccaa12013-02-28 12:33:21 +010024 select HAVE_KVM_EVENTFD
Dominik Dingel3c038e62013-10-07 17:11:48 +020025 select KVM_ASYNC_PF
26 select KVM_ASYNC_PF_SYNC
Cornelia Huck84223592013-07-15 13:36:01 +020027 select HAVE_KVM_IRQCHIP
Paul Mackerras297e2102014-06-30 20:51:13 +100028 select HAVE_KVM_IRQFD
Cornelia Huck84223592013-07-15 13:36:01 +020029 select HAVE_KVM_IRQ_ROUTING
Christian Borntraeger3491caf2016-05-13 12:16:35 +020030 select HAVE_KVM_INVALID_WAKEUPS
Pranith Kumar83fe27e2014-12-05 11:24:45 -050031 select SRCU
Dong Jia Shi14b0b4a2016-01-20 06:33:42 +010032 select KVM_VFIO
Christian Borntraeger77b455f2008-03-25 18:47:36 +010033 ---help---
34 Support hosting paravirtualized guest machines using the SIE
35 virtualization capability on the mainframe. This should work
36 on any 64bit machine.
37
38 This module provides access to the hardware capabilities through
39 a character device node named /dev/kvm.
40
41 To compile this as a module, choose M here: the module
42 will be called kvm.
43
44 If unsure, say N.
45
Carsten Ottee08b9632012-01-04 10:25:20 +010046config KVM_S390_UCONTROL
47 bool "Userspace controlled virtual machines"
48 depends on KVM
49 ---help---
50 Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
51 controlled by userspace.
52
53 If unsure, say N.
54
Christian Borntraeger77b455f2008-03-25 18:47:36 +010055# OK, it's a little counter-intuitive to do this, but it puts it neatly under
56# the virtualization menu.
Michael S. Tsirkin3a4d5c94e2010-01-14 06:17:27 +000057source drivers/vhost/Kconfig
Christian Borntraeger77b455f2008-03-25 18:47:36 +010058
59endif # VIRTUALIZATION