>>> On 14.02.19 at 12:10, <wei.l...@citrix.com> wrote: > From: Andrew Cooper <andrew.coop...@citrix.com> > > dom0_construct_pv() has logic to transition dom0 into a compat domain when > booting an ELF32 image. > > One aspect which is missing is the CPUID policy recalculation, meaning that a > 32bit dom0 sees a 64bit policy, which differ by the Long Mode feature flag in > particular. Another missing item is the x87_fip_width initialisation. > > Update dom0_construct_pv() to use switch_compat(), rather than retaining the > opencoding. Position the call to switch_compat() such that the compat32 local > variable can disappear entirely. > > The 32bit monitor table is now created by setup_compat_l4(), avoiding the need > to for manual creation later. Furthermore, the L3 table creation is redundant > with the logic inside the main mapping loop, so can be dropped as well.
This last sentence is no longer applicable afaict. > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > Signed-off-by: Wei Liu <wei.l...@citrix.com> With that line dropped Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel