From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss9DJ-0004bd-8y for qemu-devel@nongnu.org; Fri, 20 Jul 2012 05:09:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ss9D9-0005Af-IY for qemu-devel@nongnu.org; Fri, 20 Jul 2012 05:09:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss9D9-0005AU-Al for qemu-devel@nongnu.org; Fri, 20 Jul 2012 05:09:23 -0400 Message-ID: <50092040.5080101@redhat.com> Date: Fri, 20 Jul 2012 11:09:20 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <281b57d9-179c-4e35-9bac-15afdda83ec3@mailpro> In-Reply-To: <281b57d9-179c-4e35-9bac-15afdda83ec3@mailpro> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] question about commit: "block: implement is_allocated for raw" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexandre DERUMIER Cc: qemu-devel@nongnu.org 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