From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpnUl-00005d-8n for qemu-devel@nongnu.org; Tue, 24 Jan 2012 16:01:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpnUg-0000yU-Ee for qemu-devel@nongnu.org; Tue, 24 Jan 2012 16:01:35 -0500 Message-ID: <4F1F1C28.4040600@web.de> Date: Tue, 24 Jan 2012 22:01:28 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1327433600-7403-1-git-send-email-aliguori@us.ibm.com> <1327433600-7403-28-git-send-email-aliguori@us.ibm.com> <4F1F0E2D.2020706@web.de> <4F1F12E7.2020309@us.ibm.com> In-Reply-To: <4F1F12E7.2020309@us.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDE48D3E1C45FE0F6A27C8512" Subject: Re: [Qemu-devel] [PATCH 27/28] sysbus: apic: ioapic: convert to QEMU Object Model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Alexander Graf , Blue Swirl , =?ISO-8859-15?Q?Andreas_F=E4rbe?= =?ISO-8859-15?Q?r?= , qemu-ppc@nongnu.org, Paul Brook , Aurelien Jarno , Gerd Hoffmann This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDE48D3E1C45FE0F6A27C8512 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 2012-01-24 21:21, Anthony Liguori wrote: >> Also, I see a lot of programmatic initialization and a lot of repeatin= g >> patterns (specifically regarding trivial class initialization) - there= >> is no better alternative? >=20 > Not really, no. It looks bad now because you have DeviceInfo still.=20 > Once DeviceInfo goes away, all of the initialization will happen in the= > class_init function. >=20 > The design of QOM is such that a lot of what was previously done via > declarative structures is now done imperatively. But the code bloat > that came in this patch series will decrease significantly with the nex= t > series as we eliminate DeviceInfo. Are there examples of fully converted devices to get an impression? Jan --------------enigDE48D3E1C45FE0F6A27C8512 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8fHCkACgkQitSsb3rl5xTDwgCfRrbWt+K4E0vx13K5rtRHAYUi f1sAoLrTfHgBgYQ7d0BU6rc9hrf94gwb =w58R -----END PGP SIGNATURE----- --------------enigDE48D3E1C45FE0F6A27C8512--