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/
Home Products Support Community News


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

To: Haitao Shan <maillists.shan@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support - Version 2
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 29 Oct 2010 18:51:04 +0100
Delivery-date: Fri, 29 Oct 2010 10:52:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=JGxBbUF5mgMtBOI2OCtC3qBtkr5vHuqgUy9eqzRPUO8=; b=GRgRrteZXOWIRe+JgqlkMlPmVziE6F7tqPAy7AlNiiV1RtlFgswEv4IISF28EMoMVc j7W17je4SQWKypntRECVHqbV1bmdu0UxjXLcUr6myacDGZ/j+ktVexP9ZiH4xNPfixVi qH/QZWz59AUvEWRTvCDcGQVJ66SCW6QIzKAEM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=JHriqqSTVSB5aXCcYKUzRItzmT7i5VonTDVW1BAZpIjZVf6XPDLc7qWp8s0c0qB+w7 +vCOUIeJbBFADJMmw95kyShEA+yVHuKEnhedyyC1WEgdEKv6c0MkQ4VcokmrthA1hoOc g3PkzhQ99lxxMdKQ+vYPypU7wEAnp1Dx+/vIk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinUy-JDxqfSfHMky2EZodLLOGaLUTc+DY9D+z3r@xxxxxxxxxxxxxx>
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
Thread-index: Act3kdsYTrYylqO0OEiWWQuloVzwTQ==
Thread-topic: [Xen-devel] [Patch 0/4] Refining Xsave/Xrestore support - Version 2
User-agent: Microsoft-Entourage/
I applied patch 1/4 as xen-unstable:22334. The rest I think Jan had further
comments on. When you submit for the next round, please remember the
signed-off-by lines.


On 29/10/2010 02:24, "Haitao Shan" <maillists.shan@xxxxxxxxx> wrote:

> 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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>