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 <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
John Ferlan 2018-06-11 18:44:02 -04:00
parent 310051c847
commit 0054c706e9

View 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;
}