]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc87e198a1037845cb35142e268c30e485918e267
tree555a743150a387011272f75041aba3835e57341d
parent81f613bb617d432b1863dee75425bcffef900129
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