From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmNp-0006MU-9i for qemu-devel@nongnu.org; Mon, 08 Aug 2016 11:22:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWmNm-000094-4Z for qemu-devel@nongnu.org; Mon, 08 Aug 2016 11:22:29 -0400 Date: Mon, 8 Aug 2016 16:22:23 +0100 From: Stefan Hajnoczi Message-ID: <20160808152223.GG25553@stefanha-x1.localdomain> References: <1470147137-21970-1-git-send-email-clord@redhat.com> <1470147137-21970-4-git-send-email-clord@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sClP8c1IaQxyux9v" Content-Disposition: inline In-Reply-To: <1470147137-21970-4-git-send-email-clord@redhat.com> Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v6 3/4] blockdev: Add dynamic module loading for block drivers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Colin Lord Cc: qemu-devel@nongnu.org, kwolf@redhat.com, Marc =?iso-8859-1?Q?Mar=ED?= , qemu-block@nongnu.org, mreitz@redhat.com --sClP8c1IaQxyux9v Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 02, 2016 at 10:12:16AM -0400, Colin Lord wrote: > Extend the current module interface to allow for block drivers to be > loaded dynamically on request. The only block drivers that can be > converted into modules are the drivers that don't perform any init > operation except for registering themselves. >=20 > In addition, only the protocol drivers are being modularized, as they > are the only ones which see significant performance benefits. The format > drivers do not generally link to external libraries, so modularizing > them is of no benefit from a performance perspective. >=20 > All the necessary module information is located in a new structure found > in module_block.h >=20 > Signed-off-by: Marc Mar=ED > Signed-off-by: Colin Lord > --- > Makefile | 3 --- > block.c | 62 +++++++++++++++++++++++++++++++++++++++++++++= ------ > block/Makefile.objs | 3 +-- > include/qemu/module.h | 3 +++ > util/module.c | 38 +++++++++---------------------- > 5 files changed, 70 insertions(+), 39 deletions(-) Reviewed-by: Stefan Hajnoczi --sClP8c1IaQxyux9v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXqKOvAAoJEJykq7OBq3PIHcAH/jD8h4DunU7wL6+HaEz0aOpu AIsT2EqNtZv3oiQePY+gl5jq+tB0FTN8JxJ8Q5McjZd4l+UM1UB2wfYPlycSixhd iSm+zjh5ib3LXHWh+koDG9tyTJzCydFw2y90TNAKDMiX1lWJkYmR+GXc3eeIPW+Q aDG4fPZTNDGewXe/St6m0zf4aw8nAl36W3sB0CRhcekFQFA58eetl8RPR0BL721N XmbYaihZ9X5/0wPlVkDW80fZDaEsEyU0bicLQkcleNBi3ldASdiA+srTEmGHP1z5 KeqiCAO5G+i4sSA7foN1ti0MBybjTWx9g8oAFOds8H4cpJd4tzru/AmyCDvGMWI= =/sDO -----END PGP SIGNATURE----- --sClP8c1IaQxyux9v--