Skip to content

unused memory filled with 0x00 instead of 0xFF

Host environment

  • Operating system: Windows

  • OS/kernel version: 10

  • Architecture: x86

  • QEMU flavor: qemu-system-x86_64

  • QEMU version: 7.2

  • QEMU command line:

    ./qemu-system-x86_64 -M q35 -m 4096 -enable-kvm -hda fedora32.qcow2

Emulated/Virtualized environment

  • Operating system: DOS
  • OS/kernel version: 6.22
  • Architecture: x86

Description of problem

Qemu, ever since it was made (so, since 2003), has this problem in DOS (either PC-DOS or MS-DOS and partly Windows 9x) not recognizing the memory available when the memory is filled with 0x00 but when it is filled with 0xFF it gets recognized properly, where should I patch qemu to solve this memory problem?

Refer to https://bugs.launchpad.net/qemu/+bug/1180923

Steps to reproduce

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information