question about commit: "block: implement is_allocated for raw"
Hi,
I have a question about commit
http://git.qemu.org/?p=qemu.git;a=commit;h=5500316ded9db5b10072334cde1e27fb37682240
"block: implement is_allocated for raw"
Does it works with virtio-blk ? Or does it discard support ?
Regards,
Alexandre Derumier
Il 20/07/2012 11:07, Alexandre DERUMIER ha scritto:
Quoted 7 lines
Hi,
I have a question about commit
http://git.qemu.org/?p=qemu.git;a=commit;h=5500316ded9db5b10072334cde1e27fb37682240
"block: implementis_allocatedfor raw"Does it works with virtio-blk ? Or does it discard support ?
It is unrelated to virtio-blk. is_allocated is only used internally (qemu-img convert and online streaming). In the future it may be accessible to SCSI devices via the GET LBA STATUS command.
It is part of improving support. I hope to get that in 1.2, but honestly it's not too likely.
Paolo
Ok, that's clear.
Thanks for your fast response !
Regards,
Alexandre
----- Mail original -----
De: "Paolo Bonzini" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: [email protected]
Envoyé: Vendredi 20 Juillet 2012 11:09:20
Objet: Re: question about commit: "block: implement is_allocated for raw"
Il 20/07/2012 11:07, Alexandre DERUMIER ha scritto:
Quoted 7 lines
Hi,
I have a question about commit
http://git.qemu.org/?p=qemu.git;a=commit;h=5500316ded9db5b10072334cde1e27fb37682240
"block: implementis_allocatedfor raw"Does it works with virtio-blk ? Or does it discard support ?
It is unrelated to virtio-blk. is_allocated is only used internally (qemu-img convert and online streaming). In the future it may be accessible to SCSI devices via the GET LBA STATUS command.
It is part of improving support. I hope to get that in 1.2, but honestly it's not too likely.
Paolo
--
--
Alexandre D e rumier
Ingénieur Systèmes et Réseaux
Fixe : 03 20 68 88 85
Fax : 03 20 68 90 88
45 Bvd du Général Leclerc 59100 Roubaix
12 rue Marivaux 75002 Paris