> On Jul 5, 2021, at 5:12 PM, Jan Beulich wrote: > > Introduce an inline wrapper dealing with the non-translated-domain case, > while stripping that logic from the main function, which gets renamed to > p2m_get_gfn_type_access(). HVM-only callers can then directly use the > main function. > > Along with renaming the main function also make its and the new inline > helper's GFN parameters type-safe. > > Signed-off-by: Jan Beulich Nit in the title: I read “HVM” as “aych vee emm”, and so I use ‘an’ before it rather than ‘a’; i.e., “derive an HVM-only…” I feel obligated to mention it but I’ll leave it to you whether you want to change it or not: Reviewed-by: George Dunlap