From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=52259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUjx-00058J-9J for qemu-devel@nongnu.org; Thu, 26 Jan 2012 14:12:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqUjr-00012K-Kh for qemu-devel@nongnu.org; Thu, 26 Jan 2012 14:12:04 -0500 Received: from mail-qw0-f52.google.com ([209.85.216.52]:34170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUjr-00012C-HJ for qemu-devel@nongnu.org; Thu, 26 Jan 2012 14:12:03 -0500 Received: by qafi31 with SMTP id i31so491624qaf.4 for ; Thu, 26 Jan 2012 11:12:01 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1327604460-31142-1-git-send-email-aliguori@us.ibm.com> References: <1327604460-31142-1-git-send-email-aliguori@us.ibm.com> Date: Thu, 26 Jan 2012 19:12:00 +0000 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC 00/15] Refactor PC machine to take advantage of QOM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Paolo Bonzini , Jan Kiszka , qemu-devel@nongnu.org, Markus Armbruster , Avi Kivity On 26 January 2012 19:00, Anthony Liguori wrote: > We need to modeled MemoryRegions and qemu_irq in QOM too. +1 : this ought to let us get rid of SysBus... > =C2=A0MemoryRegions > shouldn't be that difficult. =C2=A0Our habit of passing qemu_irq's as arr= ays without > an explicit size will probably require some refactoring but in principle, > supporting irqs should be easy too. I think that there are probably a lot of cases where we're using an array of qemu_irqs now but should be using separately named signals of some sort instead (particularly where we're using them for things which aren't actual= ly IRQs...) -- PMM