WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH] Xen Guest Kexec

On Mon, Mar 06, 2006 at 03:15:00PM +0100, Gerd Hoffmann wrote:
>  * Which events can change the p2m map?  I think for domU that is only
>    ballooning, right?  For dom0 additionally the backend drivers (when
>    mapping foreign pages).  Anything else?

Networking as well, since network packet reception involves flipping
pages between domains.

>  * Is there some way to rebuild the p2m map from scratch using
>    hypercalls?

As far as I know not completely reliably, since the P2M map is
maintained by the guest and Xen is almost entirely uninvolved.

You could probably get most of the way there by retrieving a list of
pages belonging to the guest (not sure if this can be done from within
an unprivileged guest though, or only in Domain-0), then building a
reverse map of entries in the M2P table.  This will only work if all
pages have accurate M2P entries (certainly won't work for domain-0,
since it maps foreign pages, but might work for unprivileged domains).

--Michael Vrable

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