]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit17a1079d9c63579d6e392a526405b8888e9ede37
tree45a51ab7dd342614895bcaf790ba223744d4d519
parent9d1887ef3252a45f4e692525d04e23ce8091c17c
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: 4f2f61fc5071 ("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