From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsTup-0007Sl-50 for qemu-devel@nongnu.org; Mon, 16 Dec 2013 03:52:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsTuk-0007Cj-Q2 for qemu-devel@nongnu.org; Mon, 16 Dec 2013 03:52:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsTuk-0007Cd-Hx for qemu-devel@nongnu.org; Mon, 16 Dec 2013 03:52:34 -0500 From: Markus Armbruster References: <1385718225-26379-1-git-send-email-armbru@redhat.com> <52AE18FE.9090908@suse.de> Date: Mon, 16 Dec 2013 09:52:26 +0100 In-Reply-To: <52AE18FE.9090908@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Sun, 15 Dec 2013 22:02:54 +0100") Message-ID: <87fvptmb3p.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 0/2] Pointer properties and device_add List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: peter.maydell@linaro.org, marcel.a@redhat.com, qemu-devel@nongnu.org, chouteau@adacore.com, blauwirbel@gmail.com, kraxel@redhat.com, aliguori@amazon.com, edgar.iglesias@gmail.com Andreas F=C3=A4rber writes: > Am 29.11.2013 10:43, schrieb armbru@redhat.com: >> From: Markus Armbruster >>=20 >> Pointer properties can be set only by code, not by device_add. A >> device with a pointer property can't work with device_add only unless >> the property may remain null. cannot_instantiate_with_device_add_yet >> needs to be set then. PATCH 1/2 sets it when needed and else >> documents why not. PATCH 2/2 documents this for future users of >> pointer properties. >>=20 >> This applies on top of my "[PATCH v4 00/10] Clean up and fix no_user" >> series. >>=20 >> Markus Armbruster (2): >> hw: cannot_instantiate_with_device_add_yet due to pointer props >> qdev: Document that pointer properties kill device_add > > Queued both while still waiting for reply from PMM. I somewhat doubt > that anyone will read the documentation you're adding in 2/2, but at > least we can then point them to it. Yup. I wash my hands before the multitude ;) > https://github.com/afaerber/qemu-cpu/commits/qom-next Thanks!