mirror of
https://github.com/libvirt/libvirt.git
synced 2026-07-31 08:38:16 -05:00
qemu: domain: Fix error message in qemuDomainDiskChangeSupported
disk->dst represents the <target> element in the XML.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user