From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFaU-0003Dy-Jg for qemu-devel@nongnu.org; Mon, 18 May 2015 03:35:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuFaQ-0002wK-PF for qemu-devel@nongnu.org; Mon, 18 May 2015 03:35:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuFaQ-0002vG-78 for qemu-devel@nongnu.org; Mon, 18 May 2015 03:35:42 -0400 Date: Mon, 18 May 2015 13:05:23 +0530 From: Amit Shah Message-ID: <20150518073523.GE15452@grmbl.mre> References: <1429031053-4454-1-git-send-email-dgilbert@redhat.com> <1429031053-4454-10-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429031053-4454-10-git-send-email-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 09/47] Add wrapper for setting blocking status on a QEMUFile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com, david@gibson.dropbear.id.au On (Tue) 14 Apr 2015 [18:03:35], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Add a wrapper to change the blocking status on a QEMUFile > rather than having to use qemu_set_block(qemu_get_fd(f)); > it seems best to avoid exposing the fd since not all QEMUFile's > really have one. With this wrapper we could move the implementation > down to be different on different transports. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Amit Shah Amit