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] Sharing machine pages among domains

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Sharing machine pages among domains
From: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
Date: Wed, 21 Nov 2007 01:59:32 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Daniel Stodden <stodden@xxxxxxxxxx>
Delivery-date: Wed, 21 Nov 2007 01:00:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YS9xK2hLahKs495MvTuc7fc9Iw/Q+2MKHsUvZYE1Bqw=; b=ZVd/4cFka/dUMpeAiXTR6MS/O83a/lBw0rSygbyxdMoGo+BazwfrloXIDXQaUpCBilnYj8etmz5YjDzft8xPfeEdjxLGn4yBH+Xe4qrCo+7vJl2erFwZ6nDoUjW67VO2JMsp4qXsJoCPTVhhTwC7UL9cAecqMJPwNXM77TM2nkA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=idv/9QwBaAf44TJPtmiq2K1pQtW+6ni4/1rlrxBP1OHnTbH0luy2Oh0C+oz03kJeF58u+VLzVvF+WZKMTnQ7XgApMZlJ9Z4xrDJfrJf8Q3p9mUi4b3IULtf8mV/OgcjPSPUg2Fr6CfXuVkcTN5k4xVh7RDkprHLzMG/VAnBpDKU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C369951A.10771%Keir.Fraser@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: <ab08258e0711202045k1347fc2btaebf8675710e42d5@xxxxxxxxxxxxxx> <C369951A.10771%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Nov 21, 2007 12:56 AM, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> On 21/11/07 04:45, "Haifeng He" <hehaifeng2nd@xxxxxxxxx> wrote:
>
> > Thank you for your reply. I checked the above code.
> > If I understand correctly, the page sharing of console and xenstore is
> > between dom0 and domU instead of between domUs. Secondly,
> > the mapping is one to one, i.e., one mfn page allocated to domU
> > is mapped to dom0. However, what I am looking for is, probably one to many
> > mapping. That is, one mfn page can be mapped into physical page in
> > multiple domUs and shared by them. Any idea?
>
> This isn't currently possible.
>
But is there a way to do it by modifying the Xen source? For example, during
domain creation, is it possible to let Xen assign certain mfn pages to
particular
physical pages in the new domain?

( I have been trying to figure out how Xen assign mfn pages to new
domain but still
not very successful. The code looks quite complicated.)

Thanks

Haifeng

>  -- Keir
>
>
>

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