From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxxgA-0004ij-B9 for qemu-devel@nongnu.org; Thu, 16 Feb 2012 04:31:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxxg3-0003S1-LY for qemu-devel@nongnu.org; Thu, 16 Feb 2012 04:31:06 -0500 Received: from mail-we0-f173.google.com ([74.125.82.173]:60848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxxg3-0003Rs-ET for qemu-devel@nongnu.org; Thu, 16 Feb 2012 04:30:59 -0500 Received: by werh12 with SMTP id h12so1520627wer.4 for ; Thu, 16 Feb 2012 01:30:58 -0800 (PST) Date: Thu, 16 Feb 2012 07:45:02 +0000 From: Stefan Hajnoczi Message-ID: <20120216074502.GA10772@stefanha-thinkpad.localdomain> References: <1329302771-8898-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1329302771-8898-1-git-send-email-pbonzini@redhat.com> 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: Paolo Bonzini Cc: qemu-devel@nongnu.org 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