[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4] xen/arm: Rework the way to compute dom0 DTB base address



On Mon, 2013-06-03 at 14:57 +0100, Julien Grall wrote:
> +    /*
> +     * Check the kernel won't overlap the kernel
> +     * Only when it's a ZIMAGE
> +     */
> +    if ( kinfo->ktype != KERNEL_ZIMAGE )
> +        return;

It occurs to me that we could avoid needing this and the associated
gubbins to remember the type of kernel by having a ->check function hook
alongside the ->load hook and only setting it for zImage.

What do you think?




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.