]> Git Repo - qemu.git/commit - block/backup.c
Convert error_report() to warn_report()
authorAlistair Francis <[email protected]>
Wed, 12 Jul 2017 13:57:41 +0000 (06:57 -0700)
committerMarkus Armbruster <[email protected]>
Thu, 13 Jul 2017 11:49:58 +0000 (13:49 +0200)
commit3dc6f8693694a649a9c83f1e2746565b47683923
tree153647a2b03c8508c33107b6eea4b091bd0a1130
parent97f40301f1dc3a3658427d1e9d964007b6f5673b
Convert error_report() to warn_report()

Convert all uses of error_report("warning:"... to use warn_report()
instead. This helps standardise on a single method of printing warnings
to the user.

All of the warnings were changed using these two commands:
    find ./* -type f -exec sed -i \
      's|error_report(".*warning[,:] |warn_report("|Ig' {} +

Indentation fixed up manually afterwards.

The test-qdev-global-props test case was manually updated to ensure that
this patch passes make check (as the test cases are case sensitive).

Signed-off-by: Alistair Francis <[email protected]>
Suggested-by: Thomas Huth <[email protected]>
Cc: Jeff Cody <[email protected]>
Cc: Kevin Wolf <[email protected]>
Cc: Max Reitz <[email protected]>
Cc: Ronnie Sahlberg <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Peter Lieven <[email protected]>
Cc: Josh Durgin <[email protected]>
Cc: "Richard W.M. Jones" <[email protected]>
Cc: Markus Armbruster <[email protected]>
Cc: Peter Crosthwaite <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: Greg Kurz <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Peter Maydell <[email protected]>
Cc: Peter Chubb <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: Marcel Apfelbaum <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Igor Mammedov <[email protected]>
Cc: David Gibson <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Acked-by: David Gibson <[email protected]>
Acked-by: Greg Kurz <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed by: Peter Chubb <[email protected]>
Acked-by: Max Reitz <[email protected]>
Acked-by: Marcel Apfelbaum <[email protected]>
Message-Id: <e1cfa2cd47087c248dd24caca9c33d9af0c499b0.1499866456[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
36 files changed:
block/backup.c
block/gluster.c
block/iscsi.c
block/nfs.c
block/rbd.c
block/ssh.c
blockdev.c
cpus.c
hw/9pfs/9p.c
hw/arm/highbank.c
hw/arm/imx25_pdk.c
hw/arm/kzm.c
hw/core/machine.c
hw/core/qdev-properties.c
hw/i386/acpi-build.c
hw/i386/kvm/pci-assign.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/misc/aspeed_sdmc.c
hw/nvram/fw_cfg.c
hw/pci-host/piix.c
hw/ppc/pnv.c
hw/ppc/spapr.c
hw/ppc/spapr_iommu.c
hw/scsi/scsi-bus.c
hw/usb/dev-smartcard-reader.c
hw/usb/redirect.c
net/tap-linux.c
target/i386/cpu.c
target/i386/kvm.c
target/s390x/cpu_models.c
target/s390x/kvm.c
tests/test-qdev-global-props.c
trace/control.c
vl.c
This page took 0.03555 seconds and 4 git commands to generate.