1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

qemu: domain: Fix error message in qemuDomainDiskChangeSupported

disk->dst represents the <target> element in the XML.
This commit is contained in:
Peter Krempa 2016-04-28 17:50:40 +02:00
parent 833ae6b435
commit a84d604db5

View File

@ -3828,7 +3828,7 @@ qemuDomainDiskChangeSupported(virDomainDiskDefPtr disk,
if (STRNEQ(disk->dst, orig_disk->dst)) {
virReportError(VIR_ERR_OPERATION_UNSUPPORTED,
_("cannot modify field '%s' of the disk"),
"bus");
"target");
return false;
}
CHECK_EQ(tray_status, "tray", true);