diff options
author | Andre Przywara <andre.przywara@amd.com> | 2009-06-18 06:56:02 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 01:33:01 -0400 |
commit | 4668f050787015805a7e8ea29cc4f81d8f07cedb (patch) | |
tree | 6f55f9621ce9c786bef310b2fa3cb5aaca0a1222 /virt/kvm/kvm_main.c | |
parent | 8c60435261deaefeb53ce3222d04d7d5bea81296 (diff) |
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>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions