xref: /openbmc/linux/arch/powerpc/kvm/Kconfig (revision b6dcefde)
1#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig 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
20	bool
21	select PREEMPT_NOTIFIERS
22	select ANON_INODES
23
24config KVM_BOOK3S_64_HANDLER
25	bool
26
27config KVM_BOOK3S_64
28	tristate "KVM support for PowerPC book3s_64 processors"
29	depends on EXPERIMENTAL && PPC64
30	select KVM
31	select KVM_BOOK3S_64_HANDLER
32	---help---
33	  Support running unmodified book3s_64 and book3s_32 guest kernels
34	  in virtual machines on book3s_64 host processors.
35
36	  This module provides access to the hardware capabilities through
37	  a character device node named /dev/kvm.
38
39	  If unsure, say N.
40
41config KVM_440
42	bool "KVM support for PowerPC 440 processors"
43	depends on EXPERIMENTAL && 44x
44	select KVM
45	---help---
46	  Support running unmodified 440 guest kernels in virtual machines on
47	  440 host processors.
48
49	  This module provides access to the hardware capabilities through
50	  a character device node named /dev/kvm.
51
52	  If unsure, say N.
53
54config KVM_EXIT_TIMING
55	bool "Detailed exit timing"
56	depends on KVM_440 || KVM_E500
57	---help---
58	  Calculate elapsed time for every exit/enter cycle. A per-vcpu
59	  report is available in debugfs kvm/vm#_vcpu#_timing.
60	  The overhead is relatively small, however it is not recommended for
61	  production environments.
62
63	  If unsure, say N.
64
65config KVM_E500
66	bool "KVM support for PowerPC E500 processors"
67	depends on EXPERIMENTAL && E500
68	select KVM
69	---help---
70	  Support running unmodified E500 guest kernels in virtual machines on
71	  E500 host processors.
72
73	  This module provides access to the hardware capabilities through
74	  a character device node named /dev/kvm.
75
76	  If unsure, say N.
77
78source drivers/virtio/Kconfig
79
80endif # VIRTUALIZATION
81