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] vmx: add the support of XSAVE/XRSTOR to VMX guest

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] vmx: add the support of XSAVE/XRSTOR to VMX guest
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 29 Sep 2009 17:06:20 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Tue, 29 Sep 2009 02:08:10 -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: AclO9qyRbSjwD/1rTCWQHUuOMKlcDAAsP9KQPE32zDA=
Thread-topic: [PATCH] vmx: add the support of XSAVE/XRSTOR to VMX guest
XSAVE/XRSTOR manages the existing and future processor extended states on x86
architecture.

The XSAVE/XRSTOR infrastructure is defined in Intel SDMs:
http://www.intel.com/products/processor/manuals/ 

The patch uses the classical CR0.TS based algorithm to manage the states on
context switch.
At present, we know 3 bits in the XFEATURE_ENABLED_MASK: FPU, SSE and YMM.
YMM is defined in Intel AVX Programming Reference:
http://software.intel.com/sites/avx/

One more patch to support hvm guest's save/restore by defining a  pair of new
HVM_REGISTER_SAVE_RESTORE save/load handlers will be posted later.

Thanks,
-- Dexuan

Attachment: xsave-for-xen.patch
Description: xsave-for-xen.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] vmx: add the support of XSAVE/XRSTOR to VMX guest, Cui, Dexuan <=