x86/mm: pull a sanity check earlier in xenmem_add_to_physmap_one()
authorJan Beulich <jbeulich@suse.com>
Tue, 29 Jun 2021 09:03:29 +0000 (11:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Jun 2021 09:03:29 +0000 (11:03 +0200)
commitf8582da0417660269bec69e399f8667f761e886b
tree0f10351280b4c808ca08de6691247aa420ebb3bf
parent17e91570c5a442d0500b05c157966ac212a1f12f
x86/mm: pull a sanity check earlier in xenmem_add_to_physmap_one()

We should try to limit the failure reasons after we've started making
changes.

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