summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2018-02-05 16:33:19 +0200
committerMax Reitz <mreitz@redhat.com>2018-02-13 16:59:59 +0100
commitc03bfc5bba594a961ddc3c755fd4c0e45c41bae4 (patch)
treebfb6578be9f4b78a4f249f85ebceee95f244cef1 /scripts/qapi-commands.py
parent05f9ee4689b71e726c46e7477020ac4bf4814109 (diff)
downloadfocaccia-qemu-c03bfc5bba594a961ddc3c755fd4c0e45c41bae4.tar.gz
focaccia-qemu-c03bfc5bba594a961ddc3c755fd4c0e45c41bae4.zip
qcow2: Update get_cluster_table() to support L2 slices
This patch updates get_cluster_table() to return L2 slices instead of
full L2 tables.

The code itself needs almost no changes, it only needs to call
offset_to_l2_slice_index() instead of offset_to_l2_index(). This patch
also renames all the relevant variables and the documentation.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 64cf064c0021ba315d3f3032da0f95db1b615f33.1517840877.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions