Re: [Xen-devel] [PATCH v2] x86/pv: Fix construction of 32bit dom0's

2019-02-14 Thread Wei Liu
On Thu, Feb 14, 2019 at 12:02:36PM +, Andrew Cooper wrote: > On 14/02/2019 12:01, Jan Beulich wrote: > On 14.02.19 at 12:54, wrote: > >> On Thu, Feb 14, 2019 at 04:49:21AM -0700, Jan Beulich wrote: > >> On 14.02.19 at 12:10, wrote: > From: Andrew Cooper > > dom0_const

Re: [Xen-devel] [PATCH v2] x86/pv: Fix construction of 32bit dom0's

2019-02-14 Thread Andrew Cooper
On 14/02/2019 12:01, Jan Beulich wrote: On 14.02.19 at 12:54, wrote: >> On Thu, Feb 14, 2019 at 04:49:21AM -0700, Jan Beulich wrote: >> On 14.02.19 at 12:10, wrote: From: Andrew Cooper dom0_construct_pv() has logic to transition dom0 into a compat domain when booting

Re: [Xen-devel] [PATCH v2] x86/pv: Fix construction of 32bit dom0's

2019-02-14 Thread Jan Beulich
>>> On 14.02.19 at 12:54, wrote: > On Thu, Feb 14, 2019 at 04:49:21AM -0700, Jan Beulich wrote: >> >>> On 14.02.19 at 12:10, wrote: >> > From: Andrew Cooper >> > >> > dom0_construct_pv() has logic to transition dom0 into a compat domain when >> > booting an ELF32 image. >> > >> > One aspect wh

Re: [Xen-devel] [PATCH v2] x86/pv: Fix construction of 32bit dom0's

2019-02-14 Thread Wei Liu
On Thu, Feb 14, 2019 at 04:49:21AM -0700, Jan Beulich wrote: > >>> On 14.02.19 at 12:10, wrote: > > From: Andrew Cooper > > > > 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 recalcul

Re: [Xen-devel] [PATCH v2] x86/pv: Fix construction of 32bit dom0's

2019-02-14 Thread Jan Beulich
>>> On 14.02.19 at 12:10, wrote: > From: Andrew Cooper > > 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

[Xen-devel] [PATCH v2] x86/pv: Fix construction of 32bit dom0's

2019-02-14 Thread Wei Liu
From: Andrew Cooper 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