Re: [PATCH] reserve end-of-conventional-memory to 1MB on 32-bit v2

Jeremy Fitzhardinge
2008-03-04T15:24:04Z

Mark McLoughlin wrote:
> This is a bit magic, is it worth splitting it out as something like
> is_paravirt_environment() ?
>

Yes, is_paravirt() already exists for this purpose.

The code looking at the boot params will only work if we actually booted
via the paravirt Linux boot protocol, which Xen doesn't at present.

J