From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPXZd-0006ZF-9Y for qemu-devel@nongnu.org; Thu, 04 Sep 2014 09:59:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPXZU-0002be-3K for qemu-devel@nongnu.org; Thu, 04 Sep 2014 09:59:41 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:60105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPXZT-0002bW-Rw for qemu-devel@nongnu.org; Thu, 04 Sep 2014 09:59:32 -0400 Received: by mail-wg0-f42.google.com with SMTP id b13so10029649wgh.1 for ; Thu, 04 Sep 2014 06:59:30 -0700 (PDT) Date: Thu, 4 Sep 2014 14:59:26 +0100 From: Stefan Hajnoczi Message-ID: <20140904135926.GD27130@stefanha-thinkpad.redhat.com> References: <1587858E792C6C48ADD97BCB156E8ED031FB39D059@APJ1XCHEVSPIN31.SYMC.SYMANTEC.COM> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pZs/OQEoSSbxGlYw" Content-Disposition: inline In-Reply-To: <1587858E792C6C48ADD97BCB156E8ED031FB39D059@APJ1XCHEVSPIN31.SYMC.SYMANTEC.COM> Subject: Re: [Qemu-devel] [Important] Query regarding bdrv_co_discard List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sanjay Kumar2 Cc: "'qemu-devel@nongnu.org'" --pZs/OQEoSSbxGlYw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 04, 2014 at 05:56:53AM -0700, Sanjay Kumar2 wrote: > Output of hdparam is below. Also let me know does network based protocol = supports 'qcow2' format. As my block driver is network based. It is perfect= ly working for raw format. When I change the type=3D'qcow2', then it is not= working because bdrv_get_geometry() is returning 0. This I am talking abou= t qemu-kvm-0.12.1.2. >=20 > [root@localhost ~]# hdparm -I /dev/sda >=20 > /dev/sda: > SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00= 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >=20 > ATA device, with non-removable media > Standards: > Likely used: 1 > Configuration: > Logical max current > cylinders 0 0 > heads 0 0 > sectors/track 0 0 > -- > Logical/Physical Sector size: 512 bytes > device size with M =3D 1024*1024: 0 MBytes > device size with M =3D 1000*1000: 0 MBytes > cache/buffer size =3D unknown I guess you are asking why hdparm reports 0 MB size? Please post the qemu command-line (ps aux | grep qemu) so we know how the guest is configured. qcow2 works on non-file protocols (e.g. network). Please keep discussion in this email thread and don't post comments about this on my blog. Stefan --pZs/OQEoSSbxGlYw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUCHA+AAoJEJykq7OBq3PIQwMH/j6PBDDnnh2TBqgnVKACrJGK Bbe4+NAoZRpNATnHVLIQMyNu9wuEr0CSGQq7RXmMd4TgzhQTR6TcQwQwpeH8yipU RFeuGRv8HbK2w1pE3git/QlBhfqlaBOTnjwmC6jrlioRSt/kxaPO1EdIJgSVsGLD ZizpoWkTjqzjTVMyTGiNHx7qe83iOUtk5M3f1vc15I7hve3QMQ7AGv6ZLfMQ79DU 2s/2WMPqV5YsJB3/Xhfb9lY/9HqWvhHOr1aH96pH4XmoQtVv5G+PNUAWtF0xPRnk udvRkwQAS5+oTi5/rB1l81zThKzCGesycMYgw5JlsW4kQGv4IG/fxlCGM0fmm+k= =bD/S -----END PGP SIGNATURE----- --pZs/OQEoSSbxGlYw--