[PATCH 0/5] Allocate virtio-serial addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Instead of simply incrementing the port, respect
maximum port values and use multiple controllers.

Ján Tomko (5):
  Add test for virtio serial port assignment
  Add functions to track virtio-serial addresses
  Allocate virtio-serial addresses when starting a domain
  Expand the address set when attaching a virtio-serial controller
  Assign an address when hotplugging a virtio-serial device

 src/conf/domain_addr.c                             | 382 +++++++++++++++++++++
 src/conf/domain_addr.h                             |  45 +++
 src/conf/domain_conf.c                             |  29 --
 src/libvirt_private.syms                           |   8 +
 src/qemu/qemu_command.c                            |  63 ++++
 src/qemu/qemu_domain.c                             |   1 +
 src/qemu/qemu_domain.h                             |   1 +
 src/qemu/qemu_hotplug.c                            |  32 +-
 src/qemu/qemu_process.c                            |   2 +
 tests/qemuhotplugtest.c                            |   2 +-
 .../qemuxml2argv-channel-virtio-auto.args          |   8 +-
 .../qemuxml2argv-channel-virtio-autoassign.args    |  20 ++
 .../qemuxml2argv-channel-virtio-autoassign.xml     |  50 +++
 tests/qemuxml2argvtest.c                           |   2 +
 .../qemuxml2xmlout-channel-virtio-auto.xml         |  10 +-
 15 files changed, 614 insertions(+), 41 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-autoassign.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-autoassign.xml

-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]