]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix pv tlb flush dependencies
authorWanpeng Li <wanpengli@tencent.com>
Sun, 25 Mar 2018 04:18:35 +0000 (21:18 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 28 Mar 2018 13:53:34 +0000 (15:53 +0200)
commit3da3ac9e7177c83b99aa1743e138bc543a31cb53
tree45a51ab7dd342614895bcaf790ba223744d4d519
parentfcd8ddff868b015aa3553e42626386cd7622b16b
KVM: x86: Fix pv tlb flush dependencies

PV TLB FLUSH can only be turned on when steal time is enabled.
The condition got reversed during conflict resolution.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Fixes: 36873d169f33 ("KVM: X86: Avoid traversing all the cpus for pv tlb flush when steal time is disabled")
[Rebased on top of kvm/master and reworded the commit message. - Radim]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kernel/kvm.c