mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
qemuDomainLookupByUUID: print correct UUID string on failed lookup.
Currently we print the raw UUID which isn't very useful in ascii format.
This commit is contained in:
parent
58c73c1789
commit
4ff19ced3a
@ -1,3 +1,8 @@
|
|||||||
|
Fri May 29 10:01:19 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
|
* src/qemu_driver.c : qemuDomainLookupByUUID: print correct UUID
|
||||||
|
string on failed lookup.
|
||||||
|
|
||||||
Fri May 29 10:00:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
Fri May 29 10:00:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
* src/virsh.c : virsh: Use consistent spacing for net-list
|
* src/virsh.c : virsh: Use consistent spacing for net-list
|
||||||
|
@ -2043,7 +2043,7 @@ static virDomainPtr qemudDomainLookupByUUID(virConnectPtr conn,
|
|||||||
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
||||||
virUUIDFormat(uuid, uuidstr);
|
virUUIDFormat(uuid, uuidstr);
|
||||||
qemudReportError(conn, NULL, NULL, VIR_ERR_NO_DOMAIN,
|
qemudReportError(conn, NULL, NULL, VIR_ERR_NO_DOMAIN,
|
||||||
_("no domain with matching uuid '%s'"), uuid);
|
_("no domain with matching uuid '%s'"), uuidstr);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user