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]>