]> git.openfabrics.org - ~emulex/infiniband.git/commit
KVM: x86 emulator: Add sysexit emulation
authorAndre Przywara <andre.przywara@amd.com>
Thu, 18 Jun 2009 10:56:02 +0000 (12:56 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:01 +0000 (08:33 +0300)
commit4668f050787015805a7e8ea29cc4f81d8f07cedb
tree6f55f9621ce9c786bef310b2fa3cb5aaca0a1222
parent8c60435261deaefeb53ce3222d04d7d5bea81296
KVM: x86 emulator: Add sysexit emulation

Handle #UD intercept of the sysexit instruction in 64bit mode returning to
32bit compat mode on an AMD host.
Setup the segment descriptors for CS and SS and the EIP/ESP registers
according to the manual.

Signed-off-by: Christoph Egger <christoph.egger@amd.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86_emulate.c