From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5BZU-0007zd-1S for qemu-devel@nongnu.org; Thu, 10 Jul 2014 06:27:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5BZF-0002by-Mi for qemu-devel@nongnu.org; Thu, 10 Jul 2014 06:27:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5BZF-0002bu-BW for qemu-devel@nongnu.org; Thu, 10 Jul 2014 06:27:09 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6AAR8EZ024324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 10 Jul 2014 06:27:08 -0400 Date: Thu, 10 Jul 2014 12:27:00 +0200 From: Kevin Wolf Message-ID: <20140710102700.GC3919@noname.redhat.com> References: <1404925652-17986-1-git-send-email-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1404925652-17986-1-git-send-email-armbru@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 2.1 0/4] Suppress error action on r/w beyond end List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, uobergfe@redhat.com Am 09.07.2014 um 19:07 hat Markus Armbruster geschrieben: > When a device model's I/O operation fails, we execute the error > action. This lets layers above QEMU implement thin provisioning, or > attempt to correct errors before they reach the guest. But when the > I/O operation fails because its invalid, reporting the error to the > guest is the only sensible action. > > SCSI does that, but virtio-blk and IDE don't. Fix them. No other > device model supports error actions. Thanks, applied to the block branch. Kevin