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] [PATCH 4 of 5] Add support for mapping grant references

To: Steven Smith <steven.smith@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 4 of 5] Add support for mapping grant references into HVM guests by modifying the P2M
From: NAHieu <nahieu@xxxxxxxxx>
Date: Tue, 26 May 2009 19:19:28 +0900
Cc: Steven Smith <Steven.Smith@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 26 May 2009 03:19:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rIEEUBWlZK+oXnTw3oC3fDOMhoTO7gZmbrvg7iX1qdo=; b=T3PeLb1IgJtwTOi8/j+pWYO8/f8objzIw5SN5mUP9NjEGSIiGEKRMCBwyaIcsl6nm2 6WgD37buH9bwN8YY8jZTjbYdtHk4HvLyQt2xgsnGC/DFFG+qrln6y/EFoLG2yZUdvqk9 rzzOVlAZuTFi4fmUGf+lHCDwMy4olSEoY5BjU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NysLYw5Ll4Ugcs2IIYWAwtDJQ5CWb/WfSzgnfS+/baDVNtdYaRgtCbq0JycCYiLiLY IxIfuY74KOvpIzuz8hdT0AqoXGetXMNHAvCgMV50ZN58giXJV8NO1lHiWa3YjsmGkVmS srkpMPFBVw0FJD36tBkuEqVJfUoiEcGLuBG+0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090526090816.GA6973@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1242732422@xxxxxxxxxxxxxxxxxxxxxxxxxx> <c6126a51b50945299337.1242732426@xxxxxxxxxxxxxxxxxxxxxxxxxx> <5d7aca950905252306q76bc80bbk4cb281be95a3f1d4@xxxxxxxxxxxxxx> <20090526090816.GA6973@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, May 26, 2009 at 6:08 PM, Steven Smith <steven.smith@xxxxxxxxxx> wrote:
>> I understand that we are going to drop Xen 32bit, and support only Xen
>> 64bit on this feature??
> That's the plan, yes.
>
>> I believe that Xen 32bit is still important and desired by many
>> people. So please considere supporting that with your patch.
> The problem is that we only have a limited number of bits available in
> the P2M entries, which limits the number of distinct types of P2M
> entry which we can encode.  On 32-bit Xen, that limit is eight, of
> which seven are already used, and the grant mapping patch needs
> another two (one for read-write maps, and one for read-only).  There
> just isn't enough room everything we want to do.
>
> It'd be easy enough to make grant mapping work on 32-bit Xen if we
> were willing to drop some other feature (populate-on-demand, say), but
> I don't think that would be an acceptable solution.  Finding somewhere
> else to stash the required bits would significantly complicate things,
> and, since there aren't any particularly convincing use-cases yet for
> even the 64-bit variant, I didn't think that would be worthwhile.

OK, I see.

I want to try your patch. However, my Dom0 is 32bit, so Xen is 32 bit,
too (I compiled Xen from source code). How can I compile Xen in 64bit
for your patch now?

If it is not possible (or easy) to do that now, could you please
provide the patch to cross compile Xen in 64bit, too?
 That would be useful to try your patch, and also for other things.

Thanks,
N

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

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