[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Do I need xenbus_driver?


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.