Re: [Xen-devel] [PATCH v4 02/31] x86/mm: carve out replace_grant_pv_mapping

2017-08-18 Thread Jan Beulich
>>> On 17.08.17 at 16:44, wrote: > And at once make it an inline function. Add declarations of > replace_grant_{hvm,pv}_mapping to respective header files. Same remark on function name. > @@ -38,6 +40,12 @@ static inline int create_grant_p2m_mapping(uint64_t addr, >

[Xen-devel] [PATCH v4 02/31] x86/mm: carve out replace_grant_pv_mapping

2017-08-17 Thread Wei Liu
And at once make it an inline function. Add declarations of replace_grant_{hvm,pv}_mapping to respective header files. The code movement will be done later. Signed-off-by: Wei Liu --- xen/arch/x86/mm.c | 9 +++-- xen/include/asm-x86/grant_table.h