All of lore.kernel.org
 help / color / mirror / Atom feed
* xenbus_mkdir("/tools", "name") fails
@ 2005-09-27 18:36 Anton Korenyushkin
  2005-09-28  3:47 ` NAHieu
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Korenyushkin @ 2005-09-27 18:36 UTC (permalink / raw)
  To: xen-devel

Hi,

I wrote subj in my module and i get instant reboot after calling this 
function. It doesn't depend on were xenstored started or not.

Please, explain me this thing: can i write back/front end drivers in the next 
manner: backend creates directory mydir in xenstore. Then frontends write 
files mydir/file-<domid> by xenbus_printf where they put grant reference to 
the shared frame and event chanel's port. Then backend reads this information 
and communicate with frontends. If it is right way for what reason xenbus 
drivers exist? And in what path in xenstore should i put mydir?

If it is not a right way, how to use xenbus drivers? I tryed to make simple 
front/back end drivers. They register only probe function in xenbus_driver 
struct and in this function do simple printk and return 0, but this function 
is never called. Backend module registers its driver by 
xenbus_register_backend, frontend by xenbus_register_device.

-- 
Best regards,
Anton Korenyushkin
mailto:tiger@swsoft.mipt.ru

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-28 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27 18:36 xenbus_mkdir("/tools", "name") fails Anton Korenyushkin
2005-09-28  3:47 ` NAHieu
2005-09-28 13:07   ` Anton Korenyushkin
2005-09-28 13:29     ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.