From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60Bo-00036Y-Na for qemu-devel@nongnu.org; Tue, 20 Sep 2011 09:16:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R60Bi-00038P-JQ for qemu-devel@nongnu.org; Tue, 20 Sep 2011 09:16:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60Bi-00038J-Aw for qemu-devel@nongnu.org; Tue, 20 Sep 2011 09:16:38 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8KDGbRp015014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Sep 2011 09:16:37 -0400 From: Juan Quintela Date: Tue, 20 Sep 2011 15:16:26 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/3] Remove QEMUFile abuse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi v2: Make malc happy release O;-) - learn how to use fwrite/fread correctly O:-) - add errno to all error messages - make checkpatch happy. Except for WARNING: space prohibited between function name and open parenthesis '(' Please apply. v1: QEMUFile is intended to be used only for migration. Change the other three users to use FILE * operations directly. gcc on Fedora 15 complains about fread/write not checking its return value, so I added checks. But in several places only print an error message (there is no error handly that I can hook into). Notice that this is not worse than it is today. Later, Juan. Juan Quintela (3): wavaudio: Use stdio instead of QEMUFile wavcapture: Use stdio instead of QEMUFile ds1225y: Use stdio instead of QEMUFile audio/wavaudio.c | 34 ++++++++++++++++++++++++---------- audio/wavcapture.c | 48 ++++++++++++++++++++++++++++++++++-------------- hw/ds1225y.c | 28 ++++++++++++++++------------ 3 files changed, 74 insertions(+), 36 deletions(-) -- 1.7.6.2