summaryrefslogtreecommitdiffstats
path: root/memory.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2015-02-10 15:28:51 -0500
committerKevin Wolf <kwolf@redhat.com>2015-03-10 14:02:21 +0100
commit59c0cb7830be68080c6a0d1449253b954350e57d (patch)
tree101df899f44f430e7d82e3eaae63241fc9534f36 /memory.c
parent7453c96b78c2b09aa72924f933bb9616e5474194 (diff)
downloadhqemu-59c0cb7830be68080c6a0d1449253b954350e57d.zip
hqemu-59c0cb7830be68080c6a0d1449253b954350e57d.tar.gz
qcow2: More helpers for refcount modification
Add helper functions for getting and setting refcounts in a refcount array for any possible refcount order, and choose the correct one during refcount initialization. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud