intel / haxm

Intel® Hardware Accelerated Execution Manager (Intel® HAXM)
BSD 3-Clause "New" or "Revised" License
3.24k stars 880 forks source link

Qemu hangs while installing FreeDOS 1.2 with -accel hax #311

Open Doriphor opened 4 years ago

Doriphor commented 4 years ago

Describe the Bug

Summary: Trying to install FreeDOS 1.2 on a VM will cause the entire VM to hang when the acceleration is set to 'hax' whereas the same actions will not hang when accel is set to 'whpx' or 'tcg'.

Host Environment

Guest Environment

To Reproduce

Steps to reproduce the behavior:

  1. Download the FreeDOS 1.2 installation iso wget https://www.freedos.org/download/download/FD12CD.iso
  2. Create a disk image for the FreeDOS installation qemu-img create -f qcow2 FDOS.qcow2 2G
  3. Run the installer qemu-system-x86_64 -accel hax -m 64M -hda FDOS.qcow2 -cdrom FD12CD.iso -boot d
  4. Partition and format the hard drive and proceed with the installation
  5. The installer hangs on the "Gathering some information to prepare for the installation..." screen

Expected Behavior

Expectation: The installer proceeds and finishes the installation of FreeDOS 1.2

Reproducibility

100%

Additional context

This also happend with qemu-system-i386. The same issue can be reproduced much quicker with an already installed FreeDOS 1.2 by simply running fdimples in it with -accel hax.

wayne-ma commented 4 years ago

Hi @Doriphor , actually the Guest OS FreeDOS is not in the HAXM support list so far.

Doriphor commented 4 years ago

@wayne-ma see, I thought HAXM was guest agnostic. I'm assuming it's still a missing feature then? Thank you for your reply by the way!

krytarowski commented 4 years ago

FreeDOS used to work, but I'm unsure about the installer itself.