Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-12 Thread Ian Campbell
On Tue, 2015-05-12 at 15:18 +0800, Yang Hongyang wrote: On 05/11/2015 07:53 PM, Ian Campbell wrote: On Fri, 2015-05-08 at 17:33 +0800, Yang Hongyang wrote: Define a user pointer that can access the hypercall buffer data Useful when you only need to access the hypercall buffer data Can

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-12 Thread Yang Hongyang
On 05/12/2015 04:19 PM, Ian Campbell wrote: On Tue, 2015-05-12 at 15:18 +0800, Yang Hongyang wrote: On 05/11/2015 07:53 PM, Ian Campbell wrote: On Fri, 2015-05-08 at 17:33 +0800, Yang Hongyang wrote: Define a user pointer that can access the hypercall buffer data Useful when you only need

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-12 Thread Yang Hongyang
On 05/12/2015 05:43 PM, Ian Campbell wrote: On Tue, 2015-05-12 at 17:24 +0800, Yang Hongyang wrote: On 05/12/2015 04:19 PM, Ian Campbell wrote: On Tue, 2015-05-12 at 15:18 +0800, Yang Hongyang wrote: On 05/11/2015 07:53 PM, Ian Campbell wrote: On Fri, 2015-05-08 at 17:33 +0800, Yang

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-12 Thread Ian Campbell
On Tue, 2015-05-12 at 17:24 +0800, Yang Hongyang wrote: On 05/12/2015 04:19 PM, Ian Campbell wrote: On Tue, 2015-05-12 at 15:18 +0800, Yang Hongyang wrote: On 05/11/2015 07:53 PM, Ian Campbell wrote: On Fri, 2015-05-08 at 17:33 +0800, Yang Hongyang wrote: Define a user pointer that

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-11 Thread Ian Campbell
On Fri, 2015-05-08 at 17:33 +0800, Yang Hongyang wrote: Define a user pointer that can access the hypercall buffer data Useful when you only need to access the hypercall buffer data Can you expand on this please, I think the context is a hypercall buffer passed as an argument or as a member of

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-10 Thread Hongyang Yang
On 05/08/2015 06:16 PM, Andrew Cooper wrote: On 08/05/15 10:33, Yang Hongyang wrote: Define a user pointer that can access the hypercall buffer data Useful when you only need to access the hypercall buffer data Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com ---

[Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-08 Thread Yang Hongyang
Define a user pointer that can access the hypercall buffer data Useful when you only need to access the hypercall buffer data Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com --- tools/libxc/include/xenctrl.h | 8 1 file changed, 8 insertions(+) diff --git

Re: [Xen-devel] [PATCH Remus v2 04/10] tools/libxc: introduce DECLARE_HYPERCALL_BUFFER_USER_POINTER

2015-05-08 Thread Andrew Cooper
On 08/05/15 10:33, Yang Hongyang wrote: Define a user pointer that can access the hypercall buffer data Useful when you only need to access the hypercall buffer data Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com --- tools/libxc/include/xenctrl.h | 8 1 file changed, 8