summaryrefslogtreecommitdiffstats
path: root/numa.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 /numa.c
parent9ebd84480583bb6d9a7666c079d99ff3266c423d (diff)
downloadhqemu-1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2.zip
hqemu-1d13d654666a7fd6d6a85a0ce9285dbf0d0444c2.tar.gz
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 'numa.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud