diff options
author | Alberto Garcia <berto@igalia.com> | 2018-02-05 16:33:25 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2018-02-13 17:00:00 +0100 |
commit | a9a9f8f0b6fae52296fe6cbcced9475aad485477 (patch) | |
tree | 1749c9fb1da87f9e670f28d83e34e1aa6df8121a /slirp/dnssearch.c | |
parent | 21ab3add9c9564270a64c92fff448b3333b6d328 (diff) | |
download | qemu-a9a9f8f0b6fae52296fe6cbcced9475aad485477.zip qemu-a9a9f8f0b6fae52296fe6cbcced9475aad485477.tar.gz qemu-a9a9f8f0b6fae52296fe6cbcced9475aad485477.tar.bz2 |
qcow2: Update zero_single_l2() to support L2 slices
zero_single_l2() limits the number of clusters to be zeroed to the
amount that fits inside an L2 table. Since we'll be loading L2 slices
instead of full tables we need to update that limit. The function is
renamed to zero_in_l2_slice() for clarity.
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 <berto@igalia.com>
Message-id: ebc16e7e79fa6969d8975ef487d679794de4fbcc.1517840877.git.berto@igalia.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'slirp/dnssearch.c')
0 files changed, 0 insertions, 0 deletions