diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-03-14 19:15:03 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-20 15:57:27 +0200 |
commit | 68d000a39074fe3888680491444a7fde2354cd84 (patch) | |
tree | 8ac53ab1e3685e049cdceeb17ee0342da44a7bed /target-sparc | |
parent | 90b277593df873d3a2480f002e2eb5fe1f8e5277 (diff) | |
download | qemu-68d000a39074fe3888680491444a7fde2354cd84.zip qemu-68d000a39074fe3888680491444a7fde2354cd84.tar.gz qemu-68d000a39074fe3888680491444a7fde2354cd84.tar.bz2 |
qcow2: Ignore reserved bits in get_cluster_offset
With this change, reading from a qcow2 image ignores all reserved bits
that are set in an L1 or L2 table entry.
Now get_cluster_offset() assigns *cluster_offset only the offset without
any other flags. The cluster type is not longer encoded in the offset,
but a positive return value in case of success.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-sparc')
0 files changed, 0 insertions, 0 deletions