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)
commit018a98db74d4cc8967cfc570197b14bcbdddb579
treeeea371dd8c2c3060120501572da651c7bfc63f93
parent111de5d60c589bca02b49dce076ca588618e0d1c
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