Kconfig (a7e73e711e48e138a25265c156cca9a1ed109b50) Kconfig (b6c295df3131c6fa25f8f29625ee0609506150ad)
1#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8 bool "Virtualization"

--- 61 unchanged lines hidden (view full) ---

70
71 This module provides access to the hardware capabilities through
72 a character device node named /dev/kvm.
73
74 If unsure, say N.
75
76config KVM_BOOK3S_64_HV
77 tristate "KVM support for POWER7 and PPC970 using hypervisor mode in host"
1#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8 bool "Virtualization"

--- 61 unchanged lines hidden (view full) ---

70
71 This module provides access to the hardware capabilities through
72 a character device node named /dev/kvm.
73
74 If unsure, say N.
75
76config KVM_BOOK3S_64_HV
77 tristate "KVM support for POWER7 and PPC970 using hypervisor mode in host"
78 depends on KVM_BOOK3S_64 && PPC_POWERNV
78 depends on KVM_BOOK3S_64
79 select KVM_BOOK3S_HV_POSSIBLE
80 select MMU_NOTIFIER
81 select CMA
82 ---help---
83 Support running unmodified book3s_64 guest kernels in
84 virtual machines on POWER7 and PPC970 processors that have
85 hypervisor mode available to the host.
86

--- 18 unchanged lines hidden (view full) ---

105 privileged instructions and registers.
106
107 This is not as fast as using hypervisor mode, but works on
108 machines where hypervisor mode is not available or not usable,
109 and can emulate processors that are different from the host
110 processor, including emulating 32-bit processors on a 64-bit
111 host.
112
79 select KVM_BOOK3S_HV_POSSIBLE
80 select MMU_NOTIFIER
81 select CMA
82 ---help---
83 Support running unmodified book3s_64 guest kernels in
84 virtual machines on POWER7 and PPC970 processors that have
85 hypervisor mode available to the host.
86

--- 18 unchanged lines hidden (view full) ---

105 privileged instructions and registers.
106
107 This is not as fast as using hypervisor mode, but works on
108 machines where hypervisor mode is not available or not usable,
109 and can emulate processors that are different from the host
110 processor, including emulating 32-bit processors on a 64-bit
111 host.
112
113config KVM_BOOK3S_HV_EXIT_TIMING
114 bool "Detailed timing for hypervisor real-mode code"
115 depends on KVM_BOOK3S_HV_POSSIBLE && DEBUG_FS
116 ---help---
117 Calculate time taken for each vcpu in the real-mode guest entry,
118 exit, and interrupt handling code, plus time spent in the guest
119 and in nap mode due to idle (cede) while other threads are still
120 in the guest. The total, minimum and maximum times in nanoseconds
121 together with the number of executions are reported in debugfs in
122 kvm/vm#/vcpu#/timings. The overhead is of the order of 30 - 40
123 ns per exit on POWER8.
124
125 If unsure, say N.
126
113config KVM_BOOKE_HV
114 bool
115
116config KVM_EXIT_TIMING
117 bool "Detailed exit timing"
118 depends on KVM_E500V2 || KVM_E500MC
119 ---help---
120 Calculate elapsed time for every exit/enter cycle. A per-vcpu

--- 64 unchanged lines hidden ---
127config KVM_BOOKE_HV
128 bool
129
130config KVM_EXIT_TIMING
131 bool "Detailed exit timing"
132 depends on KVM_E500V2 || KVM_E500MC
133 ---help---
134 Calculate elapsed time for every exit/enter cycle. A per-vcpu

--- 64 unchanged lines hidden ---