qemu-system-sparc crashes on floppy access
Host environment
- Operating system: Debian 11
- OS/kernel version: Linux gumbo 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux
- Architecture: x86_64
- QEMU flavor: qemu-system-sparc
- QEMU version: QEMU emulator version 6.2.91 (v7.0.0-rc1-36-g27fc9f36)
- QEMU command line: qemu-system-sparc -nographic boot.fs
Emulated/Virtualized environment
- Operating system: NetBSD
- OS/kernel version: 9.2
- Architecture: sparc
Description of problem
qemu-system-sparc crashes when accessing the emulated floppy drive of the guest system.
Steps to reproduce
- wget http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.2/sparc/installation/bootfs/boot.fs.gz
- gunzip boot.fs.gz
- qemu-system-sparc -nographic boot.fs
- Select option "3) floppy"
- qemu-systems-sparc crashes with the messages:
Ejecting floppy disk
Segmentation fault (core dumped)