]> xenbits.xensource.com Git - libvirt.git/commit
Add domain support for virtio channel
authorMatthew Booth <mbooth@redhat.com>
Thu, 18 Feb 2010 16:52:03 +0000 (17:52 +0100)
committerDaniel Veillard <veillard@redhat.com>
Thu, 18 Feb 2010 16:52:03 +0000 (17:52 +0100)
commit7813a0f81ca46bd93296c711fe5d2d366139b1d7
tree135703f0f08b6cd296f4faa7f3d7f1ca9371ab97
parent07e318b3db3adf1fafaaf6d71bde347a3bee17b1
Add domain support for virtio channel

Add support for virtio-serial by defining a new 'virtio' channel target type
and a virtio-serial controller. Allows the following to be specified in a
domain:

<controller type='virtio-serial' index='0' ports='16' vectors='4'/>
<channel type='pty'>
  <target type='virtio' name='org.linux-kvm.port.0'/>
  <address type='virtio-serial' controller='0' bus='0'/>
</channel>

* docs/schemas/domain.rng: Add virtio-serial controller and virtio
  channel type.
* src/conf/domain_conf.[ch]: Domain parsing/serialization for
  virtio-serial controller and virtio channel.
* tests/qemuxml2xmltest.c
  tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml: add domain xml
  parsing test
* src/libvirt_private.syms src/qemu/qemu_conf.c:
  virDomainDefAddDiskControllers() renamed to
  virDomainDefAddImplicitControllers()
docs/schemas/domain.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c