[PATCH 0/6] RFC: add "spiceport" chardev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]