]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Alter error message when IOThread address not correct
authorJohn Ferlan <jferlan@redhat.com>
Mon, 11 Jun 2018 22:44:02 +0000 (18:44 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 11 Jun 2018 22:44:02 +0000 (18:44 -0400)
Make the error a bit clearer that virtio-scsi IOThreads require
virtio pci or ccw controller address types.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c

index 11c261db1a443af7883e3a01a840371e5ed4f1dd..cd8870ae1fe9cb8f1c22d1e913862b89079c4cc0 100644 (file)
@@ -4784,8 +4784,8 @@ qemuDomainCheckSCSIControllerIOThreads(const virDomainControllerDef *controller,
     if (controller->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_PCI &&
         controller->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_CCW) {
        virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                       _("IOThreads only available for virtio pci and "
-                         "virtio ccw controllers"));
+                       _("virtio-scsi IOThreads only available for virtio "
+                         "pci and virtio ccw controllers"));
        return false;
     }