qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@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, mrezanin@redhat.com,
	vilanova@ac.upc.edu, rth@twiddle.net
Subject: [Qemu-devel] [PATCH v18 00/10] Shared library module support
Date: Fri, 31 Jan 2014 15:49:03 +0100	[thread overview]
Message-ID: <1391179753-5216-1-git-send-email-pbonzini@redhat.com> (raw)

Yet another rebase of the loadable module series, with the
following changes:

1) reworked a bit the build system magic so that "make foo.o" will pick
the right flags when foo.o is part of a module.

2) redid the split between patches 6/7/9, doing first the makefile rules,
then the C code to load the modules, and only introducing the (initially
empty) *-obj-m variables at the end.

3) finally, tweaked the patches to only require limited changes to
scripts/create_config.

Paolo

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
  rules.mak: introduce DSO rules
  module: implement module loading
  Makefile: install modules with "make install"
  Makefile: introduce common-obj-m and block-obj-m for DSO
  block: convert block drivers linked with libs to modules

Paolo Bonzini (1):
  darwin: do not use -mdynamic-no-pic

 .gitignore            |   3 ++
 Makefile              |  29 +++++++++-
 Makefile.objs         |  19 ++-----
 Makefile.target       |  21 ++++++--
 block/Makefile.objs   |  13 ++++-
 configure             |  91 ++++++++++++++++++++-----------
 include/qemu/module.h |  34 +++++++++++-
 include/qemu/osdep.h  |   4 ++
 module-common.c       |  10 ++++
 os-posix.c            |  40 +++-----------
 os-win32.c            |  19 +------
 rules.mak             |  80 +++++++++++++++++++++++-----
 scripts/create_config |   3 ++
 util/module.c         | 145 +++++++++++++++++++++++++++++++++++++++++++++++++-
 util/oslib-posix.c    |  45 ++++++++++++++++
 util/oslib-win32.c    |  24 +++++++++
 16 files changed, 460 insertions(+), 120 deletions(-)
 create mode 100644 module-common.c

-- 
1.8.3.1

             reply	other threads:[~2014-01-31 14:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-31 14:49 Paolo Bonzini [this message]
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 01/10] util: Split out qemu_exec_dir from os_find_datadir Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 02/10] rules.mak: fix $(obj) to a real relative path Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 03/10] rules.mak: allow per object cflags and libs Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 04/10] block: use per-object " Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 05/10] darwin: do not use -mdynamic-no-pic Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 06/10] rules.mak: introduce DSO rules Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 07/10] module: implement module loading Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 08/10] Makefile: install modules with "make install" Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 09/10] Makefile: introduce common-obj-m and block-obj-m for DSO Paolo Bonzini
2014-01-31 14:49 ` [Qemu-devel] [PATCH v18 10/10] block: convert block drivers linked with libs to modules Paolo Bonzini
2014-02-05 18:19 ` [Qemu-devel] [PATCH v18 00/10] Shared library module support Peter Maydell
2014-02-06 23:38   ` Paolo Bonzini
2014-02-07  0:06     ` Peter Maydell
2014-02-07  7:13       ` Paolo Bonzini
2014-02-07  8:14         ` Michael Tokarev
2014-02-07  8:38           ` Paolo Bonzini
2014-02-07  8:40           ` 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=1391179753-5216-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alex@alex.org.uk \
    --cc=kwolf@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=mrezanin@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).