Christoph Egger
2009-May-25 13:59 UTC
[Xen-devel] [PATCH] [HVM] cross-vendor migration: Allow 32bit-apps run in 64bit guests (resend)
Hi! Attached patch makes cross-vendor migration demoable with 32bit applications in 64bit guests which use sysenter/sysexit/syscall instructions. Changes the patch includes: - SVM: intercept SYSENTER MSRs and emulate them - SVM: use permament 64bit storage for SYSENTER MSR emulation. SYSENTER fields in VMCB are not "permament" since upper 32bits are undefined and get cleared when a VMRUN/VMEXIT is between a write and read access. - SVM: improve debugging aid: dump CPU registers - x86_emulate: emulate sysenter/sysexit/syscall instructions - SVM/VMX: Intercept #UD and invoke instruction emulation - x86_emulate: cache current vcpu through the whole emulation path Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel