]> xenbits.xensource.com Git - libvirt.git/commit
qemu: introduce spiceport chardev backend
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 30 Jan 2014 11:19:12 +0000 (12:19 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Feb 2014 12:43:55 +0000 (13:43 +0100)
commitd27e6bc40f261cdbee4e41602975d33e8969c45a
tree9ae67c647da99771580ad4b32e52f703fd7b3110
parent296a4791eb08a0dc9dcd274e6a22078bf77982a3
qemu: introduce spiceport chardev backend

Add a new backend for any character device.  This backend uses channel
in spice connection.  This channel is similar to spicevmc, but
all-purpose in contrast to spicevmc.

Apart from spicevmc, spiceport-backed chardev will not be formatted
into the command-line if there is no spice to use (with test for that
as well).  For this I moved the def->graphics counting to the start
of the function so its results can be used in rest of the code even in
the future.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
12 files changed:
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemucapabilitiesdata/caps_1.5.3-1.caps
tests/qemucapabilitiesdata/caps_1.6.0-1.caps
tests/qemucapabilitiesdata/caps_1.6.50-1.caps
tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport-nospice.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport-nospice.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c