[Qemu-devel] [PATCH 1/1] spice: add chardev (v5)

2011-01-19 Thread Alon Levy
Adding a chardev backend for spice, where spice determines what to do with it based on the name attribute given during chardev creation. For usage by spice vdagent in conjunction with a properly named virtio-serial device, and future smartcard channel usage. Example usage: qemu -device virtio-ser

Re: [Qemu-devel] [PATCH 1/1] spice: add chardev

2010-12-17 Thread Alon Levy
On Thu, Dec 16, 2010 at 05:53:10PM +0100, Gerd Hoffmann wrote: > Hi, > > >>>+//#define SPICE_QEMU_CHAR_USE_IOCTL > >> > >>Why is this disabled? > >>Does it depend on the chardev patches from Amit? > >> > > > >There was a long discussion that concluded we don't want IOCTL's at all, > >and that th

Re: [Qemu-devel] [PATCH 1/1] spice: add chardev

2010-12-16 Thread Gerd Hoffmann
Hi, +//#define SPICE_QEMU_CHAR_USE_IOCTL Why is this disabled? Does it depend on the chardev patches from Amit? There was a long discussion that concluded we don't want IOCTL's at all, and that there should be some other mechanism for connection state communication between the two sides.

Re: [Qemu-devel] [PATCH 1/1] spice: add chardev

2010-12-16 Thread Alon Levy
On Thu, Dec 16, 2010 at 02:21:16PM +0100, Gerd Hoffmann wrote: > On 12/16/10 12:29, Alon Levy wrote: > >Adding a chardev backend for spice, for usage by spice vdagent in > >conjunction with a properly named virtio-serial device. > > Usage example would be nice here. > > >+#ifdef CONFIG_SPICE > >+

Re: [Qemu-devel] [PATCH 1/1] spice: add chardev

2010-12-16 Thread Gerd Hoffmann
On 12/16/10 12:29, Alon Levy wrote: Adding a chardev backend for spice, for usage by spice vdagent in conjunction with a properly named virtio-serial device. Usage example would be nice here. +#ifdef CONFIG_SPICE +#include "spice-qemu-char.h" +#endif #ifdef can be dropped. +#ifdef CONFIG_

[Qemu-devel] [PATCH 1/1] spice: add chardev

2010-12-16 Thread Alon Levy
Adding a chardev backend for spice, for usage by spice vdagent in conjunction with a properly named virtio-serial device. --- Makefile.objs |2 +- qemu-char.c |7 ++ qemu-config.c |9 ++ qemu-options.hx | 18 - spice-qemu-char.c | 222

[Qemu-devel] [PATCH 1/1] spice: add chardev

2010-11-30 Thread Alon Levy
--- Makefile.objs |2 +- qemu-char.c |7 ++ qemu-config.c |9 ++ qemu-options.hx | 18 - spice-qemu-char.c | 222 + spice-qemu-char.h |9 ++ 6 files changed, 265 insertions(+), 2 deletions(-) create mode 10