aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_private.h
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-02-06 05:07:20 -0800
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-02-06 05:07:20 -0800
commit9ea4c2df1542d65001187361bbc968d4f91eda5c (patch)
treefd1094137dd3a0a6653cff2b185fa481906ba08b /tools/libxc/xc_private.h
parente012ef393b73d499497d146696cfec5dda28cf89 (diff)
downloadxen-9ea4c2df1542d65001187361bbc968d4f91eda5c.tar.gz
xen-9ea4c2df1542d65001187361bbc968d4f91eda5c.tar.bz2
xen-9ea4c2df1542d65001187361bbc968d4f91eda5c.zip
flask: Update flask_op hypercall structure
Instead of placing string parsing inside the hypervisor, use binary structures like other Xen hypercalls do. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r--tools/libxc/xc_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index 3687561df0..7b83ef316a 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -42,11 +42,13 @@
#define DECLARE_DOMCTL struct xen_domctl domctl = { 0 }
#define DECLARE_SYSCTL struct xen_sysctl sysctl = { 0 }
#define DECLARE_PHYSDEV_OP struct physdev_op physdev_op = { 0 }
+#define DECLARE_FLASK_OP struct xen_flask_op op = { 0 }
#else
#define DECLARE_HYPERCALL privcmd_hypercall_t hypercall
#define DECLARE_DOMCTL struct xen_domctl domctl
#define DECLARE_SYSCTL struct xen_sysctl sysctl
#define DECLARE_PHYSDEV_OP struct physdev_op physdev_op
+#define DECLARE_FLASK_OP struct xen_flask_op op
#endif
#undef PAGE_SHIFT