Files
qemu-ios/include/qemu
Kevin Wolf 1266c9b9f5 job: Add error message for failing jobs
So far we relied on job->ret and strerror() to produce an error message
for failed jobs. Not surprisingly, this tends to result in completely
useless messages.

This adds a Job.error field that can contain an error string for a
failing job, and a parameter to job_completed() that sets the field. As
a default, if NULL is passed, we continue to use strerror(job->ret).

All existing callers are changed to pass NULL. They can be improved in
separate patches.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
2018-05-30 13:31:01 +02:00
..
…
…
…
2017-09-22 14:11:25 +02:00
…
…
2017-07-24 12:42:55 +01:00
…
…
…
…
2017-10-16 20:57:13 +03:00
2017-12-18 10:54:13 -05:00
…
…
2017-09-05 22:34:40 +02:00
2018-05-23 17:33:58 +03:00
…
2018-05-30 13:31:01 +02:00
2018-03-12 11:18:26 +01:00
…
…
…
2017-12-18 17:07:02 +03:00
2018-03-27 13:05:28 +01:00
…
2018-01-16 14:54:50 +01:00
…
…
…
2018-02-08 09:22:03 +08:00
…
…
2017-12-20 22:01:24 +08:00
2018-02-08 09:22:03 +08:00
…