Qemu fails on -fda /dev/fd0 when no medium is present

Bug #932490 reported by Herbert Poetzl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Won't Fix
Undecided
Unassigned

Bug Description

# qemu-system-x86_64 --version
QEMU emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice Bellard

# qemu-system-x86_64 -fda /dev/fd0
qemu-system-x86_64: -fda /dev/fd0: could not open disk image /dev/fd0: No such device or address

Starting with a medium (floppy disk) inserted, then removing or changing the medium works fine.

Revision history for this message
Thomas Huth (th-huth) wrote :

Is this still an issue with the latest version of QEMU (currently v2.10), or could we close this ticket nowadays?

Changed in qemu:
status: New → Incomplete
Revision history for this message
Herbert Poetzl (bertl) wrote :

Sorry, it has been more than five years and I don't have a system with a floppy disk to test anymore.

Best,
Herbert

Revision history for this message
John Snow (jnsnow) wrote :

Likely the bug as reported still exists, because this attempts to use the disk image, not the floppy drive as a whole. If there's no floppy inserted, there's no disk image to use. Later versions of QEMU even explicitly remove support for pass-through floppy disks.

Basically, what you want to do is to create a normal emulated floppy drive in QEMU, and then use the block device add commands to use the /dev/fd0 as a media which can then be virtually inserted into the virtual floppy device.

QEMU does not have support for doing pass-through of the floppy controller / drive itself presently. (Uh, unless you have a PCI floppy controller or something, but... you probably don't!)

We can close this bug as WONTFIX, essentially.

Thomas Huth (th-huth)
Changed in qemu:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.