On 03/01/2018 10:27 AM, Alberto Garcia wrote:
This function checks that the size of a snapshot's L1 table is not too
large, but it doesn't validate the offset.
We now have a function to take care of this, so let's use it.
Signed-off-by: Alberto Garcia <be...@igalia.com>
---
block/qcow2-snapshot.c | 8 +++++---
tests/qemu-iotests/080 | 10 +++++++++-
tests/qemu-iotests/080.out | 8 +++++++-
3 files changed, 21 insertions(+), 5 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org