Received: from eggs.gnu.org ([2001:4830:134:3::10]:41038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yccli-0002jA-R4 for qemu-devel@nongnu.org; Mon, 30 Mar 2015 12:42:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yccle-0004A8-Lw for qemu-devel@nongnu.org; Mon, 30 Mar 2015 12:42:30 -0400 From: Markus Armbruster References: <1427651603-9210-1-git-send-email-afaerber@suse.de> <871tk6k1eh.fsf@blackfin.pond.sub.org> <551975F3.3080204@redhat.com> Date: Mon, 30 Mar 2015 18:42:20 +0200 In-Reply-To: <551975F3.3080204@redhat.com> (Paolo Bonzini's message of "Mon, 30 Mar 2015 18:12:35 +0200") Message-ID: <87wq1yfndf.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC for-2.3? 0/8] prep: Fix pc87312 for -device usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-block@nongnu.org, mark.cave-ayland@ilande.co.uk, qemu-devel@nongnu.org, hpoussin@reactos.org, qemu-ppc@nongnu.org, Andreas =?utf-8?Q?F=C3=A4rber?= Paolo Bonzini writes: > On 30/03/2015 16:25, Markus Armbruster wrote: >> Andreas F=C3=A4rber writes: >>=20 >>> Hello Markus et al., >>> >>> This series attempts to fix the -device pc87312 issues you reported. >>> >>> I can't add alias properties for devices that don't get created >>> before realize. >>> Therefore this involves moving code for various ISA devices, to enable = us >>> to initialize the objects early for alias properties and realizing them >>> as part of the composite device once the configuration is known, also f= ixing >>> error propagation while at it. Probably needs a further iteration. >>> >>> Yes, it's terribly invasive, that's why the code was as it is. >>> But the code movements are quite trivial, as long as no in-air >>> conflicts occur. >>=20 >> Pity we have to move the state structs to the header, but that what we >> have to do to make them embeddable. And I understand embedding is how >> we do sub-devices ("part of" instead of "plugged into"). >>=20 >> Your changes are quite regular. They don't look scary to me, but that >> could be just ignorance. They're non-trivial enough though to make wary >> of merging them for 2.3 this late. > > The question is really: what is gained from this series as of 2.3? Is > anything actually using "-device pc87312"? It was broken before IIUC, > so it can remain broken for one more version. Markus's patches would > just add one more "git revert" to this series, basically. My series adds four FIXME comments in two commits. Both commits add more of them elsewhere. If my series goes in first, then rebasing this series on top should drop the four FIXMEs again. If this series goes first, then I have to rebase minr to drop the four FIXMEs and replace an example in a commit message.