]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
block/dirty-bitmaps: prohibit readonly bitmaps for backups
authorJohn Snow <jsnow@redhat.com>
Tue, 12 Mar 2019 16:05:49 +0000 (12:05 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 12 Mar 2019 16:05:49 +0000 (12:05 -0400)
commita54a0c113b333aee49e484758fab7f1f1c593dd3
tree8cfdf06740076e8fa58f5c10e589681d529fc702
parent3ae96d66840f72ef54902d012dbdf87ef4e9fe0c
block/dirty-bitmaps: prohibit readonly bitmaps for backups

drive and blockdev backup cannot use readonly bitmaps, because the
sync=incremental mechanism actually edits the bitmaps on success.

If you really want to do this operation, use a copied bitmap.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190301191545.8728-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
blockdev.c