libxc: correct bounce direction for debug-key handling
PATCH 1/1 libxc: correct bounce direction for debug-key handling
Signed-off-by Jan Beulich <[email protected]>
tools/libxc/xc_misc.c +1 -1
@@ -90,7 +90,7 @@ int xc_send_debug_keys(xc_interface *xch {int ret, len =strlen (keys);DECLARE_SYSCTL ; -DECLARE_HYPERCALL_BOUNCE (keys, len,XC_HYPERCALL_BUFFER_BOUNCE_OUT ); +DECLARE_HYPERCALL_BOUNCE (keys, len,XC_HYPERCALL_BUFFER_BOUNCE_IN );if (xc_hypercall_bounce_pre (xch, keys) )return -1 ;
Signed-off-by Jan Beulich <[email protected]>
tools/libxc/xc_misc.c +1 -1
@@ -90,7 +90,7 @@ int xc_send_debug_keys(xc_interface *xch {int ret, len =strlen (keys);DECLARE_SYSCTL ; -DECLARE_HYPERCALL_BOUNCE (keys, len,XC_HYPERCALL_BUFFER_BOUNCE_OUT ); +DECLARE_HYPERCALL_BOUNCE (keys, len,XC_HYPERCALL_BUFFER_BOUNCE_IN );if (xc_hypercall_bounce_pre (xch, keys) )return -1 ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 1 line · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>
Good catch, thanks,
Acked-by Ian Campbell <[email protected]>
Quoted 15 lines
tools/libxc/xc_misc.c +1
-1@@ -90,7 +90,7 @@ int xc_send_debug_keys(xc_interface *xch {int ret, len =strlen (keys);DECLARE_SYSCTL ; -DECLARE_HYPERCALL_BOUNCE (keys, len,XC_HYPERCALL_BUFFER_BOUNCE_OUT ); +DECLARE_HYPERCALL_BOUNCE (keys, len,XC_HYPERCALL_BUFFER_BOUNCE_IN );if (xc_hypercall_bounce_pre (xch, keys) )return -1 ;
Ian Jackson
AppliedIan Campbell writes ("Re: [Xen-devel] [PATCH] libxc: correct bounce direction for debug-key handling"):
Quoted 6 lines · Jan Beulich
Quoted 1 line
Signed-off-by Jan Beulich <[email protected]>Good catch, thanks,
Acked-by Ian Campbell <[email protected]>
Applied, thanks.
Ian.