Mouse cursor disappeared for WfW 3.11

Host environment

  • Operating system: Fedora 37
  • OS/kernel version: Linux void 6.1.7-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 18 17:11:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • Architecture: x86
  • QEMU flavor: qemu-system-i386
  • QEMU version: v6.2.0-2006-gcb8962c146
  • QEMU command line:
    qemu-system-i386 -vga cirrus -drive media=disk,file=cirrus-clean-wfw311.qcow,index=0

Emulated/Virtualized environment

  • Operating system: DOS 5/6 + WfW 3.11
  • Architecture: x86

Description of problem

I've been using the "GD5434 v1.25f, 1280x1024x64K Smlfnt" driver (from sp2904.exe, https://archive.org/download/Windows-3.1-WING-doom inside cirrus.zip) with Fedora's qemu build for years, which is the best version of that driver that I could find, and which works quite nicely apart from a font problem right after startup, and is a lot faster than the standard (patched) SVGA driver. Opening and closing File Manager will get rid of the font corruption. After an upgrade to Fedora 37, I noticed that the mouse cursor was not displayed anymore, which I bisected to this git commit: cb8962c1

Steps to reproduce

  1. Run the image (boots right into Windows)
  2. Note the missing cursor

Additional information

Image for easy testing (IBM DOS 5, 1024x768) is here: https://drive.google.com/file/d/1_5-gGXEahPOPvgG436WbKM9dnOr7Z8zo/view?usp=sharing (4.4 MB)

Assignee Loading
Time tracking Loading