aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/sdmmc-internal.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2020-07-10 18:13:04 +0200
committerMax Reitz <mreitz@redhat.com>2020-08-25 08:33:20 +0200
commit205fa507508e1f8caa79325bafb3cd2ae8814125 (patch)
tree169261bc86f926ef299717637ba920fc77a0468a /hw/sd/sdmmc-internal.c
parent3f9c6b3b1f48d6c59d27df658f03792b857d7b55 (diff)
downloadqemu-205fa507508e1f8caa79325bafb3cd2ae8814125.zip
qemu-205fa507508e1f8caa79325bafb3cd2ae8814125.tar.gz
qemu-205fa507508e1f8caa79325bafb3cd2ae8814125.tar.bz2
qcow2: Add subcluster support to zero_in_l2_slice()
The QCOW_OFLAG_ZERO bit that indicates that a cluster reads as zeroes is only used in standard L2 entries. Extended L2 entries use individual 'all zeroes' bits for each subcluster. This must be taken into account when updating the L2 entry and also when deciding that an existing entry does not need to be updated. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <b61d61606d8c9b367bd641ab37351ddb9172799a.1594396418.git.berto@igalia.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/sd/sdmmc-internal.c')
0 files changed, 0 insertions, 0 deletions