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)
commitd2f62766d5778bbaf80d4feb90a23c7edc371a54
tree8c3a3aa062dd6de622532b5a7cf5321804bccc7f
parent51187683cb11b959535d32eb91b673c6a9a03e88
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