blob: 70b46eacf8e163fbd6973428ed9ed5a4b07aefb0 [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
23 select ANON_INODES
Raghavendra K Tf2a74342012-07-18 19:07:32 +053024 select HAVE_KVM_CPU_RELAX_INTERCEPT
Cornelia Huck10ccaa12013-02-28 12:33:21 +010025 select HAVE_KVM_EVENTFD
Christian Borntraeger77b455f2008-03-25 18:47:36 +010026 ---help---
27 Support hosting paravirtualized guest machines using the SIE
28 virtualization capability on the mainframe. This should work
29 on any 64bit machine.
30
31 This module provides access to the hardware capabilities through
32 a character device node named /dev/kvm.
33
34 To compile this as a module, choose M here: the module
35 will be called kvm.
36
37 If unsure, say N.
38
Carsten Ottee08b9632012-01-04 10:25:20 +010039config KVM_S390_UCONTROL
40 bool "Userspace controlled virtual machines"
41 depends on KVM
42 ---help---
43 Allow CAP_SYS_ADMIN users to create KVM virtual machines that are
44 controlled by userspace.
45
46 If unsure, say N.
47
Christian Borntraeger77b455f2008-03-25 18:47:36 +010048# OK, it's a little counter-intuitive to do this, but it puts it neatly under
49# the virtualization menu.
Michael S. Tsirkin3a4d5c92010-01-14 06:17:27 +000050source drivers/vhost/Kconfig
Christian Borntraeger77b455f2008-03-25 18:47:36 +010051
52endif # VIRTUALIZATION