Skip to contentSkip to conversation

Do I need xenbus_driver?

DISCUSSION NAHieu 1 participant 1 message Sep 29, 2005

lore
Share & tools
lore

NAHieu

author
#0 lore raw

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