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 1/4] XSAVE/XRSTOR: Fix frozen states

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1/4] XSAVE/XRSTOR: Fix frozen states
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 31 Aug 2010 10:59:46 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "jeremy@xxxxxxxx" <jeremy@xxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 30 Aug 2010 20:06:12 -0700
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
Thread-index: ActIuJGPgmm/hsluQmCSBxFZkZfG2w==
Thread-topic: [Xen-devel] [PATCH 1/4] XSAVE/XRSTOR: Fix frozen states
If a guest sets a state and dirties the state, but later temporarily clears the 
state, and at this time this vcpu is scheduled out, then other vcpus may 
corrupt the state before the vcpu is scheduled in again, thus the state cannot 
be restored correctly. To solve this issue, this patch save/restore all states 
unconditionally on vcpu context switch.

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: fix-xsave.patch
Description: fix-xsave.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>