From: Philipp Hahn <hahn@univention.de>
To: qemu-devel <qemu-devel@nongnu.org>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"Kevin Wolf" <kwolf@redhat.com>
Subject: [Qemu-devel] [BUG?] vvfat vs. pc-1.1 isa-fdc.check_media_rate=off
Date: Fri, 9 Nov 2012 19:50:27 +0100 [thread overview]
Message-ID: <201211091950.31378.hahn@univention.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
Hello,
I tried to create a virtual VFAT floppy image on-the-fly with qemi(-kvm)-1.1.1
using the command line argument
-drive file=fat:floppy:"$WORK/floppy",if=floppy,index=0
Everything worked fine until I added the additional "-M pc-0.14" command line
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
added
.driver = "isa-fdc",\
.property = "check_media_rate",\
.value = "off",\
to the compat settings. If I also add an
-global isa-fdc.check_media_rate=on
to explicitly overwrite that setting, vvfat also works with pc-1.0 and
earlier.
I didn't unsterstand from reading the code what that flag is supposed to do,
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=off.
Sincerely
Philipp
--
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/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2012-11-10 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-09 18:50 Philipp Hahn [this message]
2012-11-10 22:41 ` [Qemu-devel] [BUG?] vvfat vs. pc-1.1 isa-fdc.check_media_rate=off Hervé Poussineau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201211091950.31378.hahn@univention.de \
--to=hahn@univention.de \
--cc=hpoussin@reactos.org \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).