aboutsummaryrefslogtreecommitdiffstats
path: root/target-openrisc/exception.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-10-22 14:09:28 +0200
committerKevin Wolf <kwolf@redhat.com>2014-10-23 15:34:01 +0200
commit1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2 (patch)
treeafc4fe0f17cb9f8c441ebebdc9597cdb7c6dc1bb /target-openrisc/exception.c
parentblock: Add qemu_{,try_}blockalign0() (diff)
downloadqemu-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