[PATCH v5 00/10] build some devices as modules.

Gerd Hoffmann posted 10 patches 3 years, 9 months ago
Test FreeBSD passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test docker-mingw@fedora passed
Failed in applying to current master (apply log)
Makefile.objs            |  2 ++
Makefile.target          |  7 +++++
include/qemu/module.h    |  2 ++
include/qom/object.h     | 12 +++++++
chardev/char.c           |  2 +-
hw/core/qdev.c           |  6 ++--
qdev-monitor.c           |  5 +--
qom/object.c             | 14 +++++++++
qom/qom-qmp-cmds.c       |  3 +-
softmmu/vl.c             |  4 +--
util/module.c            | 67 ++++++++++++++++++++++++++++++++++++++++
chardev/Makefile.objs    |  5 ++-
hw/Makefile.objs         |  2 ++
hw/display/Makefile.objs | 28 ++++++++++-------
hw/usb/Makefile.objs     | 13 +++++---
15 files changed, 148 insertions(+), 24 deletions(-)
[PATCH v5 00/10] build some devices as modules.
Posted by Gerd Hoffmann 3 years, 9 months ago
Specifically devices which depend on shared libraries,
to reduce the runtime dependencies of core qemu.

v2:
 - better commit messages.
 - add some more devices.
 - general tidy up.

v3:
 - rebase, solve stubs conflict.
 - fix -vga $name
 - fix -device $name,help

v4:
 - rebase to latest master
 - adapt to armbru's device init changes

v5:
 - move from qdev (aka device) to qom (aka object) level.
 - add braille chardev.

Gerd Hoffmann (10):
  module: qom module support
  object: qom module support
  qdev: device module support
  build: fix device module builds
  ccid: build smartcard as module
  usb: build usb-redir as module
  vga: build qxl as module
  vga: build virtio-gpu only once
  vga: build virtio-gpu as module
  chardev: enable modules, use for braille

 Makefile.objs            |  2 ++
 Makefile.target          |  7 +++++
 include/qemu/module.h    |  2 ++
 include/qom/object.h     | 12 +++++++
 chardev/char.c           |  2 +-
 hw/core/qdev.c           |  6 ++--
 qdev-monitor.c           |  5 +--
 qom/object.c             | 14 +++++++++
 qom/qom-qmp-cmds.c       |  3 +-
 softmmu/vl.c             |  4 +--
 util/module.c            | 67 ++++++++++++++++++++++++++++++++++++++++
 chardev/Makefile.objs    |  5 ++-
 hw/Makefile.objs         |  2 ++
 hw/display/Makefile.objs | 28 ++++++++++-------
 hw/usb/Makefile.objs     | 13 +++++---
 15 files changed, 148 insertions(+), 24 deletions(-)

-- 
2.18.4