[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/3] x86/mm: drop yet another relic of translated PV domains from new_guest_cr3()
The function can be called for PV domains only, which commit 5a0b9fba92 ("x86/mm: drop further relics of translated PV domains") sort of realized, but not fully. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2846,9 +2846,7 @@ int new_guest_cr3(mfn_t mfn) return 0; } - rc = paging_mode_refcounts(d) - ? (get_page_from_mfn(mfn, d) ? 0 : -EINVAL) - : get_page_and_type_from_mfn(mfn, PGT_root_page_table, d, 0, 1); + rc = get_page_and_type_from_mfn(mfn, PGT_root_page_table, d, 0, 1); switch ( rc ) { case 0: _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |