Messages in this thread | | | Date | Tue, 04 Mar 2008 07:18:48 -0800 | From | Jeremy Fitzhardinge <> | Subject | Re: [PATCH] reserve end-of-conventional-memory to 1MB on 32-bit v2 |
| |
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
| |