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

[Xen-devel] Do I need xenbus_driver?

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Do I need xenbus_driver?
From: NAHieu <nahieu@xxxxxxxxx>
Date: Thu, 29 Sep 2005 13:41:20 +0900
Delivery-date: Thu, 29 Sep 2005 04:38:57 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=faD1OsyDx1FVs5yMrFu40RSgBpWjGP+OI6iVbHXSEbaFZ5iMbyLE16npDD5B9zgVQ31NMM54ZXCHQYah3ScB34zeYGgXaQXSJaJ/+Xu7anqm3kpqSKQ8DxXZQZIURkPoPaqM+MfhHhQPGGoZypOXpnN8kbuIOGIYCwwP/yYCe3I=
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>
Reply-to: NAHieu <nahieu@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I am writing a small kernel module, which splits into 2 part: one runs
in dom0, and the other runs in domU.  The main job is to exchange some
data between them, and there is no hardware related.

It seems simple enough: dom0 module watches for domU via xenstore,
then they exchange grant-table-ref with each other and then go ahead
doing their work.

The problem is: I saw all the xen drivers, and they all register to
xenbus (with xenbus_driver structure). Look again at my code, I dont
see why I need to exploit the xebus_driver interface. So my question
is: Why I need xenbus_driver in my case, and what is the advantages?

(That confuses me is looks like I can survive without it)

Many thanks.
Hieu

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Do I need xenbus_driver?, NAHieu <=