direct-io.hg
changeset 2391:61f948e59214
bitkeeper revision 1.1159.53.25 (4133b18fZ5FTt-fwTtgweJYFwIKErw)
Remove redundant multicall_op from libxc.
Remove redundant multicall_op from libxc.
author | kaf24@freefall.cl.cam.ac.uk |
---|---|
date | Mon Aug 30 23:00:31 2004 +0000 (2004-08-30) |
parents | b0b5ac0ee900 |
children | 8faec11c4d99 |
files | tools/libxc/xc_private.h |
line diff
1.1 --- a/tools/libxc/xc_private.h Mon Aug 30 22:26:14 2004 +0000 1.2 +++ b/tools/libxc/xc_private.h Mon Aug 30 23:00:31 2004 +0000 1.3 @@ -106,28 +106,6 @@ static inline int do_dom0_op(int xc_hand 1.4 out1: return ret; 1.5 } 1.6 1.7 -static inline int do_multicall_op(int xc_handle, 1.8 - void *call_list, int nr_calls) 1.9 -{ 1.10 - int ret = -1; 1.11 - privcmd_hypercall_t hypercall; 1.12 - 1.13 - hypercall.op = __HYPERVISOR_multicall; 1.14 - hypercall.arg[0] = (unsigned long)call_list; 1.15 - hypercall.arg[1] = (unsigned long)nr_calls; 1.16 - 1.17 - if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 ) 1.18 - { 1.19 - if ( errno == EACCES ) 1.20 - fprintf(stderr, "Dom0 operation failed -- need to" 1.21 - " rebuild the user-space tool set?\n"); 1.22 - goto out1; 1.23 - } 1.24 - 1.25 - out1: return ret; 1.26 -} 1.27 - 1.28 - 1.29 static inline int do_dom_mem_op(int xc_handle, 1.30 unsigned int memop, 1.31 unsigned int *extent_list,