All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/10] RFC: spice: add -display app to launch external UI
@ 2018-08-03 17:36 Marc-André Lureau
  2018-08-03 17:36 ` [Qemu-devel] [PATCH 01/10] char/spice: trigger HUP event Marc-André Lureau
                   ` (9 more replies)
  0 siblings, 10 replies; 28+ messages in thread
From: Marc-André Lureau @ 2018-08-03 17:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Marc-André Lureau, Eric Blake,
	Markus Armbruster, Gerd Hoffmann

Hi,

One of the most featurefull UI that qemu has is the GTK one. Yet, it
doesn't provide many of the functionalities we can expect from a VM
desktop application (USB redirection, shared folders, drag and drop,
better multimonitor support etc.). Spice is able to export all the VM
details to a client, including QMP monitor, serial ports etc... It's
thus possible for a Spice client to provide a similar experience as
the current qemu -display gtk UI (while keeping similar performances).

In a related virt-viewer series, "[PATCH 00/22] Add QEMU-like UI: VT
console & basic VM state", I proposed to augment remote-viewer with
VTE consoles and basic QMP support to provide a UI similar to qemu
gtk.

With this series, starting qemu with "-display app" will setup a Spice
server in the background and launch the client application associated
with spice+unix:// uri handling to interact with qemu (the concept
could be extended to other protocols). The resulting user experience
should be very close to what qemu gtk display provides (it should be
possible to make it work on various platforms, although I only
tested/developped on Linux)

Marc-André Lureau (10):
  char/spice: trigger HUP event
  char/spice: discard write() if backend is disconnected
  configure: bump spice-server required version to 0.12.6
  spice: avoid spice runtime assert
  spice: merge options lists
  spice: do not stop spice if VM is paused
  char: move SpiceChardev and open_spice_port() to spice.h header
  char: register spice ports after spice started
  build-sys: add gio-2.0 check
  display: add -display app launching external application

 qapi/ui.json            |   3 +-
 hw/display/qxl.h        |   2 -
 include/chardev/spice.h |  27 ++++++
 include/ui/qemu-spice.h |   9 --
 chardev/spice.c         |  66 +++++++--------
 hw/display/qxl.c        |   8 --
 ui/app.c                | 179 ++++++++++++++++++++++++++++++++++++++++
 ui/spice-core.c         |  19 +++--
 chardev/trace-events    |   1 +
 configure               |  17 +++-
 qemu-options.hx         |   5 ++
 ui/Makefile.objs        |   5 ++
 12 files changed, 274 insertions(+), 67 deletions(-)
 create mode 100644 include/chardev/spice.h
 create mode 100644 ui/app.c

-- 
2.18.0.547.g1d89318c48

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

end of thread, other threads:[~2018-12-19 12:55 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-03 17:36 [Qemu-devel] [PATCH 00/10] RFC: spice: add -display app to launch external UI Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 01/10] char/spice: trigger HUP event Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 02/10] char/spice: discard write() if backend is disconnected Marc-André Lureau
2018-08-07 15:25   ` Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 03/10] configure: bump spice-server required version to 0.12.6 Marc-André Lureau
2018-08-03 18:17   ` Eric Blake
2018-08-07 10:07   ` Daniel P. Berrangé
2018-08-03 17:36 ` [Qemu-devel] [PATCH 04/10] spice: avoid spice runtime assert Marc-André Lureau
2018-08-07 13:47   ` Gerd Hoffmann
2018-11-28 11:04     ` Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 05/10] spice: merge options lists Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 06/10] spice: do not stop spice if VM is paused Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 07/10] char: move SpiceChardev and open_spice_port() to spice.h header Marc-André Lureau
2018-08-03 18:20   ` Eric Blake
2018-08-03 17:36 ` [Qemu-devel] [PATCH 08/10] char: register spice ports after spice started Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 09/10] build-sys: add gio-2.0 check Marc-André Lureau
2018-08-03 17:36 ` [Qemu-devel] [PATCH 10/10] display: add -display app launching external application Marc-André Lureau
2018-08-03 18:22   ` Eric Blake
2018-08-07 10:15   ` Daniel P. Berrangé
2018-08-07 10:33     ` Marc-André Lureau
2018-08-07 14:30       ` Gerd Hoffmann
2018-08-07 14:43         ` Paolo Bonzini
2018-12-18 14:04         ` Marc-André Lureau
2018-12-19  7:13           ` Gerd Hoffmann
2018-12-19  7:44             ` Marc-André Lureau
2018-12-19  9:54               ` Gerd Hoffmann
2018-12-19 12:34                 ` Marc-André Lureau
2018-12-19 12:55                   ` 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.