From: "Jan Beulich" Subject: [PATCH] libxc: correct bounce direction for debug-key handling Date: Wed, 01 Dec 2010 10:42:59 +0000 Message-ID: <4CF634C302000078000251AF@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part577AE0A3.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part577AE0A3.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Signed-off-by: Jan Beulich --- 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 =3D strlen(keys); DECLARE_SYSCTL; - DECLARE_HYPERCALL_BOUNCE(keys, len, XC_HYPERCALL_BUFFER_BOUNCE_OUT); + DECLARE_HYPERCALL_BOUNCE(keys, len, XC_HYPERCALL_BUFFER_BOUNCE_IN); =20 if ( xc_hypercall_bounce_pre(xch, keys) ) return -1; --=__Part577AE0A3.0__= Content-Type: text/plain; name="xc-debug-keys-bounce.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xc-debug-keys-bounce.patch" Signed-off-by: Jan Beulich =0A=0A--- a/tools/libxc/xc_= misc.c=0A+++ b/tools/libxc/xc_misc.c=0A@@ -90,7 +90,7 @@ int xc_send_debug_= keys(xc_interface *xch=0A {=0A int ret, len =3D strlen(keys);=0A = DECLARE_SYSCTL;=0A- DECLARE_HYPERCALL_BOUNCE(keys, len, XC_HYPERCALL_BUF= FER_BOUNCE_OUT);=0A+ DECLARE_HYPERCALL_BOUNCE(keys, len, XC_HYPERCALL_BU= FFER_BOUNCE_IN);=0A =0A if ( xc_hypercall_bounce_pre(xch, keys) )=0A = return -1;=0A --=__Part577AE0A3.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part577AE0A3.0__=--