From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TX7LA-0007vS-SE for qemu-devel@nongnu.org; Sat, 10 Nov 2012 04:27:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TX7L7-0001U2-Ob for qemu-devel@nongnu.org; Sat, 10 Nov 2012 04:27:00 -0500 Received: from mail.univention.de ([82.198.197.8]:2027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TX7L7-0001Tk-Hf for qemu-devel@nongnu.org; Sat, 10 Nov 2012 04:26:57 -0500 From: Philipp Hahn Date: Fri, 9 Nov 2012 19:50:27 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1531441.LzghWcpelB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201211091950.31378.hahn@univention.de> Subject: [Qemu-devel] [BUG?] vvfat vs. pc-1.1 isa-fdc.check_media_rate=off List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , =?iso-8859-1?q?Herv=E9_Poussineau?= , Kevin Wolf --nextPart1531441.LzghWcpelB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I tried to create a virtual VFAT floppy image on-the-fly with qemi(-kvm)-1.= 1.1=20 using the command line argument -drive file=3Dfat:floppy:"$WORK/floppy",if=3Dfloppy,index=3D0 Everything worked fine until I added the additional "-M pc-0.14" command li= ne=20 argument: Then I only get an empty floppy image. I narrowed this down to the PC_COMPAT_1_0 definition in hw/pc_piix.c, which= =20 added .driver =3D "isa-fdc",\ .property =3D "check_media_rate",\ .value =3D "off",\ to the compat settings. If I also add an -global isa-fdc.check_media_rate=3Don to explicitly overwrite that setting, vvfat also works with pc-1.0 and=20 earlier. I didn't unsterstand from reading the code what that flag is supposed to do= ,=20 so can somebody give me some help to understand what goes wrong here. I think vvfat needs to be patched to also work with check_media_rate=3Doff. Sincerely Philipp =2D-=20 Philipp Hahn Open Source Software Engineer hahn@univention.de Univention GmbH be open. fon: +49 421 22 232- 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99 http://www.univention.de/ --nextPart1531441.LzghWcpelB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAlCdUHMACgkQYPlgoZpUDjm3aQCgvd+ny6y62/0GQ9B9kohh/NxY ufEAn3qAWYD+OyZgcdY8bDRyipzjoIaz =8GB1 -----END PGP SIGNATURE----- --nextPart1531441.LzghWcpelB--