From: Keir Fraser Subject: Re: [RFC][PATCH] Use ioemu block drivers through blktap Date: Mon, 31 Mar 2008 14:31:47 +0100 Message-ID: References: <18416.58810.250091.262660@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18416.58810.250091.262660@mariner.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: Ian Jackson , Kevin Wolf Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 31/3/08 14:23, "Ian Jackson" wrote: >> I think in your classification they are "not really necessary" cleanups. >> But that's no reason not to do them, right? > > Yes, but to avoid gradually accumulating an ever increasing amount of > cruft, that cleanup mechanism ought to be capable of cleaning up even > `lost' garbage of one kind or another. And once you've got such a > garbage collecting cleanup arrangement, you don't need any separate > atexit-like arrangement which cleans up specifically after the current > run. The SIGHUP was only introduced in the first place to allow cleanup when using stub domains. In that case the SIGHUP goes to a qemu-dm 'proxy script' which then kills the actual stub domain. That's another case where the mechanism for tearing down such pervasive state really belongs in xend, in my opinion. I would be very much up for seeing us going back to SIGKILL of qemu-dm processes. -- Keir