]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: unify four switch statements into two
authorAvi Kivity <avi@qumranet.com>
Tue, 27 Nov 2007 17:30:56 +0000 (19:30 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:16 +0000 (17:53 +0200)
commit9cd94aeffb8a4bf2fe1384b5bc02cc2efe57f883
treeeea371dd8c2c3060120501572da651c7bfc63f93
parent8b2d3cb6a4edd52103382bd535db7faeb3f701b1
KVM: x86 emulator: unify four switch statements into two

Unify the special instruction switch with the regular instruction switch,
and the two byte special instruction switch with the regular two byte
instruction switch.  That makes it much easier to find an instruction or
the place an instruction needs to be added in.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c