]> git.proxmox.com Git - mirror_qemu.git/commit
tests: add migrate-during-backup
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Sat, 11 Sep 2021 12:00:26 +0000 (15:00 +0300)
committerHanna Reitz <hreitz@redhat.com>
Wed, 15 Sep 2021 13:54:07 +0000 (15:54 +0200)
commit2f43482733352e4423fcbddadd09265de92ddf58
tree6734ba3881f8e60fe62f1d9b1e52116c60275ba9
parent66fed30c9cd11854fc878a4eceb507e915d7c9cd
tests: add migrate-during-backup

Add a simple test which tries to run migration during backup.
bdrv_inactivate_all() should fail. But due to bug (see next commit with
fix) it doesn't, nodes are inactivated and continued backup crashes
on assertion "assert(!(bs->open_flags & BDRV_O_INACTIVE));" in
bdrv_co_write_req_prepare().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210911120027.8063-2-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/tests/migrate-during-backup [new file with mode: 0755]
tests/qemu-iotests/tests/migrate-during-backup.out [new file with mode: 0644]