WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support
From: Haitao Shan <maillists.shan@xxxxxxxxx>
Date: Wed, 27 Oct 2010 15:03:30 +0800
Cc: "Han, Weidong" <weidong.han@xxxxxxxxx>
Delivery-date: Wed, 27 Oct 2010 00:05:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=kbAXBSjYFEw71N1aIV75azZph5QMfjUf76rsvgB2HjI=; b=QqyCiAhNu8liz5+s3Ho/OIzT64tr+km8Y1ROQ5KYXSuGKaTYPEoQjeAMPqkJcYIbDO 1NA9Ne0g6VA05N0cLQmsZgQn4evRUo1kJOZETNvvQat9tEMvt7QE/Dlf0bROH7nckqAt AQZWSahifGZ3CH4wz2F0Z6SK7/HW1YhgB6zy4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=tTJYRuJ6WXI8dZ+m2mC/WLIo6Qf4NW+/rCMdn4XOxAf4lZ0qAEQZqI3LJ3WbuT1Uxt QXWcG3JAeeYe6STpVlrxrytVelVv7MdXHg3PzN3Hvpk+6UJCHgArFfbk3LgFHVuQOxdS gO0Ky1KgNixbBNIV7eOc/vacil6ShQJANpXWg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

There should already be some effort refining Xsave support in Xen. I
tried to read the related the email thread and incorporated the
comments from former threads.

Could you please have a review? Thanks in advance!

Shan Haitao

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support, Haitao Shan <=