]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add QEMU support for virtio channel
authorMatthew Booth <mbooth@redhat.com>
Thu, 18 Feb 2010 16:56:50 +0000 (17:56 +0100)
committerDaniel Veillard <veillard@redhat.com>
Thu, 18 Feb 2010 16:56:50 +0000 (17:56 +0100)
commit3ec09478de2bca2f3801966f411644eea23829d3
tree14888ea634083f4361c337b8eca67e11964d0c24
parent7813a0f81ca46bd93296c711fe5d2d366139b1d7
Add QEMU support for virtio channel

Support virtio-serial controller and virtio channel in QEMU backend.
Will output
the following for virtio-serial controller:

-device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4,max_ports=16,vectors=4

and the following for a virtio channel:

-chardev pty,id=channel0 \
-device
virtserialport,bus=virtio-serial0.0,chardev=channel0,name=org.linux-kvm.port.0

* src/qemu/qemu_conf.c: Add argument output for virtio
* tests/qemuxml2argvtest.c
  tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args: Add test for
  QEMU command line generation
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args [new file with mode: 0644]
tests/qemuxml2argvtest.c