commit | 91269b8f94eedce1767b2f208d656e5a5683326a | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Jul 25 14:51:16 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:49:47 2010 +0200 |
tree | c689dd55c0146c9eb3a14efdfc6344fb181ccc7f | |
parent | ef2533dae5a93527f2aac9449c0b1564c5ed2c2f [diff] |
KVM: x86 emulator: fix handling for unemulated instructions If an instruction is present in the decode tables but not in the execution switch, it will be emulated as a NOP. An example is IRET (0xcf). Fix by adding default: labels to the execution switches. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>