libvirt/tests/qemucapabilitiesdata
John Ferlan e2faa97672 qemu: Add capability for virtio-scsi iothreads
An iothread for virtio-scsi is a property of the controller. Add a lookup
of the 'virtio-scsi-pci' and 'virtio-scsi-ccw' device properties and parse
the output.  For both, support for the iothread was added in qemu 2.4
while support for virtio-scsi in general was added in qemu 1.4.

Modify the various mock capabilities replies (by hand) to reflect the
when virtio-scsi was supported and then specifically when the iothread
property was added. For versions prior to 1.4, use the no device error
return for virtio-scsi. For versions 1.4 to before 2.4, add some data
for virtio-scsi-pci even though it isn't complete we're not looking for
anything specific there anyway. For 2.4 to 2.6, add a more complete reply.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-05-03 14:08:05 -04:00
..
caps_1.2.2-1.caps qemu: hotplug: Skip waiting for tray opening if qemu doesn't notify us 2016-05-02 08:49:34 +02:00
caps_1.2.2-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_1.3.1-1.caps qemu: caps: introduce QEMU_CAPS_NEC_USB_XHCI_PORTS 2016-05-03 08:58:30 -04:00
caps_1.3.1-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_1.4.2-1.caps qemu: caps: introduce QEMU_CAPS_NEC_USB_XHCI_PORTS 2016-05-03 08:58:30 -04:00
caps_1.4.2-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_1.5.3-1.caps qemu: caps: introduce QEMU_CAPS_NEC_USB_XHCI_PORTS 2016-05-03 08:58:30 -04:00
caps_1.5.3-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_1.6.0-1.caps qemu: caps: introduce QEMU_CAPS_NEC_USB_XHCI_PORTS 2016-05-03 08:58:30 -04:00
caps_1.6.0-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_1.6.50-1.caps qemu: caps: introduce QEMU_CAPS_NEC_USB_XHCI_PORTS 2016-05-03 08:58:30 -04:00
caps_1.6.50-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.1.1-1.caps qemu: caps: introduce QEMU_CAPS_NEC_USB_XHCI_PORTS 2016-05-03 08:58:30 -04:00
caps_2.1.1-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.4.0-1.caps qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.4.0-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.5.0-1.caps qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.5.0-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.6.0-1.caps qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00
caps_2.6.0-1.replies qemu: Add capability for virtio-scsi iothreads 2016-05-03 14:08:05 -04:00