x86/mem-paging: use guest handle for XENMEM_paging_op_prep
authorJan Beulich <jbeulich@suse.com>
Mon, 18 May 2020 15:15:46 +0000 (17:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 May 2020 15:15:46 +0000 (17:15 +0200)
commit9f40699c956c10419a91db0ff8d0c985dd3b2800
treef6b7c92e87baae978dc0a88745602513efc5af75
parent5dc999d711a75e1a83d4b21da203d3c3197ec0e0
x86/mem-paging: use guest handle for XENMEM_paging_op_prep

While it should have been this way from the beginning, not doing so will
become an actual problem with PVH Dom0. The interface change is binary
compatible, but requires tools side producers to be re-built.

Drop the bogus/unnecessary page alignment restriction on the input
buffer at the same time.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libxc/xc_mem_paging.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h
xen/include/public/memory.h