From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3MA5-0006Ql-9Q for qemu-devel@nongnu.org; Wed, 15 Jan 2014 03:49:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3MA0-00069N-8Q for qemu-devel@nongnu.org; Wed, 15 Jan 2014 03:49:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3M9z-00069F-VV for qemu-devel@nongnu.org; Wed, 15 Jan 2014 03:49:16 -0500 From: Fam Zheng Date: Wed, 15 Jan 2014 16:48:24 +0800 Message-Id: <1389775713-996-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v16 0/9] Shared library module support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, stefanha@redhat.com, mjt@tls.msk.ru, alex@alex.org.uk, pbonzini@redhat.com, mrezanin@redhat.com, vilanova@ac.upc.edu, rth@twiddle.net A few changes on Paolo's v15, to fix MacOSX build (in fact fix Linux as well) and get rid of $RANDOM: [05/09] build-sys: introduce common-obj-m and block-obj-m for DSO Add " -undefined dynamic_lookup" to Darwin LDFLAGS. Otherwise the linker complains about undefined symbols. [06/09] module: implement module loading Don't use $RANDOM for stamp symbol generation. Hash version, pkgversion and configure content instead. Add back module-common.c from previous revisions. Reformat module_init macro definition to keep scripts/checkpatch.pl happy. Improve error message when gmodule not present. Fam Zheng (8): rules.mak: fix $(obj) to a real relative path rules.mak: allow per object cflags and libs block: use per-object cflags and libs build-sys: introduce common-obj-m and block-obj-m for DSO module: implement module loading Makefile: install modules with "make install" .gitignore: ignore module related files (dll, so, mo) block: convert block drivers linked with libs to modules Paolo Bonzini (1): darwin: do not use -mdynamic-no-pic .gitignore | 3 ++ Makefile | 30 +++++++++++++- Makefile.objs | 19 ++------- Makefile.target | 21 ++++++++-- block/Makefile.objs | 13 +++++- configure | 79 ++++++++++++++++++++++--------------- include/qemu/module.h | 18 ++++++++- module-common.c | 10 +++++ rules.mak | 80 +++++++++++++++++++++++++++++++------ scripts/create_config | 14 +++++++ util/module.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++++- 11 files changed, 325 insertions(+), 69 deletions(-) create mode 100644 module-common.c -- 1.8.5.2