Received: from eggs.gnu.org ([2001:4830:134:3::10]:48981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evnZq-0003QS-HQ for qemu-devel@nongnu.org; Tue, 13 Mar 2018 13:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evnZn-0003uu-91 for qemu-devel@nongnu.org; Tue, 13 Mar 2018 13:19:06 -0400 References: <20171128121055.6954-1-den@openvz.org> From: John Snow Message-ID: <36e5edb4-f9c9-de14-2134-fd8d0eb102f4@redhat.com> Date: Tue, 13 Mar 2018 13:18:54 -0400 MIME-Version: 1.0 In-Reply-To: <20171128121055.6954-1-den@openvz.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for 2.11 0/2] QEMU crashes with CD device without media List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Kevin Wolf , qemu-stable@nongnu.org, qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , Stefan Hajnoczi On 11/28/2017 07:10 AM, Denis V. Lunev wrote: > There are 2 cases I have spotted so far: > 1) IDE ATAPI read processing. Actually this was reported from field > 2) QEMU IO hmp command (found during evaluation of (1)) > > SCSI code checks during access that blk_is_available(). These patches add > same checks on different code paths. > > Pls decide whether these patches should go through sub-system trees or via > block tree. > > Signed-off-by: Denis V. Lunev > CC: "Dr. David Alan Gilbert" > CC: John Snow > CC: Kevin Wolf > CC: Stefan Hajnoczi > > Denis, I was never able to figure this out, but Stefan added a more rigorous block-wide fix that should prevent these crashes. If you see any anomalies in the ATAPI device again please let me know. Sorry I wasn't able to help any faster.