Received: from eggs.gnu.org ([2001:4830:134:3::10]:54142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFhXE-000821-AG for qemu-devel@nongnu.org; Wed, 22 Jun 2016 08:45:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFhXC-0006Gt-16 for qemu-devel@nongnu.org; Wed, 22 Jun 2016 08:45:34 -0400 Date: Wed, 22 Jun 2016 14:45:23 +0200 From: Kevin Wolf Message-ID: <20160622124523.GI6134@noname.redhat.com> References: <0cd54b0b40980c66e798b19d98daa90987defe45.1466598035.git.berto@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0cd54b0b40980c66e798b19d98daa90987defe45.1466598035.git.berto@igalia.com> Subject: Re: [Qemu-devel] [PATCH v2 03/15] blockjob: Add block_job_get() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Eric Blake , Jeff Cody Am 22.06.2016 um 14:25 hat Alberto Garcia geschrieben: > Currently the way to look for a specific block job is to iterate the > list manually using block_job_next(). > > Since we want to be able to identify a job primarily by its ID it > makes sense to have a function that does just that. > > Signed-off-by: Alberto Garcia > Reviewed-by: Max Reitz Reviewed-by: Kevin Wolf