Received: from eggs.gnu.org ([2001:4830:134:3::10]:37579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejlWe-00051x-0E for qemu-devel@nongnu.org; Thu, 08 Feb 2018 07:42:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejlWa-0002bc-UM for qemu-devel@nongnu.org; Thu, 08 Feb 2018 07:42:04 -0500 From: Alberto Garcia In-Reply-To: <20180207162920.28386-1-pbonzini@redhat.com> References: <20180207162920.28386-1-pbonzini@redhat.com> Date: Thu, 08 Feb 2018 13:41:58 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [Qemu-block] [PATCH] block: early check for blockers on drive-mirror List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org On Wed 07 Feb 2018 05:29:20 PM CET, Paolo Bonzini wrote: > Even if an op blocker is present for BLOCK_OP_TYPE_MIRROR_SOURCE, > it is checked a bit late and the result is that the target is > created even if drive-mirror subsequently fails. Add an early > check to avoid this. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alberto Garcia Berto