From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: fix XSAVE bit scanning (now properly) Date: Mon, 13 Jun 2011 11:56:38 +0300 Message-ID: <4DF5D0C6.8080805@redhat.com> References: <1307698530-2453-1-git-send-email-andre.przywara@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Frank Arnold To: Andre Przywara Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31513 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754884Ab1FMI4m (ORCPT ); Mon, 13 Jun 2011 04:56:42 -0400 In-Reply-To: <1307698530-2453-1-git-send-email-andre.przywara@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/10/2011 12:35 PM, Andre Przywara wrote: > commit 123108f1c1aafd51d6a5c79cc04d7999dd88a930 tried to fix KVMs > XSAVE valid feature scanning, but it was wrong. It was not considering > the sparse nature of this bitfield, instead reading values from > uninitialized members of the entries array. > This patch now separates subleaf indicies from KVM's array indicies > and fills the entry before querying it's value. > This fixes AVX support in KVM guests. Applied, thanks. -- error compiling committee.c: too many arguments to function