]> Git Repo - qemu.git/commit - block/qcow2-cluster.c
qcow2: Update handle_alloc() to support L2 slices
authorAlberto Garcia <[email protected]>
Mon, 5 Feb 2018 14:33:23 +0000 (16:33 +0200)
committerMax Reitz <[email protected]>
Tue, 13 Feb 2018 16:00:00 +0000 (17:00 +0100)
commit6d99a344473b2c5e2906489e3587b952d9b84a83
tree8a6e5cd1b8f2c7a78a8f31840001bccd7af696f2
parentcde917662a71bea9a42ae00c23235384df654804
qcow2: Update handle_alloc() to support L2 slices

handle_alloc() loads an L2 table and limits the number of checked
clusters to the amount that fits inside that table. Since we'll be
loading L2 slices instead of full tables we need to update that limit.

Apart from that, this function doesn't need any additional changes, so
this patch simply updates the variable name from l2_table to l2_slice.

Signed-off-by: Alberto Garcia <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Message-id: b243299c7136f7014c5af51665431ddbf5e99afd.1517840877[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/qcow2-cluster.c
This page took 0.023581 seconds and 4 git commands to generate.