blob: 60624cc9f4d4067a2c891e862a83b7c1a83f2de0 [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 Grafc4f9c772009-10-30 05:47:24 +000025config KVM_BOOK3S_64_HANDLER
26 bool
27
28config KVM_BOOK3S_64
29 tristate "KVM support for PowerPC book3s_64 processors"
30 depends on EXPERIMENTAL && PPC64
31 select KVM
32 select KVM_BOOK3S_64_HANDLER
33 ---help---
34 Support running unmodified book3s_64 and book3s_32 guest kernels
35 in virtual machines on book3s_64 host processors.
36
37 This module provides access to the hardware capabilities through
38 a character device node named /dev/kvm.
39
40 If unsure, say N.
41
Hollis Blanchard74ef7402008-11-07 13:15:13 -060042config KVM_440
43 bool "KVM support for PowerPC 440 processors"
44 depends on EXPERIMENTAL && 44x
45 select KVM
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050046 ---help---
Hollis Blanchard74ef7402008-11-07 13:15:13 -060047 Support running unmodified 440 guest kernels in virtual machines on
48 440 host processors.
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050049
50 This module provides access to the hardware capabilities through
51 a character device node named /dev/kvm.
52
53 If unsure, say N.
54
Hollis Blanchard73e75b42008-12-02 15:51:57 -060055config KVM_EXIT_TIMING
56 bool "Detailed exit timing"
Alexander Grafe1f829b2009-12-20 22:24:06 +010057 depends on KVM_440 || KVM_E500
Hollis Blanchard73e75b42008-12-02 15:51:57 -060058 ---help---
59 Calculate elapsed time for every exit/enter cycle. A per-vcpu
60 report is available in debugfs kvm/vm#_vcpu#_timing.
61 The overhead is relatively small, however it is not recommended for
62 production environments.
63
64 If unsure, say N.
65
Hollis Blanchardbc8080c2009-01-03 16:23:10 -060066config KVM_E500
67 bool "KVM support for PowerPC E500 processors"
68 depends on EXPERIMENTAL && E500
69 select KVM
70 ---help---
71 Support running unmodified E500 guest kernels in virtual machines on
72 E500 host processors.
73
74 This module provides access to the hardware capabilities through
75 a character device node named /dev/kvm.
76
77 If unsure, say N.
78
Michael S. Tsirkin3a4d5c92010-01-14 06:17:27 +000079source drivers/vhost/Kconfig
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050080source drivers/virtio/Kconfig
81
82endif # VIRTUALIZATION