Red Hat Bugzilla – Bug 753863
Floppy support broken
Last modified: 2016-09-19 21:41:32 EDT
Description of problem:
Floppy support in qemu is broken and no guest OS (windows or linux) is able to read from floppy images when floppy image path is passed to qemu using '-fda' option rather than '-drive' (i-e always reproducible when using libvirtd). Since the issue has already been fixed in qemu git master by Kevin Wolf, I don't see the need to provide more details as the solution is simply to merge block devices/floppy related patches from Kevin.
Version-Release number of selected component (if applicable): 0.15.1
How reproducible: Always
The relevant upstream commit IDs are 34d4260e (most definitely required), a18e67f5 and acae6f1c (probably both not required in 0.15).
This will make the next update. Thanks for the report, and thanks for the upstream commit references Kevin.
Created attachment 550883 [details]
floppy fixes for fedora qemu
Here is the patch I applied locally to the f16 qemu package to get working floppy devices. The 34d4260e184 commit needed some (trivial) rediffing in hw/pc_piix.c
I tested that floppy support was fixed by dowloading a DOS floppy image used for bios flashing and starting it with
qemu-kvm -drive file=DRDFLASH.IMG,if=none,id=fdc,format=raw -global isa-fdc.driveA=fdc
With the current fedora package, this fails with "no bootable devices found", with a package built with the attached patch, I get to a dos prompt
Justin, any word on this?
I've uploaded a qemu 0.15 package with this patch to http://teuf.fedorapeople.org/boxes/gnome-boxes-preview.repo if that can help with testing.
qemu-0.15.1-4.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qemu-0.15.1-4.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
qemu-0.15.1-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.