diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-11-20 15:41:31 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-11-21 14:48:23 +0100 |
commit | 70a5afedd64c3f0d3b5feae6b40b30f3e8d13e4b (patch) | |
tree | 93fa81af7514d079f443df71c32a0afe93cb68ae /tests/test-aio-multithread.c | |
parent | 2b624fe079ee7123797f6c685e714795665c0e01 (diff) |
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 'tests/test-aio-multithread.c')
0 files changed, 0 insertions, 0 deletions