]> 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)
commit45d46eac37b3c0e6058fbcaface6c4b2b2974f0e
treed4b7c00fcb088ad41f9fbddcacf250c2b5cb4a9f
parent531f26deb3e110d93e5fbb71559084bb09947658
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