From: Andre Przywara Date: Thu, 18 Jun 2009 10:56:00 +0000 (+0200) Subject: KVM: x86 emulator: add syscall emulation X-Git-Tag: v2.6.32-rc1~693^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66bb2ccdcf76d032bbb464b35c292bb3ee58f9b;p=pandora-kernel.git 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 Signed-off-by: Andre Przywara Signed-off-by: Avi Kivity --- Reading git-diff-tree failed