Re: Q:pt_base in COMPAT mode offset by two pages. Was:Re: [Xen-devel][PATCH 02/11] xen/x86: Use memblock_reserve for sensitive areas.

From: Stefano Stabellini
Date: Wed Aug 22 2012 - 10:42:13 EST


On Wed, 22 Aug 2012, Jan Beulich wrote:
> >> The toolstack works fine - so launching 32-bit guests either
> >> under a 32-bit hypervisor or 64-bit works fine:
> >> ] domainbuilder: detail: xc_dom_alloc_segment: page tables : 0xcf805000 ->
> > 0xcf885000 (pfn 0xf805 + 0x80 pages)
> >> [ 0.000000] PT: cf805000 (f805000)
> >>
> >
> > And this patch on top of the others fixes this..
>
> I didn't look at this in too close detail, but I started to get
> afraid that you might be making the code dependent on
> many hypervisor implementation details. And should the
> above turn out to be a bug in the hypervisor, I hope your
> kernel side changes won't make it impossible to fix that bug.

I agree
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/