Dear all, I am struggling to understand how to initialise an xs_transaction_t for use with the Mini-OS XenStore API. Each function such as xs_read, xs_write take this type of variable in. However neither xs_transaction_start nor xs_transaction_end are defined in Mini-OS. Are XenStore transactions not ready for primetime on Xen 4.1.2 Mini-OS? Would appreciate any clarifications anyone can make :-) Adrian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Hello, Adrian Shaw, le Tue 23 Oct 2012 14:30:46 +0100, a écrit :> I am struggling to understand how to initialise an xs_transaction_t for use > with the Mini-OS XenStore API. > > Each function such as xs_read, xs_write take this type of variable in. > However neither xs_transaction_start nor xs_transaction_end are defined in > Mini-OS.They are called xenbus_transaction_start and xenbus_transaction_end. See use in various frontends & such. Samuel
Thanks for your reply Samuel. Since you are the author of minios/lib/xs I have just one follow up question :-) Is it not yet possible to do change the permission of a XenStore entry from Mini-OS? I''ve been able to do it on a Linux DomU using xenstore.h Best regards, Adrian On Tue, Oct 23, 2012 at 2:48 PM, Samuel Thibault < samuel.thibault@ens-lyon.org> wrote:> Hello, > > Adrian Shaw, le Tue 23 Oct 2012 14:30:46 +0100, a écrit : > > I am struggling to understand how to initialise an xs_transaction_t for > use > > with the Mini-OS XenStore API. > > > > Each function such as xs_read, xs_write take this type of variable in. > > However neither xs_transaction_start nor xs_transaction_end are defined > in > > Mini-OS. > > They are called xenbus_transaction_start and xenbus_transaction_end. See > use in various frontends & such. > > Samuel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Adrian Shaw, le Tue 23 Oct 2012 14:54:01 +0100, a écrit :> Since you are the author of minios/lib/xsErr, I''m not :) I''m just the current de-facto maintainer.> Is it not yet possible to do change the permission of a XenStore entry from > Mini-OS?Apparently there is a xenbus_set_perms function. Samuel
Oops, bad assumption to make, sorry! Many thanks for the pointer. It''s a bit confusing this mix of function naming when it comes to XenStore and XenBus. Again, grateful for your help. Best, Adrian On Tue, Oct 23, 2012 at 3:00 PM, Samuel Thibault < samuel.thibault@ens-lyon.org> wrote:> Adrian Shaw, le Tue 23 Oct 2012 14:54:01 +0100, a écrit : > > Since you are the author of minios/lib/xs > > Err, I''m not :) > I''m just the current de-facto maintainer. > > > Is it not yet possible to do change the permission of a XenStore entry > from > > Mini-OS? > > Apparently there is a xenbus_set_perms function. > > Samuel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel