Re: [Xen-devel] Mapping active GDT

2017-03-13 Thread Thomas Garnier
On Mon, Mar 13, 2017 at 10:32 AM, Boris Ostrovsky wrote: > No, it will need a few small changes. I am actually finishing the test > run (in the next hour or so) and will reply on the Linux thread. > Great, thanks again! -- Thomas ___ Xen-devel mail

Re: [Xen-devel] Mapping active GDT

2017-03-13 Thread Boris Ostrovsky
On 03/13/2017 01:30 PM, Thomas Garnier wrote: > On Mon, Mar 13, 2017 at 6:09 AM, Boris Ostrovsky > wrote: >> On 03/11/2017 08:06 AM, Andrew Cooper wrote: >>> On 11/03/2017 03:58, Boris Ostrovsky wrote: On 03/10/2017 09:39 PM, Boris Ostrovsky wrote: > I am looking into GDT remap series [0]

Re: [Xen-devel] Mapping active GDT

2017-03-13 Thread Thomas Garnier
On Mon, Mar 13, 2017 at 6:09 AM, Boris Ostrovsky wrote: > On 03/11/2017 08:06 AM, Andrew Cooper wrote: >> On 11/03/2017 03:58, Boris Ostrovsky wrote: >>> On 03/10/2017 09:39 PM, Boris Ostrovsky wrote: I am looking into GDT remap series [0] which crashes PV guests and it seems that the pr

Re: [Xen-devel] Mapping active GDT

2017-03-13 Thread Boris Ostrovsky
On 03/11/2017 08:06 AM, Andrew Cooper wrote: > On 11/03/2017 03:58, Boris Ostrovsky wrote: >> On 03/10/2017 09:39 PM, Boris Ostrovsky wrote: >>> I am looking into GDT remap series [0] which crashes PV guests and it >>> seems that the problem lies in the fact that we cannot establish new >>> mapping

Re: [Xen-devel] Mapping active GDT

2017-03-11 Thread Andrew Cooper
On 11/03/2017 03:58, Boris Ostrovsky wrote: > On 03/10/2017 09:39 PM, Boris Ostrovsky wrote: >> I am looking into GDT remap series [0] which crashes PV guests and it >> seems that the problem lies in the fact that we cannot establish new >> mapping to an already existing GDT. >> >> The mapping is c

Re: [Xen-devel] Mapping active GDT

2017-03-10 Thread Boris Ostrovsky
On 03/10/2017 09:39 PM, Boris Ostrovsky wrote: > I am looking into GDT remap series [0] which crashes PV guests and it > seems that the problem lies in the fact that we cannot establish new > mapping to an already existing GDT. > > The mapping is created by > > +static inline void setup_fixmap_gdt(

[Xen-devel] Mapping active GDT

2017-03-10 Thread Boris Ostrovsky
I am looking into GDT remap series [0] which crashes PV guests and it seems that the problem lies in the fact that we cannot establish new mapping to an already existing GDT. The mapping is created by +static inline void setup_fixmap_gdt(int cpu) +{ + __set_fixmap(get_cpu_gdt_ro_index(cpu),