]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: x86 emulator: Add sysenter emulation
authorAndre Przywara <andre.przywara@amd.com>
Thu, 18 Jun 2009 10:56:01 +0000 (12:56 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:01 +0000 (08:33 +0300)
commit8c60435261deaefeb53ce3222d04d7d5bea81296
tree4225e92f082d673ffa97f878b7e9209f89e21d5a
parente66bb2ccdcf76d032bbb464b35c292bb3ee58f9b
KVM: x86 emulator: Add sysenter emulation

Handle #UD intercept of the sysenter instruction in 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