Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] new mfn_to_pfn() in blkfront

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] new mfn_to_pfn() in blkfront
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Thu, 29 Sep 2005 15:08:51 -0700
Delivery-date: Thu, 29 Sep 2005 22:10:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcXFQl+QGl1rJ2ecQkOsll5HXSrnHw==
Thread-topic: new mfn_to_pfn() in blkfront
Hi --

An ongoing activity on the Xen/ia64 team has been
to (slowly but surely) remove the arch-dep code out
of various Xen front/back drivers.  This will
hopefully make it easier -- eventually -- to get
the Xen drivers more widely accepted for Linux.

A recent changeset (7107) added a call to mfn_to_pfn
into blkfront/blkfront.c, which had previously
been arch-neutral.  And, unfortunately, there's no
arch-dep header file included by that file so there's
no easy way to redefine it.  I was looking at
other ways of patching around it, but one might
consider this a regression that should be fixed.

Is there another, arch-neutral, way to write
this code?  Or at least turn it into a function
like interface?

Thanks,
Dan

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

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