From: John Ferlan Date: Mon, 11 Jun 2018 22:44:02 +0000 (-0400) Subject: qemu: Alter error message when IOThread address not correct X-Git-Tag: v4.5.0-rc1~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0054c706e9e3af7666b0dcbea5f2ed8822649949;p=thirdparty%2Flibvirt.git qemu: Alter error message when IOThread address not correct Make the error a bit clearer that virtio-scsi IOThreads require virtio pci or ccw controller address types. Signed-off-by: John Ferlan Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 11c261db1a..cd8870ae1f 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -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; }