diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-12-03 09:36:46 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-12-03 09:36:46 +0000 |
commit | 2e04f9622fa58db6a5f4a1f8242877af25429db6 (patch) | |
tree | b01ae067276a38086508d1e1ef647ed430879478 /tools/libxc/xenctrlosdep.h | |
parent | 02e4f47747e6198c834017e5038fa6bf98a0cfeb (diff) | |
download | xen-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.h | 6 |
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; |