From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3WoM-000689-5G for qemu-devel@nongnu.org; Mon, 11 May 2009 10:48:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3WoG-00066V-Gw for qemu-devel@nongnu.org; Mon, 11 May 2009 10:48:56 -0400 Received: from [199.232.76.173] (port=40889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3WoG-00066G-Bh for qemu-devel@nongnu.org; Mon, 11 May 2009 10:48:52 -0400 Received: from mx20.gnu.org ([199.232.41.8]:53513) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3WoF-0008Mj-Sk for qemu-devel@nongnu.org; Mon, 11 May 2009 10:48:52 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3WoE-0004vi-M2 for qemu-devel@nongnu.org; Mon, 11 May 2009 10:48:50 -0400 From: Paul Brook Date: Mon, 11 May 2009 15:48:47 +0100 References: <1242052009-27339-1-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1242052009-27339-1-git-send-email-aliguori@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905111548.48216.paul@codesourcery.com> Subject: [Qemu-devel] Re: [PATCH 0/4][RFC] Add module infrastructure to QEMU List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On Monday 11 May 2009, Anthony Liguori wrote: > This is the current state of a patch set to introduce a module > infrastructure to QEMU. I don't think numeric priorities are a good idea. If we have dependencies t= hen=20 we should be dealing with them properly, not hacking round the problem. Also, there's no reason to have destructors. The init function can register= =20 these at runtime. > =A02) Switch to using dynamic shared libraries. =A0This has the benefit of > reducing the QEMU install size. =A0This is attractive except for the fact > that creating dynamic shared libraries across multiple host architectures > is a pain. In practice I'd expect the shared library overhead (both disk and RAM) to b= e=20 significantly larger than the saving form omitting a few devices. As you sa= id=20 before, if we're not using something, why build it in the first place? There's also the issue that shared libraries imply it's OK for third partie= s=20 to ship binary plugins. Paul