Jeff Cody cc67f4d1f9 block: mirror - use local_err to avoid NULL errp
When starting a block job, commit_active_start() relies on whether *errp
is set by mirror_start_job.  This allows it to determine if the mirror
job start failed, so that it can clean up any changes to open flags from
the bdrv_reopen().  If errp is NULL, then it will not be able to
determine if mirror_start_job failed or not.

To avoid this, use a local Error variable, and then propagate the error
(if any) to errp.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-02-14 18:05:39 +01:00
2014-02-13 14:52:06 +00:00
2014-02-14 13:04:56 +01:00
2014-02-07 16:42:13 +00:00
2014-02-07 16:42:13 +00:00
2014-01-31 11:13:08 +00:00
2014-01-08 19:07:20 +00:00
2014-02-12 16:42:50 +00:00
2014-02-11 22:56:37 +10:00
2014-02-11 22:56:37 +10:00
2014-02-09 09:12:38 +01:00
2014-01-24 17:40:03 +01:00
2014-02-01 13:46:06 +04:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%