All of lore.kernel.org
 help / color / mirror / Atom feed
* problem using xenbus interface
@ 2005-08-08 12:26 NAHieu
  2005-08-08 13:39 ` Dan Smith
  2005-08-09  2:21 ` Rusty Russell
  0 siblings, 2 replies; 7+ messages in thread
From: NAHieu @ 2005-08-08 12:26 UTC (permalink / raw)
  To: xen-devel

Hello,

I a writing a small kernel module for domU, in which I use xenbus and
have some problems:

I use xenbus_scanf to read value of "/restart_mode", but the below
code always failed (got non-zero err)

err = xenbus_scanf("/", "restart_mode", "%s", mode);


Another code like below also failed (I try to make a new node
"/domain/<DOM>/test" with xenbus_mkdir):

err = xenbus_mkdir("/", "test");


I am using the latest xen pulled from -unstable repository. I guess
the problem is I didnt use xenbus interface properly (?) Anybody could
give me some helps?

Thank you a lot,
NAH

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

end of thread, other threads:[~2005-08-09  6:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 12:26 problem using xenbus interface NAHieu
2005-08-08 13:39 ` Dan Smith
2005-08-09  6:47   ` aq
2005-08-09  2:21 ` Rusty Russell
2005-08-09  2:53   ` NAHieu
2005-08-09  3:14   ` NAHieu
2005-08-09  3:34   ` NAHieu

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.