The following series adds virtio console XML and qemu driver support.
The first 3 patches are just cleanups/improvements. Patch 4 adds XML
support for more than 1 console device (not strictly required for
virtio console, but it's a valid use case). Patch 5 actually adds virtio
console support.
Thanks,
Cole
Cole Robinson (5):
docs: domain: Document virtio <channel>
domain conf: Rename character prop targetType -> deviceType
domain conf: char: Add an explicit targetType field
domain conf: Support multiple <console> devices
qemu: virtio console support
docs/formatdomain.html.in | 31 +++-
docs/schemas/domain.rng | 14 ++-
src/conf/domain_conf.c | 192 ++++++++++++--------
src/conf/domain_conf.h | 26 ++-
src/esx/esx_vmx.c | 4 +-
src/libvirt_private.syms | 1 +
src/lxc/lxc_driver.c | 8 +-
src/qemu/qemu_conf.c | 48 +++++-
src/qemu/qemu_driver.c | 3 +-
src/uml/uml_conf.c | 4 +-
src/uml/uml_driver.c | 6 +-
src/vbox/vbox_tmpl.c | 4 +-
src/xen/xend_internal.c | 16 ++-
src/xen/xm_internal.c | 19 ++-
.../qemuxml2argv-console-virtio.args | 1 +
.../qemuxml2argv-console-virtio.xml | 30 +++
tests/qemuxml2argvtest.c | 2 +
.../xml2sexprdata/xml2sexpr-pv-multi-console.sexpr | 1 +
tests/xml2sexprdata/xml2sexpr-pv-multi-console.xml | 24 +++
tests/xml2sexprtest.c | 1 +
20 files changed, 324 insertions(+), 111 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-virtio.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-virtio.xml
create mode 100644 tests/xml2sexprdata/xml2sexpr-pv-multi-console.sexpr
create mode 100644 tests/xml2sexprdata/xml2sexpr-pv-multi-console.xml