From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] Re: [PATCH v2 3/9] provide in-kernel ioapic Date: Thu, 08 Oct 2009 18:29:53 +0200 Message-ID: <4ACE1381.3020804@redhat.com> References: <1254953315-5761-1-git-send-email-glommer@redhat.com> <1254953315-5761-2-git-send-email-glommer@redhat.com> <1254953315-5761-3-git-send-email-glommer@redhat.com> <1254953315-5761-4-git-send-email-glommer@redhat.com> <4ACDEDEC.60706@us.ibm.com> <4ACDEF03.6010406@redhat.com> <20091008160726.GD29691@shareable.org> <4ACE10B5.3080509@redhat.com> <20091008162248.GK16702@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jamie Lokier , Anthony Liguori , Glauber Costa , qemu-devel@nongnu.org, kvm-devel To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33807 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758794AbZJHQah (ORCPT ); Thu, 8 Oct 2009 12:30:37 -0400 In-Reply-To: <20091008162248.GK16702@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/08/2009 06:22 PM, Gleb Natapov wrote: > On Thu, Oct 08, 2009 at 06:17:57PM +0200, Avi Kivity wrote: > >> On 10/08/2009 06:07 PM, Jamie Lokier wrote: >> >>> Haven't we already confirmed that it *isn't* just an ioapic accelerator >>> because you can't migrate between in-kernel iopic and qemu's ioapic? >>> >> We haven't confirmed it. Both implement the same spec, and if you >> can't migrate between them, one of them has a bug (for example, qemu >> ioapic doesn't implement polarity - but it's still just a bug). >> >> > Are you saying that HW spec (that only describes software visible behavior) > completely defines implementation? No other internal state is needed > that may be done differently by different implementations? > It may be done differently (for example, selecting the cpu to deliver the interrupt to), but as the guest cannot rely on the differences, there's no need to save the state that can cause these differences. -- error compiling committee.c: too many arguments to function