This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve high line

To: virtualization@xxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve high linear address space for hypervisors
From: Andi Kleen <ak@xxxxxxx>
Date: Tue, 1 Aug 2006 23:47:20 +0200
Cc: Andrew Morton <akpm@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, Chris Wright <chrisw@xxxxxxxxxxxx>, Ian Pratt <ian.pratt@xxxxxxxxxxxxx>, "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>, Christoph Lameter <clameter@xxxxxxx>
Delivery-date: Tue, 01 Aug 2006 14:48:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0adfc39039c79e4f4121.1154462446@ezr>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0adfc39039c79e4f4121.1154462446@ezr>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.3
> +             /*
> +              * reservedtop=size reserves a hole at the top of the kernel
> +              * address space which a hypervisor can load into later.
> +              * Needed for dynamically loaded hypervisors, so relocating
> +              * the fixmap can be done before paging initialization.
> +              * This hole must be a multiple of 4M.
> +              */
> +             else if (!memcmp(from, "reservedtop=", 12)) {
> +                     unsigned long reserved = memparse(from+12, &from);
> +                     reserved &= ~0x3fffff;
> +                     set_fixaddr_top(-reserved);
> +             }

You need to add a dummy __setup for it, otherwise it will end up in
init's environments or be warned about.

Also it should be documented somewhere in Documentation


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>