search for: xenbus_wait_for_valu

Displaying 4 results from an estimated 4 matches for "xenbus_wait_for_valu".

Did you mean: xenbus_wait_for_value
2008 Jan 17
0
[PATCH] [Mini-OS] add xenbus token support and separate watch event queues
...:08:23 2008 +0000 @@ -12,13 +12,45 @@ void init_xenbus(void); set to a malloc''d copy of the value. */ char *xenbus_read(xenbus_transaction_t xbt, const char *path, char **value); -char *xenbus_watch_path(xenbus_transaction_t xbt, const char *path); -void wait_for_watch(void); -char* xenbus_wait_for_value(const char*,const char*); +/* Watch event queue */ +struct xenbus_event { + /* Keep these two as this for xs.c */ + char *path; + char *token; + struct xenbus_event *next; +}; + +char *xenbus_watch_path_token(xenbus_transaction_t xbt, const char *path, const char *token, struct xenbus_...
2008 May 02
0
[PATCH] minios: end watch of FS backend state value
...os/fs-front.c --- a/extras/mini-os/fs-front.c Fri May 02 12:21:27 2008 +0100 +++ b/extras/mini-os/fs-front.c Fri May 02 14:11:45 2008 +0100 @@ -1028,6 +1028,7 @@ done: /* The token will not be unique if multiple imports are inited */ xenbus_watch_path(XBT_NIL, r_nodename/*, token*/); xenbus_wait_for_value(/*token,*/ r_nodename, STATE_READY); + xenbus_unwatch_path(XBT_NIL, r_nodename); printk("Backend ready.\n"); //create_thread("fs-tester", test_fs_import, import); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensourc...
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...t len = 0; const struct write_req *cur_req; - int req_off; - int total_off; - int this_chunk; + size_t req_off; + size_t total_off; + size_t this_chunk; struct xsd_sockmsg m = {type, req_id, trans_id }; struct write_req header_req = { &m, sizeof(m) }; @@ -347,16 +351,15 @@ char* xenbus_wait_for_value(const char* // else // wait_for_watch(); // } - return NULL; + UNREFERENCED_PARAMETER(path); + UNREFERENCED_PARAMETER(value); + + return NULL; } NTSTATUS XenBus_Init() { - OBJECT_ATTRIBUTES oa; - NTSTATUS status; - int i; - KdPrint((__DRIVER_NAME " --> XenBus...
2008 Feb 29
35
[RFC] PVFB: Add refresh period to XenStore parameters?
Hello, Sometimes the backend of PVFB knows that it doesn''t need permanent refresh, when the window is minimized for instance (no refresh at all), or the administration tools know that the window is thumnailed, and so a slow refresh rate is fine. Also, some users may want to tune the refresh rate according to the smoothness they would like, balanced with the CPU time that requires.