History | View | Annotate | Download (3.5 kB)
Revert "error: Don't use error_report() for assertion msgs."
This reverts commit d32934c84c72f57e78d430c22974677b7bcabe5d.
The original implementation before this patch makes abortive errormessages much more friendly. The underlying bug that required this...
error: Don't use error_report() for assertion msgs.
Use fprintf(stderr instead. This removes dependency of libqemuutil.aon the monitor.
We can further justify this change, in that this code path should onlytrigger under a fatal error condition. fprintf-stderr is probably the...
error: Add error_abort
Add a special Error * that can be passed to error handling APIs tosignal that any errors are fatal and should abort QEMU. There are twoadvantages to this:
- allows for brevity when wishing to assert success of Error ** accepting APIs. No need for this pattern:...
util/error: Save errno from clobbering
There may be calls to error_setg() and especially error_setg_errno()which blindly (and until now wrongly) assume these functions not toclobber errno (e.g., they pass errno to error_setg_errno() and return-errno afterwards). Instead of trying to find and fix all of these...
error: Add error_set_win32 and error_setg_win32
These functions help maintaining homogeneous formatting of error messageswith Windows error code and description (generated byg_win32_error_message()).
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>...
error: add error_setg_file_open() helper
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Acked-by: Kevin Wolf <kwolf@redhat.com>
build: move libqemuutil.a components to util/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>