>>Sorry, forgot to mention - of course I`ve pulled all previous 
>>zeroing-related queue, so I haven`t had only the QMP-related fix 
>>running on top of the master :) 

Hi, I had a discussion about rbd mirroring, detect-zeroes and sparse target,  
some months ago with paolo

http://qemu.11.n7.nabble.com/qemu-drive-mirror-to-rbd-storage-no-sparse-rbd-image-td293642.html

Not sure it's related but 

"Lack of bdrv_co_write_zeroes is why detect-zeroes does not work. 

Lack of bdrv_get_block_status is why sparse->sparse does not work 
without detect-zeroes. 

Paolo 
"
----- Mail original -----
De: "Andrey Korolyov" <and...@xdel.ru>
À: "Fam Zheng" <f...@redhat.com>
Cc: "Kevin Wolf" <kw...@redhat.com>, "qemu block" <qemu-bl...@nongnu.org>, 
"Jeff Cody" <jc...@redhat.com>, "qemu-devel" <qemu-devel@nongnu.org>, "Markus 
Armbruster" <arm...@redhat.com>, "stefanha" <stefa...@redhat.com>, "pbonzini" 
<pbonz...@redhat.com>
Envoyé: Mercredi 10 Juin 2015 17:48:54
Objet: Re: [Qemu-devel] [PATCH 1/2] qapi: Add "detect-zeroes" option to 
drive-mirror

> '{"execute":"drive-mirror", "arguments": { "device": 
> "drive-virtio-disk0", "target": 
> "rbd:dev-rack2/vm33090-dest:id=qemukvm:key=xxx:auth_supported=cephx\\;none:mon_host=10.6.0.1\\:6789\\;10.6.0.3\\:6789\\;10.6.0.4\\:6789",
>  
> "mode": "existing", "sync": "full", "detect-zeroes": true, "format": 
> "raw" } }' 

Sorry, forgot to mention - of course I`ve pulled all previous 
zeroing-related queue, so I haven`t had only the QMP-related fix 
running on top of the master :) 

Reply via email to