From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jZR-0004Vg-Ec for qemu-devel@nongnu.org; Thu, 16 Jan 2014 04:49:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3jZI-00065s-Do for qemu-devel@nongnu.org; Thu, 16 Jan 2014 04:49:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jZI-00065T-5u for qemu-devel@nongnu.org; Thu, 16 Jan 2014 04:48:56 -0500 From: Fam Zheng Date: Thu, 16 Jan 2014 17:48:22 +0800 Message-Id: <1389865712-27325-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v17 00/10] 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 Many thanks for everyones testing and debugging! v17: [01/10] util: Split out qemu_exec_dir from os_find_datadir New. Used in 07 for module searching. [07/10] module: implement module loading Probe for shasum, sha1sum or sha1 in configure. (PMM, Paolo) Search modules in relative paths (./ and ../) of program. (PMM) This makes testing much easier for developers. And end users are safe with the protection of stamp check. Improved error message. Print to stderr when a module is not found. (PMM) Fam Zheng (9): util: Split out qemu_exec_dir from os_find_datadir 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 | 91 ++++++++++++++++++++----------- include/qemu/module.h | 18 ++++++- include/qemu/osdep.h | 4 ++ module-common.c | 10 ++++ os-posix.c | 40 +++----------- os-win32.c | 19 +------ rules.mak | 81 +++++++++++++++++++++++----- scripts/create_config | 14 +++++ util/module.c | 145 +++++++++++++++++++++++++++++++++++++++++++++++++- util/oslib-posix.c | 45 ++++++++++++++++ util/oslib-win32.c | 24 +++++++++ 16 files changed, 457 insertions(+), 120 deletions(-) create mode 100644 module-common.c -- 1.8.5.3