From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyIKT-0008G0-Lr for qemu-devel@nongnu.org; Wed, 12 Apr 2017 09:29:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyIKS-0004sE-Rk for qemu-devel@nongnu.org; Wed, 12 Apr 2017 09:29:01 -0400 References: <20170411145050.31290-1-mreitz@redhat.com> <20170411145849.GO4516@noname.str.redhat.com> <20170412131831.GE4955@noname.str.redhat.com> From: Laurent Vivier Message-ID: <0ce91815-e1b0-9151-cbf0-ce1c3d242da3@redhat.com> Date: Wed, 12 Apr 2017 15:28:43 +0200 MIME-Version: 1.0 In-Reply-To: <20170412131831.GE4955@noname.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.9?] block/io: Comment out permission assertions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Max Reitz , qemu-block@nongnu.org, qemu-devel@nongnu.org, Stefan Hajnoczi , Fam Zheng , dgilbert@redhat.com, quintela@redhat.com On 12/04/2017 15:18, Kevin Wolf wrote: > Am 11.04.2017 um 17:07 hat Laurent Vivier geschrieben: >> On 11/04/2017 16:58, Kevin Wolf wrote: >>> Am 11.04.2017 um 16:50 hat Max Reitz geschrieben: >>>> In case of block migration, there may be writes to BlockBackends that do >>>> not have the write permission taken. Before this issue is fixed (which >>>> is not going to happen in 2.9), we therefore cannot assert that this is >>>> the case. >>>> >>>> Suggested-by: Kevin Wolf >>>> Signed-off-by: Max Reitz >>> >>> I tested block migration (migrate -b). Leaving postcopy migration, which >>> is apparently also broken, to Laurent. >>> >>> Reviewed-by: Kevin Wolf >>> Tested-by: Kevin Wolf >> >> With postcopy migration >> >> Tested-by: Laurent Vivier > > I think the following is the real fix for postcopy migration, in case > someone wants to give it a test before I send it as a proper patch (the > bug is a result of duplicating code between precopy/postcopy migration > instead of sharing it - commit d35ff5e6 only updated one of both). Tested with my test case and it works fine. Thanks, Laurent