qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev
@ 2012-11-30 13:25 Marc-André Lureau
  2012-11-30 13:25 ` [Qemu-devel] [PATCH 1/6] qemu-char: add qemu_chr_remove_clients() Marc-André Lureau
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Marc-André Lureau @ 2012-11-30 13:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: spice-devel, alevy, kraxel, Marc-André Lureau

Hi,

Add a new chardev to allow arbitrary communication between the
host and the Spice client (via the spice server).

Note: the related Spice protocol and server patches are in review,
this patch series serves as a RFC for the reviewers. Except the first
3 patches, the spice dependencies will need to be bump to the upcoming
protocol and server releases.

Some examples:

This allows the Spice client to have a special port for the qemu
monitor:

... -chardev spiceport,name=org.qemu.monitor,id=monitorport
    -mon chardev=monitorport

Or to allow arbitrary communication outside of qemu:

... -chardev spiceport,name=org.ovirt.controller,id=...,chardev=ovcsocket
    -chardev socket,server,host=0.0.0.0,port=4242,id=ovcsocket,nowait

Marc-André Lureau (6):
  qemu-char: add qemu_chr_remove_clients()
  spice-qemu-char: write to chardev whatever amount it can read
  spice-qemu-char: factor out CharDriverState creation
  spice-qemu-char: add spiceport chardev
  spice-qemu-char: keep a list of spice chardev
  spice-qemu-char: register spicevmc ports during qemu_spice_init()

 qemu-char.c       |  29 ++++++--
 qemu-char.h       |   2 +
 qemu-config.c     |   3 +
 qemu-options.hx   |  14 ++++
 spice-qemu-char.c | 195 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 trace-events      |   3 +
 ui/qemu-spice.h   |   2 +
 ui/spice-core.c   |   2 +
 8 files changed, 229 insertions(+), 21 deletions(-)

-- 
1.7.11.7

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

end of thread, other threads:[~2012-12-02 10:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 13:25 [Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev Marc-André Lureau
2012-11-30 13:25 ` [Qemu-devel] [PATCH 1/6] qemu-char: add qemu_chr_remove_clients() Marc-André Lureau
2012-11-30 13:25 ` [Qemu-devel] [PATCH 2/6] spice-qemu-char: write to chardev whatever amount it can read Marc-André Lureau
2012-12-02 10:00   ` Alon Levy
2012-11-30 13:25 ` [Qemu-devel] [PATCH 3/6] spice-qemu-char: factor out CharDriverState creation Marc-André Lureau
2012-11-30 13:25 ` [Qemu-devel] [PATCH 4/6] spice-qemu-char: add spiceport chardev Marc-André Lureau
2012-11-30 13:25 ` [Qemu-devel] [PATCH 5/6] spice-qemu-char: keep a list of spice chardev Marc-André Lureau
2012-11-30 13:25 ` [Qemu-devel] [PATCH 6/6] spice-qemu-char: register spicevmc ports during qemu_spice_init() Marc-André Lureau
2012-11-30 13:58 ` [Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev Gerd Hoffmann
2012-11-30 14:42   ` Marc-André Lureau
2012-11-30 15:51     ` Gerd Hoffmann

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).