]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: emulator: fix unimplemented instruction detection
authorGleb Natapov <gleb@redhat.com>
Thu, 11 Apr 2013 08:59:55 +0000 (11:59 +0300)
committerGleb Natapov <gleb@redhat.com>
Sun, 14 Apr 2013 06:44:16 +0000 (09:44 +0300)
commit8f1af7ffc8934cfd852bab65e6d7319fc7818488
tree033042a99893a21f21425bc7c6af8f2686cf200c
parentae743bfe9fec45bfab63c37d09744d2e0f9de574
KVM: emulator: fix unimplemented instruction detection

Unimplemented instruction detection is broken for group instructions
since it relies on "flags" field of opcode to be zero, but all
instructions in a group inherit flags from a group encoding. Fix that by
having a separate flag for unimplemented instructions.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/emulate.c