We have such a check here but no-where else. It shouldn't have been
added by
af909e7e16 ("M2P translation cannot be handled through flat
table with") in the first place.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
unmap_domain_page(pl4e);
*val = compat_pfn_to_cr3(mfn_to_gmfn(currd, mfn_x(mfn)));
}
- /* PTs should not be shared */
- BUG_ON(page_get_owner(mfn_to_page(mfn)) == dom_cow);
+
return X86EMUL_OKAY;
}
}