Re: [Xen-devel] [PATCH] compat.h: drop COMPAT_HANDLE_PARAM()

2017-02-02 Thread Stefano Stabellini
On Thu, 2 Feb 2017, Jan Beulich wrote: > The need for 8844ed299a ("x86/dmop: Fix compat_dm_op() ABI") has made > clear that its presence is actively dangerous. At the hypercall entry > points XEN_GUEST_HANDLE_PARAM() should be used anyway (regardless of > whether these are native or compat entry

Re: [Xen-devel] [PATCH] compat.h: drop COMPAT_HANDLE_PARAM()

2017-02-02 Thread Wei Liu
On Thu, Feb 02, 2017 at 04:45:37AM -0700, Jan Beulich wrote: > The need for 8844ed299a ("x86/dmop: Fix compat_dm_op() ABI") has made > clear that its presence is actively dangerous. At the hypercall entry > points XEN_GUEST_HANDLE_PARAM() should be used anyway (regardless of > whether these are

[Xen-devel] [PATCH] compat.h: drop COMPAT_HANDLE_PARAM()

2017-02-02 Thread Jan Beulich
The need for 8844ed299a ("x86/dmop: Fix compat_dm_op() ABI") has made clear that its presence is actively dangerous. At the hypercall entry points XEN_GUEST_HANDLE_PARAM() should be used anyway (regardless of whether these are native or compat entry points), and passing around handles internally