Re: [PATCH] replication: Avoid blk_make_empty() on read-only child

2020-05-15 Thread Kevin Wolf
Am 15.05.2020 um 14:03 hat Kevin Wolf geschrieben: > This is just a bandaid to keep tests/test-replication working after > bdrv_make_empty() starts to assert that we're not trying to call it on a > read-only child. > > For the real solution in the future, replication should not steal the >

[PATCH] replication: Avoid blk_make_empty() on read-only child

2020-05-15 Thread Kevin Wolf
This is just a bandaid to keep tests/test-replication working after bdrv_make_empty() starts to assert that we're not trying to call it on a read-only child. For the real solution in the future, replication should not steal the BdrvChild from its backing file (this is never correct to do!), but