diff options
author | 2019-02-27 13:22:56 +0100 | |
---|---|---|
committer | 2019-03-08 12:26:45 +0100 | |
commit | 37be14036b1a7ae066f76d3296bbd37b0c697637 (patch) | |
tree | 2ff2be43bce66ac98a692709dab8bfa287823146 /hw/usb/dev-hub.c | |
parent | qcow2: Return 0/-errno in qcow2_alloc_compressed_cluster_offset() (diff) | |
download | qemu-37be14036b1a7ae066f76d3296bbd37b0c697637.tar.xz qemu-37be14036b1a7ae066f76d3296bbd37b0c697637.zip |
qcow2: Prepare qcow2_co_block_status() for data file
Offset 0 cannot be assumed to mean an unallocated cluster any more.
Instead, the cluster type needs to be checked.
*file must refer to the data file instead of the image file if a valid
offset is returned from qcow2_co_block_status().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions