Re: [PATCH 1/2] tests: add migrate-during-backup

2021-09-10 Thread Vladimir Sementsov-Ogievskiy
10.09.2021 17:18, Hanna Reitz wrote: On 10.09.21 13:00, Vladimir Sementsov-Ogievskiy wrote: 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

Re: [PATCH 1/2] tests: add migrate-during-backup

2021-09-10 Thread Hanna Reitz
On 10.09.21 13:00, Vladimir Sementsov-Ogievskiy wrote: 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 &

[PATCH 1/2] tests: add migrate-during-backup

2021-09-10 Thread Vladimir Sementsov-Ogievskiy
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(). Sign