libvirt/docs/schemas
Daniel P. Berrange be87a1236e spicevmc: support new qemu chardev
Inspired by https://bugzilla.redhat.com/show_bug.cgi?id=615757

Add a new character device backend for virtio serial channels that
activates the QEMU spice agent on the main channel using the vdagent
spicevmc connection.  The <target> must be type='virtio', and supports
an optional name that specifies how the guest will see the channel
(for now, name must be com.redhat.spice.0).

<channel type='spicevmc'>
  <target type='virtio'/>
  <address type='virtio-serial' controller='1' bus='0' port='3'/>
</channel>

* docs/schemas/domain.rng: Support new XML.
* docs/formatdomain.html.in: Document it.
* src/conf/domain_conf.h (virDomainChrType): New enum value.
* src/conf/domain_conf.c (virDomainChr): Add spicevmc.
(virDomainChrDefParseXML, virDomainChrSourceDefParseXML)
(virDomainChrDefParseTargetXML): Parse and enforce proper use.
(virDomainChrSourceDefFormat, virDomainChrDefFormat): Format.
* src/qemu/qemu_command.c (qemuBuildChrChardevStr)
(qemuBuildCommandLine): Add qemu support.
* tests/qemuxml2argvtest.c (domain): New test.
* tests/qemuxml2argvdata/qemuxml2argv-channel-spicevmc.xml: New
file.
* tests/qemuxml2argvdata/qemuxml2argv-channel-spicevmc.args:
Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-02-03 21:14:50 -07:00
..
capability.rng cpu: Add support for CPU vendor 2010-07-07 17:26:00 +02:00
domain.rng spicevmc: support new qemu chardev 2011-02-03 21:14:50 -07:00
domainsnapshot.rng Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
interface.rng interface.rng: Make miimon and arpmon optional for bond interfaces 2010-11-15 14:22:42 -05:00
Makefile.am Install, distribute and package domainsnapshot.rng 2010-05-27 01:11:15 +02:00
network.rng Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
nodedev.rng maint: convert leading TABs in *.rng files to equivalent spaces 2010-03-01 20:19:20 +01:00
nwfilter.rng nwfilter: Extend schema to accept state attribute 2010-10-07 06:44:41 -04:00
secret.rng Fix a wellformedness problem in secret.rng 2009-12-10 17:03:47 +01:00
storageencryption.rng Remove accidentally added UUID re-definition in storage schema 2009-09-14 19:11:13 +01:00
storagepool.rng Fix parsing of port attribute in storage XML configuration 2010-11-23 14:55:33 +00:00
storagevol.rng maint: convert leading TABs in *.rng files to equivalent spaces 2010-03-01 20:19:20 +01:00