Do not stop VM if emulation failed in userspace.
commit4513d9232badcc5039d69dae946054ba2682c258
authorGleb Natapov <gleb@redhat.com>
Mon, 10 May 2010 08:21:34 +0000 (10 11:21 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 May 2010 17:03:44 +0000 (11 14:03 -0300)
tree5eb6a23d01375e7123a0674bc48f48171c5c5fe2
parent0af691d779965663abdd7bc708c2ad7bce2f6da0
Do not stop VM if emulation failed in userspace.

Continue vcpu execution in case emulation failure happened while vcpu
was in userspace. In this case #UD will be injected into the guest
allowing guest OS to kill offending process and continue.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm-all.c
kvm.h
target-i386/kvm.c
target-ppc/kvm.c
target-s390x/kvm.c