From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch] move MAX_CPUS to cpu.h Date: Fri, 19 Sep 2008 17:14:17 -0700 Message-ID: <48D44059.3060307@redhat.com> References: <48D2665C.5090306@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , kvm@vger.kernel.org, kvm-ia64@vger.kernel.org To: Jes Sorensen Return-path: Received: from mx2.redhat.com ([66.187.237.31]:32909 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbYITATi (ORCPT ); Fri, 19 Sep 2008 20:19:38 -0400 In-Reply-To: <48D2665C.5090306@sgi.com> Sender: kvm-owner@vger.kernel.org List-ID: Jes Sorensen wrote: > Hi, > > I noticed that qemu-kvm.c hardcodes the array of struct vcpu_info > to 256, instead of using the MAX_CPUS #define. This patch corrects > this by moving the definition of MAX_CPUS to cpu.h from vl.c and > then fixes qemu-kvm.c This should be send to qemu-devel (without the kvm change), and after the next merge we can fix qemu-kvm.c. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.