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] skeleton frontend/backend examples and a deadloc

To: Mark Ryden <markryde@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] skeleton frontend/backend examples and a deadlock
From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Thu, 03 Nov 2005 12:23:25 +1100
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 Nov 2005 01:20:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dac45060511020452y22494bf1n3232c44f3c9257fd@xxxxxxxxxxxxxx>
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: <1130908964.18258.25.camel@xxxxxxxxxxxxxxxxxxxxx> <dac45060511020452y22494bf1n3232c44f3c9257fd@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2005-11-02 at 14:52 +0200, Mark Ryden wrote:
> Hello,
> One little thing:
> If I am not wrong, xenbus_register_backend() is
> not exported, and it seems to me that we
> should have EXPORT_SYMBOL(xenbus_register_backend) so
> it will build.

Indeed, the backend cannot be built as a module because this, and the
vma functions are not exported.  The latter can be solved by providing a
nice grant-id -> mapped page function in the core I think (and the unmap
function)

Also, the skeleton was written against a tree where registering a watch
did not always call the callback immediately.  Now this has been fixed,
those explicit calls are removed.

Rusty.

-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman


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