From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5CFP-0005pc-FB for qemu-devel@nongnu.org; Sun, 18 Sep 2011 03:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5CFO-00037L-9U for qemu-devel@nongnu.org; Sun, 18 Sep 2011 03:57:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5CFO-00037F-1K for qemu-devel@nongnu.org; Sun, 18 Sep 2011 03:57:06 -0400 Message-ID: <4E75A449.7060602@redhat.com> Date: Sun, 18 Sep 2011 10:56:57 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E70EC90.8000904@us.ibm.com> <4E719F7C.10700@redhat.com> <4E71FD19.6050606@codemonkey.ws> <4E725EC9.6060506@redhat.com> <4E726579.7070902@codemonkey.ws> In-Reply-To: <4E726579.7070902@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Plan for moving forward with QOM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Jan Kiszka , qemu-devel , Markus Armbruster , Gerd Hoffmann , Paolo Bonzini , "Edgar E. Iglesias" On 09/15/2011 11:52 PM, Anthony Liguori wrote: >> Also, NE2000 methods have to call ISA_NE2000 and PCI_NE2000 methods, >> yes? > > > I don't think so. The NE2k would export an IRQ and the ISA_NE2K and > PCI_NE2k would have to route that IRQ. But I think that's the extent > of the communication in that direction. > > Am I missing something? I guess for simple devices it's unlikely that anything further is needed. The most complicated device with a dual interface I can think of is vga, it needs to register memory regions dynamically. But even that can be done by registering a container on startup, and doing the dynamic stuff within the container. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.