mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
Improve xend_get error message
This commit is contained in:
parent
443698d2b2
commit
c7095a4b4c
@ -1,3 +1,7 @@
|
|||||||
|
Thu Jan 15 15:11:35 GMT 2009 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* src/xend_internal.c: Improve xend_get error message
|
||||||
|
|
||||||
Thu Jan 15 01:31:45 GMT 2009 John Levon <levon@movementarian.org>
|
Thu Jan 15 01:31:45 GMT 2009 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* src/xen_internal.c: implement capabilities parsing for Solaris
|
* src/xen_internal.c: implement capabilities parsing for Solaris
|
||||||
|
@ -393,7 +393,8 @@ xend_get(virConnectPtr xend, const char *path,
|
|||||||
if (((ret < 0) || (ret >= 300)) &&
|
if (((ret < 0) || (ret >= 300)) &&
|
||||||
((ret != 404) || (!STRPREFIX(path, "/xend/domain/")))) {
|
((ret != 404) || (!STRPREFIX(path, "/xend/domain/")))) {
|
||||||
virXendError(xend, VIR_ERR_GET_FAILED,
|
virXendError(xend, VIR_ERR_GET_FAILED,
|
||||||
_("xend_get: error from xen daemon: %s"), content);
|
_("%d status from xen daemon: %s:%s"),
|
||||||
|
ret, path, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user