Chen Gang 6b8aeca574 block.c: Don't return success for bdrv_append_temp_snapshot() failure
When failure occurs, 'ret' need be set, or may return 0 to indicate
success. Previously, an error was set in errp, but 0 was returned
anyway. So let bdrv_append_temp_snapshot() return an error code and
use that for the bdrv_open() return value.

Also, error_propagate() need be called only one time within a function.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-06-27 20:00:00 +02:00
2014-06-23 11:12:28 -04:00
2014-06-23 11:00:12 -04:00
2014-06-20 23:59:19 +01:00
2014-06-24 15:33:42 +01:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-23 11:12:28 -04:00
2014-06-16 13:24:35 +02:00
2014-06-09 15:43:40 +02:00
2014-06-23 11:12:28 -04:00
2014-06-23 11:01:25 -04:00
2014-06-05 16:10:33 +02:00
2014-06-19 18:44:21 +03:00
2014-06-19 16:41:54 +03:00
2014-06-23 11:01:25 -04:00
2014-06-23 19:09:50 +02:00
2014-05-28 17:36:21 +02:00
2014-06-16 17:23:21 +08:00
2014-06-09 15:43:40 +02:00
2014-06-19 18:44:22 +03:00
2014-06-05 16:10:33 +02:00
2014-06-24 15:33:42 +01: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%