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: Next steps with pv_ops for Xen

To: dgm36@xxxxxxxxx
Subject: Re: [Xen-devel] Re: Next steps with pv_ops for Xen
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Thu, 06 Dec 2007 16:21:17 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, 'Eduardo Habkost' <ehabkost@xxxxxxxxxx>, 'Juan Quintela' <quintela@xxxxxxxxxx>, "'Stephen C. Tweedie'" <sct@xxxxxxxxxx>, 'Jan Beulich' <jbeulich@xxxxxxxxxx>, 'Glauber de Oliveira Costa' <gcosta@xxxxxxxxxx>, 'Chris Wright' <chrisw@xxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxx, 'Mark Williamson' <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Thu, 06 Dec 2007 07:22:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <000001c835db$72d9de90$ddf4e880@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <000001c835db$72d9de90$ddf4e880@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071115)
D.G. Murray wrote:
> Hi Mark, 
> 
>> Maybe a change to the gntdev userspace API to allow batching 
>> of mapping requests?
> 
> Something along the lines of the following?
> 
> void *xc_gnttab_map_grant_refs(int xcg_handle,
>                                uint32_t count,
>                                uint32_t *domids,
>                                uint32_t *refs,
>                                int prot); 

Yes, except that it should actually work ;)

It doesn't for me (Fedora 8 again).  Grab xenner 0.9 (just uploaded),
edit blkbackd.c and flip the BATCH_MAPS from 0 to 1, compile, run, see
it not work.

With BATCH_MAPS being 0 blkbackd works nicely as blktap/tapdisk drop-in
replacement.

cheers,
  Gerd

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