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: Gerd Hoffmann <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] guest kexec / domU boot loader
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 11 Mar 2006 09:42:25 +0000
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 11 Mar 2006 09:45:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <44115A90.2050303@xxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 10 Mar 2006, at 10:53, Gerd Hoffmann wrote:

Is it possible to move those magic pages to a different place in guest
physical memory?  With and without auto_translated_physmap?

As you say, without auto_translated_physmap it's up to the guest if/where he puts those pages in his physmap. He has control of the p2m and m2p mappings.

With auto_translate, you should use the new MEMOP_add_to_physmap call. It allows you to move shared_info and grant_table pages around in the physmap space (if you call and they already have a mapping, the old mapping goes away). I could also add a gpfn special value to have them removed from the physmap entirely (maybe useful for kexec?).

 -- Keir


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