Jan Beulich
2010-Dec-01 10:42 UTC
[Xen-devel] [PATCH] libxc: correct bounce direction for debug-key handling
Signed-off-by: Jan Beulich <jbeulich@novell.com> --- a/tools/libxc/xc_misc.c +++ b/tools/libxc/xc_misc.c @@ -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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2010-Dec-01 10:53 UTC
Re: [Xen-devel] [PATCH] libxc: correct bounce direction for debug-key handling
On Wed, 2010-12-01 at 10:42 +0000, Jan Beulich wrote:> Signed-off-by: Jan Beulich <jbeulich@novell.com>Good catch, thanks, Acked-by: Ian Campbell <Ian.Campbell@citrix.com>> > --- a/tools/libxc/xc_misc.c > +++ b/tools/libxc/xc_misc.c > @@ -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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Dec-10 18:27 UTC
Re: [Xen-devel] [PATCH] libxc: correct bounce direction for debug-key handling
Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxc: correct bounce direction for debug-key handling"):> On Wed, 2010-12-01 at 10:42 +0000, Jan Beulich wrote: > > Signed-off-by: Jan Beulich <jbeulich@novell.com> > > Good catch, thanks, > > Acked-by: Ian Campbell <Ian.Campbell@citrix.com>Applied, thanks. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel