mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
* src/xen_internal.c: some error handling improvements from Saori Fukuta
Daniel
This commit is contained in:
parent
6664fdec44
commit
90ae19cccf
@ -1,3 +1,7 @@
|
|||||||
|
Fri Jul 20 11:02:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/xen_internal.c: some error handling improvements from Saori Fukuta
|
||||||
|
|
||||||
Thu Jul 19 18:21:47 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
Thu Jul 19 18:21:47 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/Makefile.am src/openvz_conf.c src/openvz_conf.h
|
* src/Makefile.am src/openvz_conf.c src/openvz_conf.h
|
||||||
|
@ -672,7 +672,7 @@ virXenError(virErrorNumber error, const char *info, int value)
|
|||||||
|
|
||||||
errmsg = __virErrorMsg(error, info);
|
errmsg = __virErrorMsg(error, info);
|
||||||
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
|
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
|
||||||
errmsg, info, NULL, value, 0, errmsg, info);
|
errmsg, info, NULL, value, 0, errmsg, info, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef PROXY
|
#ifndef PROXY
|
||||||
@ -702,10 +702,12 @@ virXenErrorFunc(virErrorNumber error, const char *func, const char *info,
|
|||||||
snprintf(fullinfo, 999, "%s: %s", func, info);
|
snprintf(fullinfo, 999, "%s: %s", func, info);
|
||||||
fullinfo[999] = 0;
|
fullinfo[999] = 0;
|
||||||
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
|
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
|
||||||
errmsg, fullinfo, NULL, value, 0, errmsg, fullinfo);
|
errmsg, fullinfo, NULL, value, 0, errmsg, fullinfo,
|
||||||
|
value);
|
||||||
} else {
|
} else {
|
||||||
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
|
__virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR,
|
||||||
errmsg, info, NULL, value, 0, errmsg, info);
|
errmsg, info, NULL, value, 0, errmsg, info,
|
||||||
|
value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user