blob: 8ef37664fda19da6e222fc35b60122ef454c4f92 [file] [log] [blame]
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -05001#
2# KVM configuration
3#
4
Avi Kivity0ba12d12009-05-21 16:45:19 +03005source "virt/kvm/Kconfig"
Avi Kivity5d9b8e32009-01-04 18:04:18 +02006
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -05007menuconfig VIRTUALIZATION
8 bool "Virtualization"
9 ---help---
10 Say Y here to get to see options for using your Linux host to run
11 other 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
15 disabled.
16
17if VIRTUALIZATION
18
19config KVM
Hollis Blanchard74ef7402008-11-07 13:15:13 -060020 bool
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050021 select PREEMPT_NOTIFIERS
22 select ANON_INODES
Avi Kivity50eb2a32009-12-20 15:00:10 +020023 select KVM_MMIO
Hollis Blanchard74ef7402008-11-07 13:15:13 -060024
Alexander Grafc14dea02010-04-16 00:11:41 +020025config KVM_BOOK3S_HANDLER
26 bool
27
Alexander Grafc4f9c772009-10-30 05:47:24 +000028config KVM_BOOK3S_64_HANDLER
29 bool
Alexander Grafc14dea02010-04-16 00:11:41 +020030 select KVM_BOOK3S_HANDLER
Alexander Grafc4f9c772009-10-30 05:47:24 +000031
32config KVM_BOOK3S_64
33 tristate "KVM support for PowerPC book3s_64 processors"
34 depends on EXPERIMENTAL && PPC64
35 select KVM
36 select KVM_BOOK3S_64_HANDLER
37 ---help---
38 Support running unmodified book3s_64 and book3s_32 guest kernels
39 in virtual machines on book3s_64 host processors.
40
41 This module provides access to the hardware capabilities through
42 a character device node named /dev/kvm.
43
44 If unsure, say N.
45
Hollis Blanchard74ef7402008-11-07 13:15:13 -060046config KVM_440
47 bool "KVM support for PowerPC 440 processors"
48 depends on EXPERIMENTAL && 44x
49 select KVM
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050050 ---help---
Hollis Blanchard74ef7402008-11-07 13:15:13 -060051 Support running unmodified 440 guest kernels in virtual machines on
52 440 host processors.
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050053
54 This module provides access to the hardware capabilities through
55 a character device node named /dev/kvm.
56
57 If unsure, say N.
58
Hollis Blanchard73e75b42008-12-02 15:51:57 -060059config KVM_EXIT_TIMING
60 bool "Detailed exit timing"
Alexander Grafe1f829b2009-12-20 22:24:06 +010061 depends on KVM_440 || KVM_E500
Hollis Blanchard73e75b42008-12-02 15:51:57 -060062 ---help---
63 Calculate elapsed time for every exit/enter cycle. A per-vcpu
64 report is available in debugfs kvm/vm#_vcpu#_timing.
65 The overhead is relatively small, however it is not recommended for
66 production environments.
67
68 If unsure, say N.
69
Hollis Blanchardbc8080c2009-01-03 16:23:10 -060070config KVM_E500
71 bool "KVM support for PowerPC E500 processors"
72 depends on EXPERIMENTAL && E500
73 select KVM
74 ---help---
75 Support running unmodified E500 guest kernels in virtual machines on
76 E500 host processors.
77
78 This module provides access to the hardware capabilities through
79 a character device node named /dev/kvm.
80
81 If unsure, say N.
82
Michael S. Tsirkin3a4d5c92010-01-14 06:17:27 +000083source drivers/vhost/Kconfig
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050084source drivers/virtio/Kconfig
85
86endif # VIRTUALIZATION