All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Make SPICE a load module
@ 2020-07-23 17:46 Christophe de Dinechin
  2020-07-23 17:46 ` [PATCH 1/7] spice: simplify chardev setup Christophe de Dinechin
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Christophe de Dinechin @ 2020-07-23 17:46 UTC (permalink / raw)
  To: qemu-devel, kraxel
  Cc: Eduardo Habkost, Michael S. Tsirkin, Dr. David Alan Gilbert,
	Markus Armbruster, Paolo Bonzini, Cleber Rosa,
	Marc-André Lureau, Richard Henderson

This series builds the qemu SPICE code into a load module in order to
remove the number of shared libraries that the main qemu binary
depends on.

It is intended to be built on the work that Gerd shared recently
regarding modular devices and chardev initialization. I left the
patch I used in the series since Gerd may still be working on it.

With these changes, the following shared libraries are no longer
needed in the main binary:

        libspice-server.so.1
        libopus.so.0
        liblz4.so.1
        libgstapp-1.0.so.0
        libgstvideo-1.0.so.0
        libgstbase-1.0.so.0
        libgstreamer-1.0.so.0
        libssl.so.1.1
        liborc-0.4.so.0

There are still some not-so-nice changes in the makefiles,
e.g. references to ../directory/foo.o. I don't want to invest too much
time in fixing it the right way if Meson changes the way these things
are built.

Christophe de Dinechin (5):
  minikconf: Pass variables for modules
  spice: Make spice a module configuration
  spice: Move all the spice-related code in spice-app.so
  build: Add SPICE_CFLAGS and SPICE_LIBS to relevant files
  spice: Call qemu spice functions indirectly

Gerd Hoffmann (2):
  spice: simplify chardev setup
  build: fix device module builds

 audio/Makefile.objs      |  2 +-
 chardev/Makefile.objs    |  2 +-
 chardev/spice.c          | 29 ++++------------
 configure                |  6 ++--
 dtc                      |  2 +-
 hw/display/Makefile.objs |  1 +
 hw/i386/pc.c             |  1 -
 include/chardev/spice.h  |  1 -
 include/ui/qemu-spice.h  | 75 ++++++++++++++++++----------------------
 monitor/Makefile.objs    |  3 ++
 monitor/hmp-cmds.c       | 13 +++++++
 monitor/misc.c           |  2 +-
 monitor/qmp-cmds.c       |  6 ++--
 roms/SLOF                |  2 +-
 roms/openbios            |  2 +-
 roms/opensbi             |  2 +-
 roms/seabios             |  2 +-
 scripts/minikconf.py     |  4 +--
 slirp                    |  2 +-
 softmmu/Makefile.objs    |  2 +-
 softmmu/vl.c             | 35 ++++++++++++++++---
 ui/Makefile.objs         | 12 +++----
 ui/spice-app.c           | 17 ++++-----
 ui/spice-core.c          | 35 ++++++++++++++++---
 24 files changed, 150 insertions(+), 108 deletions(-)

-- 
2.26.2




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-08-04 10:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 17:46 [PATCH 0/7] Make SPICE a load module Christophe de Dinechin
2020-07-23 17:46 ` [PATCH 1/7] spice: simplify chardev setup Christophe de Dinechin
2020-07-23 17:46 ` [PATCH 2/7] build: fix device module builds Christophe de Dinechin
2020-07-28 16:37   ` Philippe Mathieu-Daudé
2020-07-29 16:01     ` Christophe de Dinechin
2020-07-23 17:46 ` [PATCH 3/7] minikconf: Pass variables for modules Christophe de Dinechin
2020-08-04  6:19   ` Gerd Hoffmann
2020-07-23 17:46 ` [PATCH 4/7] spice: Make spice a module configuration Christophe de Dinechin
2020-08-04  6:26   ` Gerd Hoffmann
2020-07-23 17:46 ` [PATCH 5/7] spice: Move all the spice-related code in spice-app.so Christophe de Dinechin
2020-08-04 10:05   ` Gerd Hoffmann
2020-07-23 17:46 ` [PATCH 6/7] build: Add SPICE_CFLAGS and SPICE_LIBS to relevant files Christophe de Dinechin
2020-08-04 10:06   ` Gerd Hoffmann
2020-07-23 17:46 ` [PATCH 7/7] spice: Call qemu spice functions indirectly Christophe de Dinechin
2020-07-27 17:38   ` Dr. David Alan Gilbert
2020-08-04 10:25     ` Gerd Hoffmann
2020-08-04 10:18   ` Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.