libvirt/tests/qemuhotplugtestdomains
Divya Garg 11ddab1daf Add the port allocation logic for isa-serial devices.
This commit takes care of following cases:
-> Check availability of requested ports.
  ->The total number of requested ports should not be more than
    VIR_MAX_ISA_SERIAL_PORTS.
  ->The ports requested should be less than VIR_MAX_ISA_SERIAL_PORTS.
  ->VIR_MAX_ISA_SERIAL_PORTS should correspond to MAX_ISA_SERIAL_PORTS
    specified in QEMU code commit def337ffda34d331404bd7f1a42726b71500df22.
-> Prevent duplicate device assignments to the same port.
-> In case no ports are provided in the XML, this patch scans the list of unused
   isa-serial indices to automatically assign available ports for this VM.

Signed-off-by: Divya Garg <divya.garg@nutanix.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2022-01-14 15:41:57 +01:00
..
qemuhotplug-base-ccw-live-with-2-ccw-virtio.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-reverse.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live-with-ccw-virtio.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-ccw-live+ccw-virtio.xml tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemuhotplug-base-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+disk-scsi-multipath.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+disk-scsi-wwn.xml tests: hotplug: Test disks with duplicate WWNs 2017-06-23 14:11:25 +02:00
qemuhotplug-base-live+disk-scsi-wwn+disk-scsi-duplicate-wwn.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+disk-scsi.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+disk-usb.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+disk-virtio.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-live+guestfwd.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+hostdev-pci.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-live+interface-vdpa.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-live+ivshmem-doorbell-detach.xml
qemuhotplug-base-live+ivshmem-doorbell.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-live+ivshmem-plain-detach.xml
qemuhotplug-base-live+ivshmem-plain.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-live+qemu-agent-detach.xml
qemuhotplug-base-live+qemu-agent.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-base-live+watchdog-user-alias.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-live+watchdog.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-with-scsi-controller-live.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base-with-scsi-controller-live+disk-scsi-2.xml
qemuhotplug-base-without-scsi-controller-live.xml
qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-base+qemu-agent-detach.xml
qemuhotplug-base+qemu-agent.xml
qemuhotplug-console-compat-2-live.xml Add the port allocation logic for isa-serial devices. 2022-01-14 15:41:57 +01:00
qemuhotplug-console-compat-2-live+console-virtio.xml Add the port allocation logic for isa-serial devices. 2022-01-14 15:41:57 +01:00
qemuhotplug-disk-cdrom.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemuhotplug-graphics-spice-listen-network.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemuhotplug-graphics-spice-timeout.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemuhotplug-graphics-spice.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemuhotplug-pseries-base-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemuhotplug-pseries-base-live+hostdev-pci.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00