commit | 59c0cb7830be68080c6a0d1449253b954350e57d | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Tue Feb 10 15:28:51 2015 -0500 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Mar 10 14:02:21 2015 +0100 |
tree | 101df899f44f430e7d82e3eaae63241fc9534f36 | |
parent | 7453c96b78c2b09aa72924f933bb9616e5474194 [diff] |
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>