utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.39k stars 1.32k forks source link

Windows installation crashes #4176

Open omerien opened 2 years ago

omerien commented 2 years ago

Describe the issue QEMULauncher crashes while starting my Windows 10 ARM ISO. It shows me the error message "Assertion failed: (isv), function hvf_vcpu_exec, file hvf.c, line 1232". Probably linked to this file. (If that can help you, I compiled the ISO myself using this exact package). This happen when I choose to boot on DVD after a few seconds.

Probably linked to this issue also : #3197

Configuration

Crash log Here.

Debug log Here

Upload VM (Useless since this doesn't happen on the Hard Drive of the VM but while booting the ISO)

conath commented 2 years ago

Pinging @agraf due to HVF-related issue.

Looks like the UTM QEMU HVF backend raises an assertion in int hvf_vcpu_exec(CPUState *cpu):

https://github.com/utmapp/qemu/blob/utm-edition/target/arm/hvf/hvf.c#L1232

Here is the upstream QEMU code.

https://github.com/qemu/qemu/blob/master/target/arm/hvf/hvf.c#L1207-L1233

Notably the upstream code contains a windows_workaround_enabled that is not in our fork (yet).

omerien commented 2 years ago

Great ! Notif me if you need more data.

lukecyca commented 2 years ago

I have hit this issue as well.

UTM Version: Version 3.2.4 (58) OS Version: macOS 12.5.1 Intel or Apple Silicon? Apple Silicon (M1 Pro)

Following the instructions on https://mac.getutm.app/gallery/windows-10

desrod commented 1 year ago

I too, ran into this tonight trying to install Windows 10 under UTM 4.1.14. Also fails in precisely the same way with the released version of 4.0.9.

osy commented 1 year ago

https://docs.getutm.app/guides/windows/

Make sure you’re using a compatible version of windows 10 or windows 11. The guide contains a list of known working versions. Older versions are broken (thanks Microsoft).

PerMildner commented 3 months ago

The guide [at https://docs.getutm.app/guides/windows/] contains a list of known working versions

That page currently does not contain any list or other information about working versions of Windows.