[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 06/20] tools/xenstore: remove all watches when a domain has stopped
On 06.11.22 22:18, Julien Grall wrote: Hi Juergen, On 01/11/2022 15:28, Juergen Gross wrote:When a domain has been recognized to have stopped, remove all its registered watches. This avoids sending watch events to the dead domain when all the nodes related to it are being removed by the Xen tools.From my understanding, shutdown doesn't mean dead. It may be used during migration (or snapshotting), where we don't want to touch the state in case of a cancellation (or resume).For instance, see the command XS_RESUME which will clear domain->shutdown. Oh, good catch! I need to additionally check the "shutdown reason". I can remove the watches only in case of the reason not having been "suspend". Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |