From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxytB-0000bE-Sl for qemu-devel@nongnu.org; Thu, 16 Feb 2012 05:48:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxyt3-0000Tj-6p for qemu-devel@nongnu.org; Thu, 16 Feb 2012 05:48:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxyt2-0000TQ-Ub for qemu-devel@nongnu.org; Thu, 16 Feb 2012 05:48:29 -0500 Message-ID: <4F3CDFC9.4030209@redhat.com> Date: Thu, 16 Feb 2012 11:51:53 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1329302771-8898-1-git-send-email-pbonzini@redhat.com> <20120216074502.GA10772@stefanha-thinkpad.localdomain> In-Reply-To: <20120216074502.GA10772@stefanha-thinkpad.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ide: fail I/O to empty disk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Paolo Bonzini , qemu-devel@nongnu.org Am 16.02.2012 08:45, schrieb Stefan Hajnoczi: > On Wed, Feb 15, 2012 at 11:46:11AM +0100, Paolo Bonzini wrote: >> Requesting a read or a write operation on an empty disk can lead >> to QEMU dumping core. >> >> Also fix a few braces here and there. >> >> Signed-off-by: Paolo Bonzini >> --- >> hw/ide/core.c | 24 ++++++++++++++++++++---- >> 1 files changed, 20 insertions(+), 4 deletions(-) > > Reviewed-by: Stefan Hajnoczi > Thanks, applied to the block branch. Kevin