Stefan Hajnoczi 7d47b243d6 qcow2: flush refcount cache correctly in qcow2_write_snapshots()
Since qcow2 metadata is cached we need to flush the caches, not just the
underlying file.  Use bdrv_flush(bs) instead of bdrv_flush(bs->file).

Also add the error return path when bdrv_flush() fails and move the
flush after checking for qcow2_alloc_clusters() failure so that the
qcow2_alloc_clusters() error return value takes precedence.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit f6977f1556)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2013-04-02 15:47:09 -05:00
2013-01-10 15:11:53 -06:00
2013-01-26 13:15:35 +00:00
2013-04-02 15:41:50 -05:00
2013-04-02 10:34:41 -05:00
2012-12-19 08:29:06 +01:00
2013-01-18 19:06:57 +01:00
2013-02-14 08:58:30 -06:00
2012-10-24 10:26:22 +02:00
2013-02-01 15:53:11 -06:00
2013-02-14 08:58:30 -06:00
2013-01-30 16:03:57 +00:00
2013-02-06 15:52:07 +01:00
2013-02-13 11:56:02 -06:00
2013-04-02 10:34:41 -05:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2012-05-14 07:27:24 +02:00
2012-12-20 23:08:47 +01:00
2011-12-09 11:25:22 +00:00
2013-01-30 10:42:29 +01:00
2013-01-26 13:15:35 +00:00
2012-12-20 23:09:25 +01:00
2013-01-17 10:24:52 -02:00
2013-04-02 15:44:43 -05:00
2013-02-11 13:22:39 -06:00
2011-12-11 17:50:43 -06:00
2013-02-15 16:15:40 -06:00
2013-01-15 04:09:14 +01:00

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

- QEMU team
Description
Languages
C 82.6%
C++ 6.5%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.9%