x86/paging: don't unconditionally BUG() on finding SHARED_M2P_ENTRY
authorJan Beulich <jbeulich@suse.com>
Tue, 12 Dec 2017 13:30:17 +0000 (14:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Dec 2017 13:30:17 +0000 (14:30 +0100)
commitb4d0218cff66b7eaa9c9b8dc9bd71e7b089b016d
tree7d1420595ccdfddbbc86d510e91e6f1b30f90741
parent10be8001de7d87be1f0ccdda75cc70e922e56d03
x86/paging: don't unconditionally BUG() on finding SHARED_M2P_ENTRY

PV guests can fully control the values written into the P2M.

This is XSA-251.

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