WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-tools

[Xen-tools] [Fwd: Question about use of xenstore]

CC Anthony and the list...
--- Begin Message ---
To: rusty@xxxxxxxxxxxxxxx
Subject: Question about use of xenstore
From: harry <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 09 Aug 2005 14:03:09 +0100
What is the intended style of use for xenstore when controlling the
sequencing of operations?  For example, when I unload my USB FE driver
module I need to make sure that the BE driver has finished with the
shared memory before the FE frees it back to the FE kernel.

With the previous messaging solution there was a handshake between the
FE, Xend and BE which went something like this:

The FE sent a driver down message to xend.
Xend sent disconnect messages to BEs connected to that FE.
The BEs acknowledged the disconnect after their use of any shared pages
was quiesced.
Xend acknowledged the FE driver down message once all BEs had
acknowledged the disconnect sent to them.
The FE was then able to free shared pages back to the kernel.

How would the above scenario be handled using xenstore?  I don't really
know where to begin.

Harry.

--- End Message ---
_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools