]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: allow storing emulator execution function in decode tables
authorAvi Kivity <avi@redhat.com>
Thu, 29 Jul 2010 12:11:51 +0000 (15:11 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:22 +0000 (10:50 +0200)
commit51107a5f72c48e3dcf34819be878f3211f4fb5c3
treef9e3ec543228d18234bb2304d0ebd17da39a5364
parent8d0bfc5f199565f44ebed1a5e2ae25212ac378c8
KVM: x86 emulator: allow storing emulator execution function in decode tables

Instead of looking up the opcode twice (once for decode flags, once for
the big execution switch) look up both flags and function in the decode tables.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c