On 2015-03-17 at 12:08, Markus Armbruster wrote:
Forgot to mention:
1. For 2.3!
2. Testing without a physical floppy:
# > /dev/fd0
# chown armbru /dev/fd0
$ qemu-system-x86_64 -nodefaults -fda /dev/fd0
qemu-system-x86_64: -fda /dev/fd0: Host floppy pass-through is deprecated
Support for it will be removed in a future release.
WARNING: Image format was not specified for '/dev/fd0' and probing guessed
raw.
Automatically detecting the format is dangerous for raw images,
write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
Or just
$ qemu-img create -f qcow2 floppy.qcow2 1440K
$ qemu-system-x86_64 -fda host_floppy:floppy.qcow2
qemu-system-x86_64: -fda host_floppy:floppy.qcow2: Host floppy
pass-through is deprecated
Support for it will be removed in a future release.
Max
The long lines are ugly, but not this patch's fault :)