[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] [HVM] cross-vendor migration: Allow 32bit-apps run in 64bit guests



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@xxxxxxx>

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

Attachment: xen_emulate.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.