Skip to content

Commit f2a7434

Browse files
ktraghavendraavikivity
authored andcommitted
KVM: Add config to support ple or cpu relax optimzation
Suggested-by: Avi Kivity <[email protected]> Signed-off-by: Raghavendra K T <[email protected]> Reviewed-by: Marcelo Tosatti <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Tested-by: Christian Borntraeger <[email protected]> # on s390x Signed-off-by: Avi Kivity <[email protected]>
1 parent 93b6547 commit f2a7434

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

arch/s390/kvm/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ config KVM
2121
depends on HAVE_KVM && EXPERIMENTAL
2222
select PREEMPT_NOTIFIERS
2323
select ANON_INODES
24+
select HAVE_KVM_CPU_RELAX_INTERCEPT
2425
---help---
2526
Support hosting paravirtualized guest machines using the SIE
2627
virtualization capability on the mainframe. This should work

arch/x86/kvm/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ config KVM
3737
select TASK_DELAY_ACCT
3838
select PERF_EVENTS
3939
select HAVE_KVM_MSI
40+
select HAVE_KVM_CPU_RELAX_INTERCEPT
4041
---help---
4142
Support hosting fully virtualized guest machines using hardware
4243
virtualization extensions. You will need a fairly recent

virt/kvm/Kconfig

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ config KVM_ASYNC_PF
2121

2222
config HAVE_KVM_MSI
2323
bool
24+
25+
config HAVE_KVM_CPU_RELAX_INTERCEPT
26+
bool

0 commit comments

Comments
 (0)