mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
qemu: domain: Mention searched disk in error of qemuDomainDiskByName
Mention the argument used if the disk can't be located. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
863c0d8e8d
commit
ca67d02fbe
@ -12490,8 +12490,8 @@ qemuDomainDiskByName(virDomainDefPtr def,
|
||||
virDomainDiskDefPtr ret;
|
||||
|
||||
if (!(ret = virDomainDiskByName(def, name, true))) {
|
||||
virReportError(VIR_ERR_INVALID_ARG, "%s",
|
||||
_("No device found for specified path"));
|
||||
virReportError(VIR_ERR_INVALID_ARG,
|
||||
_("disk '%s' not found in domain"), name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user