From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA20C-000390-C2 for qemu-devel@nongnu.org; Fri, 07 Sep 2012 13:05:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA20B-0007Mk-D1 for qemu-devel@nongnu.org; Fri, 07 Sep 2012 13:05:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA20B-0007Me-4K for qemu-devel@nongnu.org; Fri, 07 Sep 2012 13:05:55 -0400 Message-ID: <504A292E.8020400@redhat.com> Date: Fri, 07 Sep 2012 13:04:46 -0400 From: Jeff Cody MIME-Version: 1.0 References: <7ce0b59579ef332c57abed879ece12213281ee90.1346351079.git.jcody@redhat.com> <504A208F.60808@redhat.com> In-Reply-To: <504A208F.60808@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 PATCH 3/6] blockdev: rename block_stream_cb to a generic block_job_cb Reply-To: jcody@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, supriyak@linux.vnet.ibm.com, eblake@redhat.com, qemu-devel@nongnu.org, stefanha@gmail.com On 09/07/2012 12:27 PM, Paolo Bonzini wrote: > Il 30/08/2012 20:47, Jeff Cody ha scritto: >> @@ -53,6 +53,8 @@ static const int if_max_devs[IF_COUNT] = { >> [IF_SCSI] = 7, >> }; >> >> +static void block_job_cb(void *opaque, int ret); >> + >> /* >> * We automatically delete the drive when a device using it gets >> * unplugged. Questionable feature, but we can't just drop it. > > Can you avoid the forward declaration? > > Paolo > Yes, sure - honestly, I added this patch in, but I assumed that the similar patch of yours to support mirroring would go in first, making this patch moot.