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

[Xen-devel] [PATCH 2/3 v2] XSAVE/XRSTOR: fix frozen states


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Date: Tue, 31 Aug 2010 22:52:49 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
  • Delivery-date: Tue, 31 Aug 2010 07:56:30 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: ActJHC378KxYOLFDRG+nzURdF0EQFA==
  • Thread-topic: [Xen-devel] [PATCH 2/3 v2] 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 if 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-frozen-state.patch
Description: fix-frozen-state.patch

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