]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Make jmp far emulation into a separate function
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sun, 1 May 2011 17:30:48 +0000 (02:30 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:48:06 +0000 (08:48 -0400)
commit8d279c9261ae4b16c4e2aa7ad12dfa0c0f8ce69e
tree8c3a3aa062dd6de622532b5a7cf5321804bccc7f
parentecb28803d568c939a9be2860737fc22732c13a1a
KVM: x86 emulator: Make jmp far emulation into a separate function

We introduce em_jmp_far().

We also call this from em_grp45() to stop treating modrm_reg == 5 case
separately in the group 5 emulation.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c