remove pending exception on vcpu reset.
commite73223a5849d9e695b5f3b5a4a2a812e68e3735d
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 15:56:30 +0000 (11 09:56 -0600)
tree31abebd686544aab11935e3b50c975f54e22bbdd
parent3f7638ec4093100a63b18cbacd45dcd847f7c06b
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>
target-i386/kvm.c