KVM: x86 emulator: Use opcode::execute for XCHG(86/87)
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Sun, 29 May 2011 12:59:09 +0000 (21:59 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:01 +0000 (13:16 +0300)
commite4f973ae913028bac8c07187e0fd49c1dc08ce58
tree039a3c0bb5776f9d1f7dc5c1766850fd30239ed8
parent9f21ca599cd609502de8a56c1d4c4688d40abb2d
KVM: x86 emulator: Use opcode::execute for XCHG(86/87)

In addition, replace one "goto xchg" with an em_xchg() call.

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