diff options
| author | Alberto Garcia | 2018-02-05 15:33:19 +0100 |
|---|---|---|
| committer | Max Reitz | 2018-02-13 16:59:59 +0100 |
| commit | c03bfc5bba594a961ddc3c755fd4c0e45c41bae4 (patch) | |
| tree | bfb6578be9f4b78a4f249f85ebceee95f244cef1 /linux-headers/linux/virtio_ring.h | |
| parent | qcow2: Refactor get_cluster_table() (diff) | |
| download | qemu-c03bfc5bba594a961ddc3c755fd4c0e45c41bae4.tar.gz qemu-c03bfc5bba594a961ddc3c755fd4c0e45c41bae4.tar.xz 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 'linux-headers/linux/virtio_ring.h')
0 files changed, 0 insertions, 0 deletions
