]> 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)
commitf89b89b79a44d33785a6bb8619623c62e8fa6d52
tree555a743150a387011272f75041aba3835e57341d
parent93fa728b6afaa264c27e6c02f9b1a17309c75dea
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