From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhFCh-0000s7-HA for qemu-devel@nongnu.org; Thu, 23 Oct 2014 06:01:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhFCb-00018D-6T for qemu-devel@nongnu.org; Thu, 23 Oct 2014 06:01:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhFCa-000182-W9 for qemu-devel@nongnu.org; Thu, 23 Oct 2014 06:01:05 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9NA13Pg020688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 23 Oct 2014 06:01:04 -0400 Date: Thu, 23 Oct 2014 12:01:01 +0200 From: Kevin Wolf Message-ID: <20141023100101.GH3522@noname.redhat.com> References: <1413982283-10186-1-git-send-email-mreitz@redhat.com> <1413982283-10186-6-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1413982283-10186-6-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v13 05/14] blockjob: Add "ready" field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 22.10.2014 um 14:51 hat Max Reitz geschrieben: > When a block job signals readiness, this is currently reported only > through QMP. If qemu wants to use block jobs for internal tasks, there > needs to be another way to correctly detect when a block job may be > completed. > > For this reason, introduce a bool "ready" which is set when the block > job may be completed. > > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake Reviewed-by: Kevin Wolf