summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-11-20 15:41:31 +0100
committerKevin Wolf <kwolf@redhat.com>2017-11-21 14:48:23 +0100
commit70a5afedd64c3f0d3b5feae6b40b30f3e8d13e4b (patch)
tree93fa81af7514d079f443df71c32a0afe93cb68ae /scripts/qapi.py
parent2b624fe079ee7123797f6c685e714795665c0e01 (diff)
downloadfocaccia-qemu-70a5afedd64c3f0d3b5feae6b40b30f3e8d13e4b.tar.gz
focaccia-qemu-70a5afedd64c3f0d3b5feae6b40b30f3e8d13e4b.zip
block: Error out on load_vm with active dirty bitmaps
Loading a snapshot invalidates the bitmap. Just marking all blocks dirty
is not a useful response in practice, instead the user needs to be aware
that we switch to a completely different state. If they are okay with
losing the dirty bitmap, they can just explicitly delete it.

This effectively reverts commit 04dec3c3ae5.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions