From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE6sz-0004pc-Mc for qemu-devel@nongnu.org; Tue, 18 Sep 2012 19:07:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TE6sy-0004Gs-Kk for qemu-devel@nongnu.org; Tue, 18 Sep 2012 19:07:21 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:37089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE6sy-0004Fq-Dt for qemu-devel@nongnu.org; Tue, 18 Sep 2012 19:07:20 -0400 Received: from /spool/local by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 18 Sep 2012 17:07:16 -0600 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id AD4F83E40039 for ; Tue, 18 Sep 2012 17:07:13 -0600 (MDT) Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8IN7ENq198688 for ; Tue, 18 Sep 2012 17:07:14 -0600 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8IN8jo5020316 for ; Tue, 18 Sep 2012 17:08:46 -0600 From: Anthony Liguori In-Reply-To: <4FF1957E.1050301@suse.de> References: <1340664222-25098-1-git-send-email-aliguori@us.ibm.com> <1340664222-25098-5-git-send-email-aliguori@us.ibm.com> <4FF194CA.3090404@redhat.com> <4FF1957E.1050301@suse.de> Date: Tue, 18 Sep 2012 18:07:07 -0500 Message-ID: <87boh39bhg.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 4/4] vl: add -late-object to create QOM objects after machine init List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, Markus Armbruster , Amit Shah , Paolo Bonzini Andreas F=C3=A4rber writes: > Am 02.07.2012 14:32, schrieb Paolo Bonzini: >> Il 26/06/2012 00:43, Anthony Liguori ha scritto: >>> In order to create qdev objects via -late-object, we almost always have= to >>> specify the parent_bus which is usually created during machine init. U= ntil we >>> properly support two stage init, introduce a -late-object option that a= llows for >>> creation of objects post-machine init. >>=20 >> This is only needed for -device, no? So we can avoid introducing it and >> just use -device. > > +1, was thinking along the same lines... Sorry for such a delayed response... The semantics of how -device is different in that it implies realize. Regards, Anthony Liguori > > Andreas > > --=20 > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3= =BCrnberg