From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 4/5] KVM: in-kernel-apic modification to QEMU Date: Wed, 16 May 2007 14:51:17 +0300 Message-ID: <464AF035.9040405@qumranet.com> References: <20070515031622.9468.4000.stgit@novell1.haskins.net> <20070515031800.9468.76001.stgit@novell1.haskins.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Gregory Haskins Return-path: In-Reply-To: <20070515031800.9468.76001.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Gregory Haskins wrote: > @@ -1045,7 +1054,7 @@ static CPUWriteMemoryFunc *ioapic_mem_write[3] = { > ioapic_mem_writel, > }; > > -IOAPICState *ioapic_init(void) > +IOAPICState *ioapic_init(CPUState *env) > { > IOAPICState *s; > int io_memory; > @@ -1054,6 +1063,7 @@ IOAPICState *ioapic_init(void) > if (!s) > return NULL; > ioapic_reset(s); > + s->cpu_env = env; > Is there actually a 1:1 correspondence between ioapics and vcpus? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/