From: Ján Tomko Date: Mon, 16 Mar 2015 14:55:21 +0000 (+0100) Subject: Fix typo in error message X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=68545ea629b40927e36d2062eff6358014b9fc8d;p=libvirt.git Fix typo in error message by rewriting it completely from: error: unsupported configuration: virtio only support device address type 'PCI' to: error: unsupported configuration: virtio disk cannot have an address of type drive Since we now support CCW addresses as well. --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 7e6b95c751..99a19d6246 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -2427,8 +2427,9 @@ qemuAssignDevicePCISlots(virDomainDefPtr def, continue; if (def->disks[i]->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", - _("virtio only support device address type 'PCI'")); + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, + _("virtio disk cannot have an address of type '%s'"), + virDomainDeviceAddressTypeToString(def->disks[i]->info.type)); goto error; }