From: Fam Zheng <famz@redhat.com>
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
Subject: [Qemu-devel] [PATCH v16 0/9] Shared library module support
Date: Wed, 15 Jan 2014 16:48:24 +0800 [thread overview]
Message-ID: <1389775713-996-1-git-send-email-famz@redhat.com> (raw)
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
next reply other threads:[~2014-01-15 8:49 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 8:48 Fam Zheng [this message]
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 1/9] rules.mak: fix $(obj) to a real relative path Fam Zheng
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 2/9] rules.mak: allow per object cflags and libs Fam Zheng
2014-01-15 19:35 ` Peter Maydell
2014-01-16 10:53 ` Fam Zheng
2014-01-16 11:04 ` Peter Maydell
2014-01-16 12:40 ` Fam Zheng
2014-01-16 12:43 ` Paolo Bonzini
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 3/9] block: use per-object " Fam Zheng
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 4/9] darwin: do not use -mdynamic-no-pic Fam Zheng
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 5/9] build-sys: introduce common-obj-m and block-obj-m for DSO Fam Zheng
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 6/9] module: implement module loading Fam Zheng
2014-01-15 11:53 ` Peter Maydell
2014-01-15 11:56 ` Paolo Bonzini
2014-01-15 12:03 ` Peter Maydell
2014-01-15 12:05 ` Paolo Bonzini
2014-01-15 12:11 ` Peter Maydell
2014-01-15 12:17 ` Paolo Bonzini
2014-01-15 12:09 ` Alex Bligh
2014-01-15 12:10 ` Paolo Bonzini
2014-01-15 12:18 ` Alex Bligh
2014-01-15 12:30 ` Paolo Bonzini
2014-01-16 1:11 ` Fam Zheng
2014-01-15 12:34 ` Fam Zheng
2014-01-15 12:38 ` Paolo Bonzini
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 7/9] Makefile: install modules with "make install" Fam Zheng
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 8/9] .gitignore: ignore module related files (dll, so, mo) Fam Zheng
2014-01-15 8:48 ` [Qemu-devel] [PATCH v16 9/9] block: convert block drivers linked with libs to modules Fam Zheng
2014-01-15 13:11 ` [Qemu-devel] [PATCH v16 0/9] Shared library module support Peter Maydell
2014-01-15 14:11 ` Paolo Bonzini
2014-01-15 14:20 ` Peter Maydell
2014-01-15 14:36 ` Paolo Bonzini
2014-01-15 14:40 ` Peter Maydell
2014-01-15 14:51 ` Paolo Bonzini
2014-01-15 15:29 ` Peter Maydell
2014-01-15 15:40 ` Peter Maydell
2014-01-15 16:14 ` Paolo Bonzini
2014-01-16 1:16 ` Fam Zheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1389775713-996-1-git-send-email-famz@redhat.com \
--to=famz@redhat.com \
--cc=alex@alex.org.uk \
--cc=kwolf@redhat.com \
--cc=mjt@tls.msk.ru \
--cc=mrezanin@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=stefanha@redhat.com \
--cc=vilanova@ac.upc.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).