[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v17 00/10] Shared library module support
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v17 00/10] Shared library module support |
Date: |
Thu, 16 Jan 2014 17:48:22 +0800 |
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
- [Qemu-devel] [PATCH v17 00/10] Shared library module support,
Fam Zheng <=
- [Qemu-devel] [PATCH v17 01/10] util: Split out qemu_exec_dir from os_find_datadir, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 02/10] rules.mak: fix $(obj) to a real relative path, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 03/10] rules.mak: allow per object cflags and libs, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 04/10] block: use per-object cflags and libs, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 05/10] darwin: do not use -mdynamic-no-pic, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 06/10] build-sys: introduce common-obj-m and block-obj-m for DSO, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 08/10] Makefile: install modules with "make install", Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 07/10] module: implement module loading, Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 09/10] .gitignore: ignore module related files (dll, so, mo), Fam Zheng, 2014/01/16
- [Qemu-devel] [PATCH v17 10/10] block: convert block drivers linked with libs to modules, Fam Zheng, 2014/01/16