]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow multiple consoles per virtual guest
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Feb 2011 18:27:23 +0000 (18:27 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 3 Nov 2011 12:01:05 +0000 (12:01 +0000)
commit0873b688c6771a6901d7ec95f5b8e88cc957947b
tree86c68a72c132f273125d6f91f5c23373a9567696
parentb0a510ad2a3d11150ce7f10c76d333b3f18022b6
Allow multiple consoles per virtual guest

While Xen only has a single paravirt console, UML, and
QEMU both support multiple paravirt consoles. The LXC
driver can also be trivially made to support multiple
consoles. This patch extends the XML to allow multiple
<console> elements in the XML. It also makes the UML
and QEMU drivers support this config.

* src/conf/domain_conf.c, src/conf/domain_conf.h: Allow
  multiple <console> devices
* src/lxc/lxc_driver.c, src/xen/xen_driver.c,
  src/xenxs/xen_sxpr.c, src/xenxs/xen_xm.c: Update for
  internal API changes
* src/security/security_selinux.c, src/security/virt-aa-helper.c:
  Only label consoles that aren't a copy of the serial device
* src/qemu/qemu_command.c, src/qemu/qemu_driver.c,
  src/qemu/qemu_process.c, src/uml/uml_conf.c,
  src/uml/uml_driver.c: Support multiple console devices
* tests/qemuxml2xmltest.c, tests/qemuxml2argvtest.c: Extra
  tests for multiple virtio consoles. Set QEMU_CAPS_CHARDEV
  for all console /channel tests
* tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.args,
  tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args
  tests/qemuxml2argvdata/qemuxml2argv-console-virtio.args: Update
  for correct chardev syntax
* tests/qemuxml2argvdata/qemuxml2argv-console-virtio-many.args,
  tests/qemuxml2argvdata/qemuxml2argv-console-virtio-many.xml: New
  test file
21 files changed:
docs/formatdomain.html.in
src/conf/domain_conf.c
src/conf/domain_conf.h
src/lxc/lxc_driver.c
src/qemu/qemu_command.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
src/security/security_selinux.c
src/security/virt-aa-helper.c
src/uml/uml_conf.c
src/uml/uml_driver.c
src/xen/xen_driver.c
src/xenxs/xen_sxpr.c
src/xenxs/xen_xm.c
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-auto.args
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args
tests/qemuxml2argvdata/qemuxml2argv-console-virtio-many.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-console-virtio-many.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-console-virtio.args
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c