Re: Questions about losing the write lock of raw-format disks after migration

2021-11-25 Thread Hanna Reitz
On 24.11.21 13:56, Peng Liang via wrote: Hi folks, When we test migration with raw-format disk, we found that the QEMU process in the dst will lose the write lock after migration. However, the QEMU process in the dst will still hold the write lock for qcow2-format disk. After reading some bloc

Questions about losing the write lock of raw-format disks after migration

2021-11-24 Thread Peng Liang via
Hi folks, When we test migration with raw-format disk, we found that the QEMU process in the dst will lose the write lock after migration. However, the QEMU process in the dst will still hold the write lock for qcow2-format disk. After reading some block layer's code, I found that the first blk_