[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] using @releaseDomain to subscribe for domain destruction
On Thu, 2013-02-14 at 13:18 +0000, Vasiliy Tolstov wrote: > Hello!. How can i use @releaseDomain from dom0 to subscribe for domain > destruction? > I'm try to add watch for @releaseDomain path with token equal of > needed domain id. But when another domain dies, i get domain that i > provide via token to xs_watch. The token is an opaque cookie which xenstore simply echoes back at you so you can identify which of your watches is firing if you have more than one. It doesn't have any meaning other than that. > Is that possible to get id of domain what released from xenstore? Not directly, @releaseDomain just tells you that *a* domain died, you need to check if it was the one which interested you. libxl has some infrastructure for maintaining this state and firing events on specific domain death. depending on your use case this may or may not be overkill for your application. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |