[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v1 08/12] tmem: Handle 'struct tmem_info' as a seperate field in the



On Wed, Sep 28, 2016 at 05:42:22AM -0400, Konrad Rzeszutek Wilk wrote:
> the struct tmem_op.
> 
> No functional change. But it makes the code so much easier
> to read.
> 
> Note: We still have to do this awkward 'guest_handle_cast'
> otherwise it will not compile on ARM - which defines _two_
> of these macros (__guest_handle_64_xen_sysctl_tmem_client_t
> and __guest_handle_xen_sysctl_tmem_client_t). And if cast is
> not used then a compile error comes up as we use the wrong one.
> 
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> ---
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
> 
> v1: First submission.
> ---
>  tools/libxc/xc_tmem.c       |  4 +--

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.