From mboxrd@z Thu Jan 1 00:00:00 1970 From: NAHieu Subject: Do I need xenbus_driver? Date: Thu, 29 Sep 2005 13:41:20 +0900 Message-ID: <5d7aca950509282141370c31bd@mail.gmail.com> Reply-To: NAHieu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org 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