Do I need xenbus_driver?
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