KVM: lapic: do not set KVM_REQ_EVENT unnecessarily on PPR update
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 18 Dec 2016 12:54:58 +0000 (13:54 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:48:02 +0000 (14:48 +0100)
commit26fbbee5815e9352187ac18f0aa53534f62567ff
tree7359959ae8e805fdbdd5b2b3ae8c8b33c8bd438d
parentb3c045d33218fe291b04d30e24b6eab0431987e6
KVM: lapic: do not set KVM_REQ_EVENT unnecessarily on PPR update

On PPR update, we set KVM_REQ_EVENT unconditionally anytime PPR is lowered.
But we can take into account IRR here already.

Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c