diff options
author | Andre Przywara <andre.przywara@amd.com> | 2009-06-18 12:56:00 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 08:33:00 +0300 |
commit | e66bb2ccdcf76d032bbb464b35c292bb3ee58f9b (patch) | |
tree | ffbab094c421d8616b12855a3ac137919e64c8cf /crypto/cipher.c | |
parent | e99f0507125f45b723a9069e9e854c3c4758e7ba (diff) |
KVM: x86 emulator: add syscall emulation
Handle #UD intercept of the syscall instruction in 32bit compat mode on
an Intel host.
Setup the segment descriptors for CS and SS and the EIP/ESP registers
according to the manual. Save the RIP and EFLAGS to the correct registers.
[avi: fix build on i386 due to missing R11]
Signed-off-by: Christoph Egger <christoph.egger@amd.com>
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions