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

A message that is not in the archive (sent off-list or not yet received): f2ce1a28-ea34-4d50-877b-bc88a064b591@mailpro

#1 lore raw

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 ?