Received: from [140.186.70.92] (port=45396 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4pvS-0003S5-06 for qemu-devel@nongnu.org; Wed, 30 Mar 2011 03:34:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4pvP-0002gS-U2 for qemu-devel@nongnu.org; Wed, 30 Mar 2011 03:34:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4pvP-0002gO-KR for qemu-devel@nongnu.org; Wed, 30 Mar 2011 03:34:43 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH v2] Don't allow multiwrites against a block device without underlying medium References: <20110307160104.GW23238@us.ibm.com> Date: Wed, 30 Mar 2011 09:34:38 +0200 In-Reply-To: <20110307160104.GW23238@us.ibm.com> (Ryan Harper's message of "Mon, 7 Mar 2011 10:01:04 -0600") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Justin M. Forbes" Cc: Stefan Hajnoczi , Ryan Harper , qemu-devel@nongnu.org I think this (commit 301db7c2) should be cherry-picked into stable-0.14. Ryan Harper writes: > If the block device has been closed, we no longer have a medium to submit > IO against, check for this before submitting io. This prevents a segfault > further in the code where we dereference elements of the block driver. > > Signed-off-by: Ryan Harper