Received: from eggs.gnu.org ([2001:4830:134:3::10]:54465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axuHZ-00069B-6z for qemu-devel@nongnu.org; Wed, 04 May 2016 06:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axuHN-0005lb-AF for qemu-devel@nongnu.org; Wed, 04 May 2016 06:43:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axuHN-0005gA-5W for qemu-devel@nongnu.org; Wed, 04 May 2016 06:43:41 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BFC13C049D4F for ; Wed, 4 May 2016 10:43:29 +0000 (UTC) From: Juan Quintela In-Reply-To: <1461751518-12128-2-git-send-email-berrange@redhat.com> (Daniel P. Berrange's message of "Wed, 27 Apr 2016 11:04:51 +0100") References: <1461751518-12128-1-git-send-email-berrange@redhat.com> <1461751518-12128-2-git-send-email-berrange@redhat.com> Reply-To: quintela@redhat.com Date: Wed, 04 May 2016 12:43:26 +0200 Message-ID: <871t5ihzn5.fsf@emacs.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v6 for-2.7 01/28] s390: use FILE instead of QEMUFile for creating text file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , Amit Shah "Daniel P. Berrange" wrote: > The s390 skeys monitor command needs to write out a plain text > file. Currently it is using the QEMUFile class for this, but > work is ongoing to refactor QEMUFile and eliminate much code > related to it. The only feature qemu_fopen() gives over fopen() > is support for QEMU FD passing, but this can be achieved with > qemu_open() + fdopen() too. Switching to regular stdio FILE > APIs avoids the need to sprintf via an intermedia buffer which > slightly simplifies the code. > > Reviewed-by: Eric Blake > Signed-off-by: Daniel P. Berrange Reviewed-by: Juan Quintela