[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev |
Date: |
Fri, 30 Nov 2012 14:25:41 +0100 |
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
- [Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 1/6] qemu-char: add qemu_chr_remove_clients(), Marc-André Lureau, 2012/11/30
- [Qemu-devel] [PATCH 2/6] spice-qemu-char: write to chardev whatever amount it can read, Marc-André Lureau, 2012/11/30
- [Qemu-devel] [PATCH 3/6] spice-qemu-char: factor out CharDriverState creation, Marc-André Lureau, 2012/11/30
- [Qemu-devel] [PATCH 4/6] spice-qemu-char: add spiceport chardev, Marc-André Lureau, 2012/11/30
- [Qemu-devel] [PATCH 5/6] spice-qemu-char: keep a list of spice chardev, Marc-André Lureau, 2012/11/30
- [Qemu-devel] [PATCH 6/6] spice-qemu-char: register spicevmc ports during qemu_spice_init(), Marc-André Lureau, 2012/11/30
- Re: [Qemu-devel] [PATCH 0/6] RFC: add "spiceport" chardev, Gerd Hoffmann, 2012/11/30