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] xenbus_backend_client.c / xenbus_client.c merger

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xenbus_backend_client.c / xenbus_client.c merger
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 19 Feb 2007 16:50:18 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Feb 2007 08:50:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1171901326.4099.59.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdURgkSR4mpIcA5EduvRQAX8io7RQ==
Thread-topic: [Xen-devel] xenbus_backend_client.c / xenbus_client.c merger
User-agent: Microsoft-Entourage/11.2.5.060620
On 19/2/07 16:08, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> It's host memory in dom0 which is also passed to our virtualisable
> network interface cards.  The reason it's allocated by the backend in
> dom0 rather than using the model above is that we need to be able to
> allocate two physically contiguous pages, and I this would be tricky
> from domU.  If you know of a way of doing this, that would be an
> excellent alternative to needing to use the xenbus_backend_client code
> in the frontend.


Okay, if we go this way then the functions probably need to be given more
general names (since they are not used just for descriptor rings any more)
and also will you not need them to generalise to accepting more than one
grant reference (since you want to map two grant references into a two-page
vm area)?

 -- Keir



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