From 0054c706e9e3af7666b0dcbea5f2ed8822649949 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Mon, 11 Jun 2018 18:44:02 -0400 Subject: [PATCH] qemu: Alter error message when IOThread address not correct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/qemu/qemu_domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }