commit | 6d77dbfc88e37c9efd5c5dd18445cfe819ae17ea | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon May 10 11:16:56 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:35:40 2010 +0300 |
tree | 96a3afb750d254a99dd43fa4730fd6ff187eb2a0 | |
parent | 57bc24cfd655c912498983130326b312e0404db1 [diff] |
KVM: inject #UD if instruction emulation fails and exit to userspace Do not kill VM when instruction emulation fails. Inject #UD and report failure to userspace instead. Userspace may choose to reenter guest if vcpu is in userspace (cpl == 3) in which case guest OS will kill offending process and continue running. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>