Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] guest kexec / domU boot loader

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] guest kexec / domU boot loader
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Wed, 15 Mar 2006 13:18:08 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Mar 2006 12:17:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <57d91c86abbc293b0e87df1fd9cb23b1@xxxxxxxxxxxx>
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: <44115A90.2050303@xxxxxxx> <7ab24978871318ae238e7e362c861706@xxxxxxxxxxxx> <4417FD30.6020802@xxxxxxx> <57d91c86abbc293b0e87df1fd9cb23b1@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20060111)
Keir Fraser wrote:
> 
> On 15 Mar 2006, at 11:40, Gerd Hoffmann wrote:
> 
> You end up with a hole there. Can be filled with MEMOP_populate_physmap
> if you wish. The console and xenstore pages cannot currently be moved,
> but I can add support. Since the only handle the guest has on those is
> their current gpfn, and Xen doesn't know about their special status, the
> best approach is probably to add another 'source space' to the
> MEMOP_add_to_physmap call, effectively allowing you to move a memory
> page from one gpfn to another by specifying the source and target gpfns.
> 
> Sound good?

Yep, sounds good.

Can XENMEM_translate_gpfn_list be used to figure where holes in the
physmap (due to ballooning for example) are?  Guess I can "plug" these
holes then by moving around pages using the new source space?

cheers,

  Gerd

-- 
Gerd 'just married' Hoffmann <kraxel@xxxxxxx>
I'm the hacker formerly known as Gerd Knorr.
http://www.suse.de/~kraxel/just-married.jpeg

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel