Re: [PATCH] replace error_setg(&error_fatal, ...) with error_report()

2024-10-18 Thread Michael Tokarev
08.10.2024 01:27, Tudor Gheorghiu wrote: According to include/qapi/error.h: * Please don't error_setg(&error_fatal, ...), use error_report() and * exit(), because that's more obvious. Patch updates all instances of error_setg(&error_fatal, ...) with error_report(...), adds the explicit exit(1) a

Re: [PATCH] replace error_setg(&error_fatal, ...) with error_report()

2024-10-08 Thread Thomas Huth
On 08/10/2024 00.27, Tudor Gheorghiu wrote: According to include/qapi/error.h: * Please don't error_setg(&error_fatal, ...), use error_report() and * exit(), because that's more obvious. Patch updates all instances of error_setg(&error_fatal, ...) with error_report(...), adds the explicit exit(1

[PATCH] replace error_setg(&error_fatal, ...) with error_report()

2024-10-07 Thread Tudor Gheorghiu
According to include/qapi/error.h: * Please don't error_setg(&error_fatal, ...), use error_report() and * exit(), because that's more obvious. Patch updates all instances of error_setg(&error_fatal, ...) with error_report(...), adds the explicit exit(1) and removes redundant return statements. Si