aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xenctrlosdep.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-12-03 09:36:46 +0000
committerIan Campbell <ian.campbell@citrix.com>2010-12-03 09:36:46 +0000
commit2e04f9622fa58db6a5f4a1f8242877af25429db6 (patch)
treeb01ae067276a38086508d1e1ef647ed430879478 /tools/libxc/xenctrlosdep.h
parent02e4f47747e6198c834017e5038fa6bf98a0cfeb (diff)
downloadxen-2e04f9622fa58db6a5f4a1f8242877af25429db6.tar.gz
xen-2e04f9622fa58db6a5f4a1f8242877af25429db6.tar.bz2
xen-2e04f9622fa58db6a5f4a1f8242877af25429db6.zip
libxc: osdep: convert do_xen_hypercall()
do_privcmd() was only ever used by do_xen_hypercall() so remove it. 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/libxc/xenctrlosdep.h b/tools/libxc/xenctrlosdep.h
index f807d0d2dc..59928fb7b7 100644
--- a/tools/libxc/xenctrlosdep.h
+++ b/tools/libxc/xenctrlosdep.h
@@ -59,6 +59,12 @@ struct xc_osdep_ops
xc_osdep_handle (*open)(xc_interface *xch);
int (*close)(xc_interface *xch, xc_osdep_handle h);
+
+ union {
+ struct {
+ int (*hypercall)(xc_interface *xch, xc_osdep_handle h, privcmd_hypercall_t *hypercall);
+ } privcmd;
+ } u;
};
typedef struct xc_osdep_ops xc_osdep_ops;