On 11/20/2017 08:50 AM, Kevin Wolf wrote:
> Following the discussing at
> https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg03572.html
> this implements the error return for loading a snapshot while dirty
> bitmaps are active.
>
> Kevin Wolf (3):
> block: Add errp to bdrv_snapshot_goto()
> block: Add errp to bdrv_all_goto_snapshot()
> block: Error out on load_vm with active dirty bitmaps
Reviewed-by: Eric Blake <eblake@redhat.com>
>
> include/block/snapshot.h | 6 ++++--
> block/snapshot.c | 43 +++++++++++++++++++++++--------------------
> migration/savevm.c | 6 +++---
> qemu-img.c | 6 +++---
> 4 files changed, 33 insertions(+), 28 deletions(-)
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org