x86/gnttab: relax a get_gfn() invocation
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Apr 2019 13:41:24 +0000 (15:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Apr 2019 13:41:24 +0000 (15:41 +0200)
commit85c88765b366973610c2ebe43df7f0f28deec44f
treea39c0f7017ba3ec431fe3b83589f04bcbab47589
parentc5985168152c7d990a9deb03193e66cbcc7281d9
x86/gnttab: relax a get_gfn() invocation

In the case here only a query is intended, i.e. without populating a
possible PoD or paged out entry, as the intention is to replace the
current (grant) entry anyway. Use get_gfn_query() there instead.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/grant_table.c