From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH] Add XSAVE/XRSTOR support to Xen Date: Wed, 26 Nov 2008 11:22:34 +0000 Message-ID: <492D3F8A.76E4.0078.0@novell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dexuan Cui Cc: "xen-devel@lists.xensource.com" , 'Keir Fraser' List-Id: xen-devel@lists.xenproject.org >>> "Cui, Dexuan" 26.11.08 10:43 >>> >The attached patch adds the support of XSAVE/XRSTOR infrastructure for = x86. >XSAVE/XRSTOR manages the existing and future processor extended states on = x86 architecture. > >XSAVE/XRSTOR related stuff is defined in Intel SDMs (The latest version = is Nov. 2008): >http://www.intel.com/products/processor/manuals/=20 > >The patch uses the classical CR0.TS based lazy algorithm. >For now only FPU/SSE states (The bit 0 and 1 of XCR0) is supported. > >Signed-off-by: Dexuan Cui I have to admit that I can't see how save/restore is being taken care of. After all, the extra state logically would require vcpu_guest_context to be extended, but as that's not possible, an alternative solution must be provided. Jan