From: Keir Fraser Subject: Re: earlier remove the backend of tapdisk device in xenstore to release the resource allocated in backend driver lies in dom0'kernel Date: Fri, 23 Apr 2010 09:54:43 +0100 Message-ID: References: <4BD172C9020000780003B9E4@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BD172C9020000780003B9E4@vpn.id2.novell.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: Jan Beulich , James Song Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 23/04/2010 09:13, "Jan Beulich" wrote: >> Moving the device destruction a little ahead of killing qemu-dm would >> triger blktapctl thread send CTRMSG_CLOSE to "qemu-dm" before it exit. >> And then, qemu-dm would notify backend driver to release resouce by >> calling release() of driver through closing the opened device file of >> "/dev/xen/blktapN" > > Even though Keir already applied your patch, I continue to disagree: I agreed with you and Jim, and subsequently reverted it. K.