From: Keir Fraser Subject: Re: [PATCH 2/6] xen/hvm kexec: unregister shutdown+sysrq watches during reboot Date: Mon, 01 Aug 2011 07:35:48 -0700 Message-ID: References: <20110801130138.GD9956@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110801130138.GD9956@aepfle.de> 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" , Ian Campbell , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 01/08/2011 06:01, "Olaf Hering" wrote: >> Hmm, no. Attached patch would be safer, give it a try. >> >> And note that it is *dangerous* to reset the domain xenstore connection if >> there could be any other concurrent activity on the connection that could >> confuse the guest kernel. So doing the reset during kernel bringup might be >> safest, there you can do it in the kernel before the whole xenbus subsystem >> is fully up. > > I sent a different xenstored patch which takes DOMID_SELF into account. Saw it, I'll give it a think over. I think it looks okay, I wonder whether DOMID_SELF handling should be pushed into find_domain_by_domid, but it's a minor detail really. I certainly support the approach. Hopefully we can get someone to similarly modify ocaml/xenstored too. -- Keir