From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2ksB-0005ef-8u for qemu-devel@nongnu.org; Mon, 13 Jan 2014 12:00:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2ks2-0001tx-Sj for qemu-devel@nongnu.org; Mon, 13 Jan 2014 12:00:23 -0500 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:60736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2ks2-0001ti-Lf for qemu-devel@nongnu.org; Mon, 13 Jan 2014 12:00:14 -0500 Received: by mail-ea0-f182.google.com with SMTP id a15so3447808eae.41 for ; Mon, 13 Jan 2014 09:00:13 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 13 Jan 2014 17:59:45 +0100 Message-Id: <1389632394-10130-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v15 0/9] Shared library module support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, famz@redhat.com, mjt@tls.msk.ru, alex@alex.org.uk, mrezanin@redhat.com, vilanova@ac.upc.edu, rth@twiddle.net This is based on Fam's patches from October. Very few changes apart from rebasing: * I split his patch 8 in two parts. There is benefit in using per-object cflags and libs even before the module-loading machinery gets in. * I added a new patch "darwin: do not use -mdynamic-no-pic". CCing Alex Graf for it. * applied the small change I had requested a small change in patch 2 I'm not sending a pull request yet because of these two changes, but I'll be sending one in a few days. 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 | 12 +++++ rules.mak | 80 ++++++++++++++++++++++++++++++------ scripts/create_config | 14 ++++++ util/module.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++- 10 files changed, 310 insertions(+), 68 deletions(-)