]> git.openfabrics.org - ~emulex/infiniband.git/commit
KVM: x86 emulator: Use opcode::execute for some instructions
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sun, 29 May 2011 12:56:26 +0000 (21:56 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:15:59 +0000 (13:15 +0300)
commitdb5b0762f3cab58398f16379ab37ef66ef9ba497
treed4b7c00fcb088ad41f9fbddcacf250c2b5cb4a9f
parente01991e71a179ddab494c8e02100ad73bc0010c4
KVM: x86 emulator: Use opcode::execute for some instructions

Move the following functions to the opcode tables:

  RET (Far return) : CB
  IRET             : CF
  JMP (Jump far)   : EA

  SYSCALL          : 0F 05
  CLTS             : 0F 06
  SYSENTER         : 0F 34
  SYSEXIT          : 0F 35

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