Skip to contentSkip to conversation

drive-mirror remove detect-zeroes drive property

Qemu-devel Alexandre DERUMIER 1 participant 1 message Oct 10, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

It seem that drive-mirror block job, remove the detect-zeroes drive property on the target drive

qemu ....
-device virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5
-drive file=/source.raw,if=none,id=drive-scsi2,cache=writeback,discard=on,aio=native,detect-zeroes=unmap

# info block

drive-scsi2: /source.raw (raw)
Detect zeroes: unmap

do a drive mirror to a new target.raw file

# info block

drive-scsi2: /target.raw (raw)

is it a bug ?