From: Keir Fraser Subject: Re: [PATH] ioemu: use SIGHUP instead of SIGKILL Date: Mon, 04 Feb 2008 12:00:26 +0000 Message-ID: References: <20080204112646.GD5205@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080204112646.GD5205@implementation.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 4/2/08 11:26, "Samuel Thibault" wrote: > Keir Fraser, le Mon 04 Feb 2008 11:21:02 +0000, a =E9crit : >> Although this looks potentially reasonable, I'm not sure about the appro= ach >> of SIGHUPing a dom0 'proxy' process to kill an hvm stub domain. How hard >> would it be to teach xend just enough about hvm stub domains to have it >> directly kill the stub domain at the same time as it kills the normal hv= m >> domain? >=20 > It also needs to know that it has to kill the VNC client, etc. Okay, well let's go for SIGHUP for now. I am keen that 'xm destroy' should be able to work regardless of any per-guest component failing however. It really is a crappy user experience if you can get into situations wheere even xm destroy doesn't help you. :-) > That said, I'm wondering how to transmit the name of the stub domain. > Could the device model for instance write it in xenstore=A0? Well, the choice is yours in that respect. By name do you mean domid? If yo= u want to be able to trust that value then it needs to be written by the dom0 component that creates the domain. -- Keir