From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [Qemu-devel] [RFC PATCH 1/2] close all the block drivers before the qemu process exits Date: Wed, 12 May 2010 16:01:32 +0200 Message-ID: <20100512140132.GA11876@lst.de> References: <1273661213-19611-1-git-send-email-morita.kazutaka@lab.ntt.co.jp> <1273661213-19611-2-git-send-email-morita.kazutaka@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: aliguori@us.ibm.com, avi@redhat.com, fujita.tomonori@lab.ntt.co.jp, sheepdog@lists.wpkg.org, qemu-devel@nongnu.org, kvm@vger.kernel.org To: MORITA Kazutaka Return-path: Received: from verein.lst.de ([213.95.11.210]:45773 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755870Ab0ELOCo (ORCPT ); Wed, 12 May 2010 10:02:44 -0400 Content-Disposition: inline In-Reply-To: <1273661213-19611-2-git-send-email-morita.kazutaka@lab.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, May 12, 2010 at 07:46:52PM +0900, MORITA Kazutaka wrote: > This patch calls the close handler of the block driver before the qemu > process exits. > > This is necessary because the sheepdog block driver releases the lock > of VM images in the close handler. > > Signed-off-by: MORITA Kazutaka Looks good in principle, except that bdrv_first is gone and has been replaced with a real list in the meantime, so this won't even apply.