remove pending exception on vcpu reset.
commitde3ea06d59a110eb401c543b992dd85779ed8362
authorGleb Natapov <gleb@redhat.com>
Wed, 6 Jan 2010 14:30:10 +0000 (6 16:30 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Jan 2010 16:03:30 +0000 (11 10:03 -0600)
tree85558d1183e3c4a3149961e9281342b7357a832e
parentfe46a160ce16a394395fa9d9a46680416f41e85a
remove pending exception on vcpu reset.

Without this qemu can even start on kvm modules with events support
since default value of exception_injected in zero and this is #DE
exception.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit e73223a5849d9e695b5f3b5a4a2a812e68e3735d)
target-i386/kvm.c