]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Include port number with virtio serial devices
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 2 Jun 2010 15:58:39 +0000 (16:58 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jun 2010 14:08:15 +0000 (15:08 +0100)
commit2e56cfa7d2a2120c759a2b1af93501a1ec0bc4f6
tree883b48efa24d91a3743e1b5029b68e6a3960e328
parentb490f2c1e0dbb6e40f8876db90bfbe5d19ad6ed3
Include port number with virtio serial devices

To ensure that the device addressing scheme is stable across
hotplug/unplug, all virtio serial channels needs to have an
associated port number in their address. This is then specified
to QEMU using the nr=NNN parameter

* src/conf/domain_conf.c, src/conf/domain_conf.h: Parsing
  for port number in vioserial address types.
* src/qemu/qemu_conf.c: Set 'nr=NNN' parameter with virtio
  serial port number
* tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args,
  tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml: Expand
  data set to ensure coverage of port addressing
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.args
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio.xml