diff options
author | Eric Blake | 2017-08-09 22:38:08 +0200 |
---|---|---|
committer | Kevin Wolf | 2017-08-11 13:23:47 +0200 |
commit | d0d5d0e31a874d592741a088c2c5071bae164dbf (patch) | |
tree | 83537d17c9bdaedabe85ff61d645adb85718e650 /util | |
parent | qcow2: Drop debugging dump_refcounts() (diff) | |
download | qemu-d0d5d0e31a874d592741a088c2c5071bae164dbf.tar.gz qemu-d0d5d0e31a874d592741a088c2c5071bae164dbf.tar.xz qemu-d0d5d0e31a874d592741a088c2c5071bae164dbf.zip |
qcow2: Check failure of bdrv_getlength()
qcow2_co_pwritev_compressed() should not call bdrv_truncate()
if determining the size failed.
Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions