Hide Forgot
This bug has been copied from bug #1232914 and has been proposed to be backported to 7.2 z-stream (EUS).
To verify the bug, QE should test the blockdev-mirror command, which is introduced as a fix to this bug. The command is going to be used in conjunction with blockdev-add. Generally, all the existing drive-mirror cases apply to blockdev-mirror. In particular, what is wanted in this BZ is enabling zero detection feature by specifying "detect-zeroes=unmap" to the target image. The QMP pseudo command lines are: # blockdev-add {'options': {'node-name': 'target0', 'driver': 'raw', 'detect-zeroes': 'unmap', 'file': {'driver': 'file', 'filename': '/var/tmp/dest'}}} blockdev-mirror {'device': 'd0', 'target': 'target0', 'sync': 'full'}
blockdev-add can't be used by libvirt upstream at this point. I've noted this in the parent BZ. Moving back to ASSIGNED to track backport of the new required patches.
We're withdrawing this from the z-stream because the fix is more complex than we anticipated. It'll be fixed in 7.3, but not in the z-stream (see bug #1232914).