KVM: x86: track manually whether an event has been injected
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 May 2020 13:05:27 +0000 (09:05 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 May 2020 17:11:12 +0000 (13:11 -0400)
commitc6b22f59d694d0caf61aefb262d9639b3d9661d5
tree11fb739c58d4d0835f03330062274c195f7e9fc2
parentb6162e82aef19fee9c32cb3fe9ac30d9116a8c73
KVM: x86: track manually whether an event has been injected

Instead of calling kvm_event_needs_reinjection, track its
future return value in a variable.  This will be useful in
the next patch.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c