KVM: x86: avoid clearing pending exception event twice
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 18 Jan 2020 02:41:55 +0000 (10:41 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jan 2020 18:59:44 +0000 (19:59 +0100)
commit767b839afa5d62ba9cf859f4e90fef3d4a1780b5
tree555a743150a387011272f75041aba3835e57341d
parent66061740f1a487f4ed54fde75e724709f805da53
KVM: x86: avoid clearing pending exception event twice

The exception pending event is cleared by kvm_clear_exception_queue(). We
shouldn't clear it again.

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