diff options
author | Alberto Garcia <berto@igalia.com> | 2020-07-10 18:12:45 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-08-25 08:33:20 +0200 |
commit | 8f91d6906c2217b968b6b01cdcb9e0edbb4d18ab (patch) | |
tree | dbbc8694d61d3ea9c7f0bd21f19c0debe781a540 /ui | |
parent | 388e581615d11126bc6d37223d50cbf8e127bde1 (diff) | |
download | qemu-8f91d6906c2217b968b6b01cdcb9e0edbb4d18ab.zip qemu-8f91d6906c2217b968b6b01cdcb9e0edbb4d18ab.tar.gz qemu-8f91d6906c2217b968b6b01cdcb9e0edbb4d18ab.tar.bz2 |
qcow2: Add calculate_l2_meta()
handle_alloc() creates a QCowL2Meta structure in order to update the
image metadata and perform the necessary copy-on-write operations.
This patch moves that code to a separate function so it can be used
from other places.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <e5bc4a648dac31972bfa7a0e554be8064be78799.1594396418.git.berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions