From: Ian Jackson <Ian.Jackson@eu.citrix.com>
This is apropos if a suggestion from Philippe. I've compile-tested
this but not executed it yet. Let me know what you think.
Thanks,
Ian.
Ian Jackson (7):
error reporting: Introduce errnoval parameter to vreport
error reporting: Provide error_report_errno (and error_vreport_errno)
error reporting: Use error_report_errno in obvious places
error reporting: Fix some error messages to use ":" rather than ","
error reporting: Provide error_report_errnoval (and
error_vreport_errnoval)
error reporting: Use error_report_errnoval in obvious places
error reporting: HACKING: Say to use error_report_errno
HACKING | 1 +
audio/wavcapture.c | 2 +-
block/nvme.c | 2 +-
block/rbd.c | 2 +-
block/sheepdog.c | 16 ++++-----
cpus.c | 2 +-
hw/i386/xen/xen-hvm.c | 2 +-
hw/ppc/spapr_hcall.c | 2 +-
hw/s390x/s390-stattrib-kvm.c | 6 ++--
hw/s390x/s390-virtio-ccw.c | 2 +-
hw/scsi/vhost-scsi.c | 2 +-
hw/scsi/vhost-user-scsi.c | 2 +-
hw/tpm/tpm_emulator.c | 2 +-
hw/xen/xen_pt_load_rom.c | 4 +--
include/qemu/error-report.h | 7 ++++
migration/migration.c | 2 +-
migration/postcopy-ram.c | 12 +++----
net/tap-linux.c | 2 +-
os-posix.c | 8 ++---
qemu-img.c | 10 +++---
qemu-io-cmds.c | 4 +--
qemu-nbd.c | 10 +++---
scsi/qemu-pr-helper.c | 8 ++---
slirp/misc.c | 4 +--
target/arm/kvm64.c | 4 +--
util/osdep.c | 2 +-
util/qemu-error.c | 77 ++++++++++++++++++++++++++++++++++++++++----
vl.c | 6 ++--
28 files changed, 137 insertions(+), 66 deletions(-)
--
2.1.4