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

[Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support - Version 2


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Haitao Shan <maillists.shan@xxxxxxxxx>
  • Date: Fri, 29 Oct 2010 09:24:34 +0800
  • Cc:
  • Delivery-date: Thu, 28 Oct 2010 18:25:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BvQSvNSSB9kLQFi6pwNPHlXbu7pL0FdNGh51zIu685DNPX6JtV1Z9zUv1IG/PU/VUI I5zhRUJhOMn8N+WYUtRwCI3AcRVZj3cNXJnveJ9goAYMYU3AEXyabtL4cvLNhHFEMR75 FC0AAb+/t6nuPWRk/+5wLcA3oDW1yN8qe4Jlk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi, Keir,

The following patches refines Xen support for CPU Xsave/Xrestore
support. There are four patches included.
Patch 1/4:
   Cleaning up existing Xsave code in Xen.
       Replace xfeature_low and xfeature_high with a u64 variable
xfeature_mask.
       In structure hvm_vcpu, rename xfeature_mask to xcr0
       Provide EDX:EAX with all bits set to 1 for XSAVE and XRSTOR as
spec recommends
Patch 2/4:
   Adding Xsave/Xrestore support for PV guests. Feature is exposed
via CPUID. XSETBV is trapped and emulated by Xen (via GP#).
Patch 3/4:
   Expose AVX to guest OSs.
Patch 4/4:
   Adding guest save/restore support when Xsave/Xrestore are available.
       Adding a pair of hypercalls for PV guest
       Adding a new data chunk for HVM guest.

I tried to read the related the email thread and incorporated the
comments. These are version 2 of the patch series.

Shan Haitao

_______________________________________________
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®.