Received: from eggs.gnu.org ([2001:4830:134:3::10]:54968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAV5-0004Xv-VE for qemu-devel@nongnu.org; Tue, 23 Feb 2016 05:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYAV2-0000gK-Oy for qemu-devel@nongnu.org; Tue, 23 Feb 2016 05:47:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAV2-0000gE-JS for qemu-devel@nongnu.org; Tue, 23 Feb 2016 05:47:24 -0500 Date: Tue, 23 Feb 2016 16:17:15 +0530 From: Amit Shah Message-ID: <20160223104715.GG2372@grmbl.mre> References: <1455259174-3384-1-git-send-email-den@openvz.org> <20160223073926.GE10967@grmbl.mre> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160223073926.GE10967@grmbl.mre> Subject: Re: [Qemu-devel] [PATCH v2 0/2] move qcow2_invalidate_cache() out of coroutine context List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Paolo Bonzini , qemu-devel@nongnu.org, Juan Quintela Hi Denis, On (Tue) 23 Feb 2016 [13:09:26], Amit Shah wrote: > On (Fri) 12 Feb 2016 [09:39:32], Denis V. Lunev wrote: > > There is a possibility to hit an assert in qcow2_get_specific_info that > > s->qcow_version is undefined. This happens when VM in starting from > > suspended state, i.e. it processes incoming migration, and in the same > > time 'info block' is called. > > > > The problem is that qcow2_invalidate_cache() closes the image and > > memset()s BDRVQcowState in the middle. > > > > This operation should not be performed in coroutine context. > > > > Changes from v1: > > - fixed spelling. Eric, thank you for spell checking > > BTW I noticed this just now: the commit subject line for both the > patches is the same. Please avoid that in the future. The pull req failed to apply due to another patchset - could you please do a v3 with better subject lines for the patches? Thanks, Amit