Re: [Xen-devel] [RFC XTF PATCH] Pagetable Emulation testing

2017-03-14 Thread Jan Beulich
>>> On 13.03.17 at 18:48, wrote: > On 13/03/17 15:45, Jan Beulich wrote: > On 06.03.17 at 17:42, wrote: >>> +/* Put FEP immediately before va, and a ret instruction at va. */ >>> +memcpy(m->va - 5, "\x0f\x0bxen\xc3", 6); >>> +

Re: [Xen-devel] [RFC XTF PATCH] Pagetable Emulation testing

2017-03-13 Thread Andrew Cooper
On 13/03/17 15:45, Jan Beulich wrote: On 06.03.17 at 17:42, wrote: >> +struct mapping_info >> +{ >> +unsigned int level, order; >> +void *va; >> +intpte_t *pte, *fe_pte; > Having got quite a bit into the patch, I think I've finally understood that >

Re: [Xen-devel] [RFC XTF PATCH] Pagetable Emulation testing

2017-03-13 Thread Jan Beulich
>>> On 06.03.17 at 17:42, wrote: > +struct mapping_info > +{ > +unsigned int level, order; > +void *va; > +intpte_t *pte, *fe_pte; Having got quite a bit into the patch, I think I've finally understood that "fe" here is meant to match up with "fep" - a