aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_domain.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-24 16:33:19 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-24 16:33:19 +0000
commit46c01e0595e4292bb00d094f8526739a89480c84 (patch)
treeafde510f6359e31bdec8b6758e1c7669d02eb2ef /tools/libxc/xc_domain.c
parent16324b1affd81722aa3317eec67804329f943a2d (diff)
downloadxen-46c01e0595e4292bb00d094f8526739a89480c84.tar.gz
xen-46c01e0595e4292bb00d094f8526739a89480c84.tar.bz2
xen-46c01e0595e4292bb00d094f8526739a89480c84.zip
Make domctl/sysctl interfaces 32-/64-bit invariant.
This kills off a fair amount of unpleasant CONFIG_COMPAT shimming and avoids needing to keep the compat paths in sync as these interfaces continue to develop. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_domain.c')
-rw-r--r--tools/libxc/xc_domain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c
index 4b9c5ea70d..6b67450261 100644
--- a/tools/libxc/xc_domain.c
+++ b/tools/libxc/xc_domain.c
@@ -323,7 +323,8 @@ int xc_shadow_control(int xc_handle,
domctl.u.shadow_op.pages = pages;
domctl.u.shadow_op.mb = mb ? *mb : 0;
domctl.u.shadow_op.mode = mode;
- set_xen_guest_handle(domctl.u.shadow_op.dirty_bitmap, dirty_bitmap);
+ set_xen_guest_handle(domctl.u.shadow_op.dirty_bitmap,
+ (uint8_t *)dirty_bitmap);
rc = do_domctl(xc_handle, &domctl);