mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-14 08:35:15 +00:00
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. (cherry picked from commit 68545ea629b40927e36d2062eff6358014b9fc8d)
This commit is contained in:
parent
b1972ce50b
commit
6d1430ec7f
@ -2371,8 +2371,9 @@ qemuAssignDevicePCISlots(virDomainDefPtr def,
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (def->disks[i]->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE) {
|
if (def->disks[i]->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE) {
|
||||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||||
_("virtio only support device address type 'PCI'"));
|
_("virtio disk cannot have an address of type '%s'"),
|
||||||
|
virDomainDeviceAddressTypeToString(def->disks[i]->info.type));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user