commit | e66bb2ccdcf76d032bbb464b35c292bb3ee58f9b | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@amd.com> | Thu Jun 18 12:56:00 2009 +0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:33:00 2009 +0300 |
tree | ffbab094c421d8616b12855a3ac137919e64c8cf | |
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>