From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: x86: Enable AVX for guest Date: Tue, 22 Jun 2010 14:28:50 +0300 Message-ID: <4C209E72.5040405@redhat.com> References: <1277185761-4887-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 To: Sheng Yang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:8551 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752418Ab0FVL2w (ORCPT ); Tue, 22 Jun 2010 07:28:52 -0400 In-Reply-To: <1277185761-4887-1-git-send-email-sheng@linux.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/22/2010 08:49 AM, Sheng Yang wrote: > Enable Intel(R) Advanced Vector Extension(AVX) for guest. > > The detection of AVX feature includes OSXSAVE bit testing. When OSXSAVE bit is > not set, even if AVX is supported, the AVX instruction would result in UD as > well. So we're safe to expose AVX bits to guest directly. > Applied, thanks. -- error compiling committee.c: too many arguments to function