Today, some calls to abort() do not have a preceding error string that
might hint to the end user why QEMU died. Debugging such scenarios is
painful today.

This patchset attempts to clean up some dead code in vvfat.c;
it also aims to improve qemu error-reporting by placing error messages
that precede calls to abort().

Prerna Saxena (2):
  Block: Cleanup vvfat.c to remove dead code.
  Debug : Add error messages before a call to debug().

 block.c                |  1 +
 block/block-backend.c  |  4 ++++
 block/curl.c           |  1 +
 block/io.c             |  1 +
 block/linux-aio.c      |  1 +
 block/mirror.c         |  2 ++
 block/qcow2-cache.c    |  1 +
 block/qcow2-cluster.c  |  3 +++
 block/qcow2-refcount.c |  7 +++++++
 block/qcow2.c          |  2 ++
 block/vvfat.c          | 17 +++--------------
 blockdev.c             |  3 +++
 crypto/aes.c           |  1 +
 exec.c                 |  4 ++++
 hw/scsi/scsi-disk.c    |  2 ++
 hw/virtio/virtio.c     |  5 ++++-
 vl.c                   |  2 ++
 17 files changed, 42 insertions(+), 15 deletions(-)

-- 
1.8.1.2


Reply via email to