Received: from eggs.gnu.org ([2001:4830:134:3::10]:38234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2G9U-0001iA-2c for qemu-devel@nongnu.org; Wed, 02 Jul 2014 04:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2G9M-0007xY-UB for qemu-devel@nongnu.org; Wed, 02 Jul 2014 04:44:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2G9M-0007xS-LY for qemu-devel@nongnu.org; Wed, 02 Jul 2014 04:44:20 -0400 Date: Wed, 2 Jul 2014 10:44:16 +0200 From: Kevin Wolf Message-ID: <20140702084416.GB5996@noname.str.redhat.com> References: <1403889855-5740-1-git-send-email-armbru@redhat.com> <1403889855-5740-2-git-send-email-armbru@redhat.com> <53B2EB0F.2050402@redhat.com> <53B2EBA0.8080108@redhat.com> <8738ekl05m.fsf@blackfin.pond.sub.org> <53B3C172.30606@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53B3C172.30606@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 2.1 1/3] blockjob: Fix recent BLOCK_JOB_READY regression List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: wenchaoqemu@gmail.com, qemu-devel@nongnu.org, Markus Armbruster , lcapitulino@redhat.com, stefanha@redhat.com Am 02.07.2014 um 10:23 hat Paolo Bonzini geschrieben: > Il 02/07/2014 08:55, Markus Armbruster ha scritto: > >>> I think this fixes itself automatically if you use > >>> rerror=stop/werror=stop on block jobs. At least that was part of the > >>> design, whether the implementation gets it right I cannot say without > >>> looking at the code more carefully. > >What if an underlying device doesn't support [rw]error=stop? Not all > >do... > > Then the "fix" is to add support to the underlying device. IDE, > SCSI and virtio-blk (plus virtio-scsi via SCSI of course) are > covered; the main one that's left out is SD. Isn't block job rerror/werror completely independent from the guest device using the same BDS? They are different users, so if we somehow coupled them, that would be a design problem (which I think we were careful enough to avoid). Kevin