Nakajima, Jun
2005-Jun-20 06:43 UTC
[Xen-devel] [PATCH] [x86_64] Supporting x86 binaries on x86_64 xenlinux
The attached patch now allows x86_64 xenlinux to run 32-bit x86 binaries as the native x86_64 Linux does. I checked LTP using 32-bit binaries, and got the same results on the native x86_64 Linux. At this point, ''int 0x80'' is used for system calls, as it''s unlikely that the fast systems (sysenter or syscall) are significantly faster under the current trampoline mechanism. However, it should be easy to replace vsyscall-int80 with the fast system calls if one wants to do so (look at USE_INT80 in the patch). I found bugs with LDT handling in x86_64 Xen/XenLinux (exposed by 32-bit LTP testcases fork05 and modify_ldt02), and the bugs have been fixed by a separate patch in the next email: [PATCH] [x86_64] Fixing LDT handling with x86_64 Xen Signed-off-by: Jun Nakajima <jun.nakajima@intel.com> Jun --- Intel Open Source Technology Center _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel