]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: simplify two-byte opcode check
authorWei Yongjun <yjwei@cn.fujitsu.com>
Thu, 5 Aug 2010 08:34:39 +0000 (16:34 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:59 +0000 (10:50 +0200)
commit176f7d9e3e986ec8f17425683d5f85c1ec0f309e
tree203846ec7528cef3086a417a84ea646344db0b86
parentf0ed861095f1762ab65dc7e83bdb316133f8da7a
KVM: x86 emulator: simplify two-byte opcode check

Two-byte opcode always start with 0x0F and the decode flags
of opcode 0xF0 is always 0, so remove dup check.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c