Il 20/07/2012 11:07, Alexandre DERUMIER ha scritto: > 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 ?
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