Received: from eggs.gnu.org ([2001:4830:134:3::10]:41333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsYgH-0007ey-Em for qemu-devel@nongnu.org; Wed, 13 May 2015 11:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsYgG-0000by-8T for qemu-devel@nongnu.org; Wed, 13 May 2015 11:34:45 -0400 Date: Wed, 13 May 2015 23:34:31 +0800 From: Fam Zheng Message-ID: <20150513153431.GI30644@ad.nay.redhat.com> References: <1431538099-3286-1-git-send-email-famz@redhat.com> <1431538099-3286-11-git-send-email-famz@redhat.com> <555341B8.3070604@redhat.com> <55536907.5060303@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55536907.5060303@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 10/11] blockdev: Block device IO during blockdev-backup transaction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: mreitz@redhat.com, qemu-block@nongnu.org, qemu-devel@nongnu.org, Stefan Hajnoczi , armbru@redhat.com On Wed, 05/13 17:08, Paolo Bonzini wrote: > On 13/05/2015 16:55, Fam Zheng wrote: > > In your idea, who will block PAUSE, and why? > > For example, blockdev-backup/drive-backup can block PAUSE on the target. > But maybe they only need to add an op blocker notifier, and use it to > block device I/O on the source and drain it. So your idea is safe. Good! Yes, sounds right. > > Another idea was to block PAUSE in virtio-scsi until it's fixed. I prefer to follow up another series to fix virtio-scsi, if my idea works :) Fam