From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3SU5-0008Ml-8o for qemu-devel@nongnu.org; Tue, 13 Sep 2011 08:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3SU1-00072J-Fs for qemu-devel@nongnu.org; Tue, 13 Sep 2011 08:53:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3SU1-00072B-7W for qemu-devel@nongnu.org; Tue, 13 Sep 2011 08:53:01 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8DCr0p1021065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Sep 2011 08:53:00 -0400 From: Juan Quintela Date: Tue, 13 Sep 2011 14:52:40 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] Remove QEMUFile abuse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi 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): vawaudio: port to FILE* wavcapture: port to FILE* ds1225y: port to FILE* audio/wavaudio.c | 28 +++++++++++++++++++--------- audio/wavcapture.c | 38 +++++++++++++++++++++++++------------- hw/ds1225y.c | 28 ++++++++++++++++------------ 3 files changed, 60 insertions(+), 34 deletions(-) -- 1.7.6