From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v6] KVM: x86: Enable XSAVE/XRSTOR for guest Date: Thu, 27 May 2010 12:52:36 +0300 Message-ID: <4BFE40E4.1070701@redhat.com> References: <1274953674-4961-1-git-send-email-sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, Dexuan Cui To: Sheng Yang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:3897 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932527Ab0E0Jwj (ORCPT ); Thu, 27 May 2010 05:52:39 -0400 In-Reply-To: <1274953674-4961-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/27/2010 12:47 PM, Sheng Yang wrote: > From: Dexuan Cui > > This patch enable guest to use XSAVE/XRSTOR instructions. > > We assume that host_xcr0 would use all possible bits that OS supported. > > And we loaded xcr0 in the same way we handled fpu - do it as late as we can. > > Looks good. What's the outlook on a unit test? -- error compiling committee.c: too many arguments to function