aboutsummaryrefslogtreecommitdiff
path: root/ui/Makefile.objs
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-02-21 12:07:03 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-22 07:42:59 +0100
commitd8aec9d9f129e6879ae0669623981892deff86f2 (patch)
tree0c8e70bbb9eae59cc1503773965fd8ad5ee9062b /ui/Makefile.objs
parent4c77ee12da78d0e2222ac9f6fd067f1d451da5cb (diff)
downloadqemu-d8aec9d9f129e6879ae0669623981892deff86f2.zip
qemu-d8aec9d9f129e6879ae0669623981892deff86f2.tar.gz
qemu-d8aec9d9f129e6879ae0669623981892deff86f2.tar.bz2
display: add -display spice-app launching a Spice client
Add a new display backend that will configure Spice to allow a remote client to control QEMU in a similar fashion as other QEMU display backend/UI like GTK. For this to work, it will set up Spice server with a unix socket, and register a VC chardev that will be exposed as Spice ports. A QMP monitor is also exposed as a Spice port, this allows the remote client fuller qemu control and state handling. - doesn't handle VC set_echo() - this doesn't seem a strong requirement, very few front-end use it - spice options can be tweaked with other -spice arguments - Windows support shouldn't be hard to do, but will probably use a TCP port instead - we may want to watch the child process to quit automatically if it crashed Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Victor Toso <victortoso@redhat.com> Message-id: 20190221110703.5775-12-marcandre.lureau@redhat.com [ kraxel: squash incremental fix ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/Makefile.objs')
-rw-r--r--ui/Makefile.objs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
index 7f8b3da..fe1a7ae 100644
--- a/ui/Makefile.objs
+++ b/ui/Makefile.objs
@@ -49,6 +49,11 @@ curses.mo-objs := curses.o
curses.mo-cflags := $(CURSES_CFLAGS)
curses.mo-libs := $(CURSES_LIBS)
+common-obj-$(call land,$(CONFIG_SPICE),$(CONFIG_GIO)) += spice-app.mo
+spice-app.mo-objs := spice-app.o
+spice-app.mo-cflags := $(GIO_CFLAGS)
+spice-app.mo-libs := $(GIO_LIBS)
+
common-obj-$(CONFIG_OPENGL) += shader.o
common-obj-$(CONFIG_OPENGL) += console-gl.o
common-obj-$(CONFIG_OPENGL) += egl-helpers.o