Received: from eggs.gnu.org ([208.118.235.92]:57974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss9G4-00063T-5M for qemu-devel@nongnu.org; Fri, 20 Jul 2012 05:12:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ss9G0-0005z9-2n for qemu-devel@nongnu.org; Fri, 20 Jul 2012 05:12:24 -0400 Received: from mailpro.odiso.net ([89.248.209.98]:51929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss9Fz-0005z5-Sb for qemu-devel@nongnu.org; Fri, 20 Jul 2012 05:12:19 -0400 Date: Fri, 20 Jul 2012 11:11:57 +0200 (CEST) From: Alexandre DERUMIER Message-ID: In-Reply-To: <50092040.5080101@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Paolo Bonzini Cc: qemu-devel@nongnu.org Ok, that's clear. Thanks for your fast response ! Regards, Alexandre ----- Mail original ----- De: "Paolo Bonzini" =C3=80: "Alexandre DERUMIER" Cc: qemu-devel@nongnu.org Envoy=C3=A9: 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: > Hi, > > I have a question about commit > http://git.qemu.org/?p=3Dqemu.git;a=3Dcommit;h=3D5500316ded9db5b10072334c= de1e27fb37682240 > "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 -- -- Alexandre D e rumier Ing=C3=A9nieur Syst=C3=A8mes et R=C3=A9seaux Fixe : 03 20 68 88 85 Fax : 03 20 68 90 88 45 Bvd du G=C3=A9n=C3=A9ral Leclerc 59100 Roubaix 12 rue Marivaux 75002 Paris