[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/3] Remove QEMUFile abuse

From: Juan Quintela
Subject: [Qemu-devel] [PATCH v2 0/3] Remove QEMUFile abuse
Date: Tue, 20 Sep 2011 15:16:26 +0200


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.


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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]