From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXMDg-0001eE-S8 for qemu-devel@nongnu.org; Wed, 11 Feb 2009 16:02:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXMDd-0001bj-W3 for qemu-devel@nongnu.org; Wed, 11 Feb 2009 16:02:07 -0500 Received: from [199.232.76.173] (port=52530 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXMDd-0001bZ-CK for qemu-devel@nongnu.org; Wed, 11 Feb 2009 16:02:05 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:56324) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXMDc-000436-Rq for qemu-devel@nongnu.org; Wed, 11 Feb 2009 16:02:05 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e2.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1BL02p2011064 for ; Wed, 11 Feb 2009 16:00:02 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n1BL22oF183584 for ; Wed, 11 Feb 2009 16:02:02 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1BL220b011326 for ; Wed, 11 Feb 2009 16:02:02 -0500 Message-ID: <49933CB1.9050709@us.ibm.com> Date: Wed, 11 Feb 2009 15:01:37 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1234362545-26412-1-git-send-email-amit.shah@redhat.com> In-Reply-To: <1234362545-26412-1-git-send-email-amit.shah@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] KVM: cpuid function 2: store all values Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: qemu-devel@nongnu.org Amit Shah wrote: > Incrementing the array index was missed in the previous series which causes > us to not store all the values. > > Signed-off-by: Amit Shah > --- > qemu/target-i386/kvm.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/qemu/target-i386/kvm.c b/qemu/target-i386/kvm.c > Applied. Thanks. I had to manually fix up the patch to apply with -p1. Please resubmit your other one against SVN though. Regards, Anthony Liguori > index 19b08d8..86745b1 100644 > --- a/qemu/target-i386/kvm.c > +++ b/qemu/target-i386/kvm.c > @@ -74,6 +74,7 @@ int kvm_arch_init_vcpu(CPUState *env) > c->ebx = ebx; > c->ecx = ecx; > c->edx = edx; > + c = &cpuid_data.entries[++cpuid_i]; > } > break; > } >