[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] hvmloader/xenbus.c: How to modify or add a key-value pair in xenstore
Hi, At 13:22 +0800 on 13 Aug (1313241740), Bei Guan wrote: > In hvmloader/xenbus.c, a simple implementation of xenbus, the function > xenbus_send() (see the prototype below) can be used to read a value from > xenstore. > static int xenbus_send(uint32_t type, uint32_t len, const char *data, > uint32_t *reply_len, const char **reply_data) > > Now, I want to modify a key-value existed in xenstore or add a new key-value > pair into xenstore, so I write a new function xenbus_write_send(), which is > changed from xenbus_send(). I think you should make a xenbus_write() function based on xenbus_read(), rather than duplicating all of xenbus_send(). Tim. -- Tim Deegan <tim@xxxxxxx> Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |