mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03: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>
|
||||
|
||||
* 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);
|
||||
__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
|
||||
@ -702,10 +702,12 @@ virXenErrorFunc(virErrorNumber error, const char *func, const char *info,
|
||||
snprintf(fullinfo, 999, "%s: %s", func, info);
|
||||
fullinfo[999] = 0;
|
||||
__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 {
|
||||
__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…
Reference in New Issue
Block a user