]> git.baikalelectronics.ru Git - kernel.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)
commit1c43040578bb7d0eb646c6d1ff84d88f9531778e
treed4b7c00fcb088ad41f9fbddcacf250c2b5cb4a9f
parent05ef547df32207ade415ae73661fe20b8a153638
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