From: Ian Jackson Subject: Re: [PATCH] xenstored: allow guests to reintroduce themselves Date: Tue, 9 Aug 2011 17:34:43 +0100 Message-ID: <20033.24995.973596.244180@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("[Xen-devel] [PATCH] xenstored: allow guests to reintroduce themselves"): > xenstored: allow guests to reintroduce themselves > > During kexec all old watches have to be removed, otherwise the new > kernel will receive unexpected events. Allow a guest to introduce itself > and cleanup all of its watches. If the purpose of this is simply to allow the guest to discard all its watches, I think a new xenstore command is a better plan than this change. In particular, previously, only dom0 was allowed to use INTRODUCE. I'm not convinced that we have fully throught through the implications of allowing guests to do it under some circumstances, and I can see no reason for trying to think about those implications when allowing a guest to delete all its watches would be straightforward. Ian.