diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-12-03 09:36:47 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-12-03 09:36:47 +0000 |
commit | b3f425bbfef9460c9e405e9a638b6aad8652c032 (patch) | |
tree | e6ba75cfb8e1347da9bcb3029ed7fc9ca045d812 /tools/libxc/xenctrlosdep.h | |
parent | 2de68899197631eb7527fd6c519e6ea55ab64f1c (diff) | |
download | xen-b3f425bbfef9460c9e405e9a638b6aad8652c032.tar.gz xen-b3f425bbfef9460c9e405e9a638b6aad8652c032.tar.bz2 xen-b3f425bbfef9460c9e405e9a638b6aad8652c032.zip |
libxc: allow osdep backends to log via the xc infrastructure.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxc/xenctrlosdep.h')
-rw-r--r-- | tools/libxc/xenctrlosdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xenctrlosdep.h b/tools/libxc/xenctrlosdep.h index 874fd653b4..a2680b220c 100644 --- a/tools/libxc/xenctrlosdep.h +++ b/tools/libxc/xenctrlosdep.h @@ -136,6 +136,9 @@ void *xc_map_foreign_bulk_compat(xc_interface *xch, xc_osdep_handle h, uint32_t dom, int prot, const xen_pfn_t *arr, int *err, unsigned int num); +/* Report errors through xc_interface */ +void xc_osdep_log(xc_interface *xch, xentoollog_level level, int code, const char *fmt, ...); + #endif /* |