diff options
author | 2014-10-22 14:09:28 +0200 | |
---|---|---|
committer | 2014-10-23 15:34:01 +0200 | |
commit | 1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2 (patch) | |
tree | afc4fe0f17cb9f8c441ebebdc9597cdb7c6dc1bb /target-openrisc/exception.c | |
parent | block: Add qemu_{,try_}blockalign0() (diff) | |
download | qemu-1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2.tar.xz qemu-1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2.zip |
qcow2: Calculate refcount block entry count
The size of a refblock entry is (in theory) variable; calculate
therefore the number of entries per refblock and the according bit shift
(1 << x == entry count) when opening an image.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-openrisc/exception.c')
0 files changed, 0 insertions, 0 deletions