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:
parent
833ae6b435
commit
a84d604db5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user