quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.56k stars 460 forks source link

mac os vm doesnt work #1221

Closed Jusxern closed 4 months ago

Jusxern commented 4 months ago

Expected behavior

Run Mac OS vm on Arch linux

Actual behavior

Errors immediately after startup

Steps to reproduce the behavior

Outline the steps to reproduce the issue you've encountered.

Additional context

I also found the same issue, but nothing worked for me.

Quickemu output

Run quickemu or quickemu and include the output of the failure below:

Quickemu output ```text Quickemu 4.9.4 using /usr/bin/qemu-system-x86_64 v9.0.0 - Host: Arch Linux running Linux 6.8 (archlinux) - CPU: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz - CPU VM: 1 Socket(s), 2 Core(s), 2 Thread(s), 8G RAM - BOOT: EFI (macOS), OVMF (OVMF_CODE.fd), SecureBoot (off). - Disk: macos-sonoma/disk.qcow2 (96G) Looks unused, booting from macos-sonoma/RecoveryImage.img - Recovery: macos-sonoma/RecoveryImage.img - Display: SDL, qxl-vga, GL (on), VirGL (off) - Sound: intel-hda - ssh: On host: ssh user@localhost -p 22220 - 9P: On guest: sudo mount_9p Public-xern - 9P: On host: chmod 777 /home/xern/Shared Required for macOS integration 👆 - Network: User (virtio-net) - Monitor: On host: nc -U "macos-sonoma/macos-sonoma-monitor.socket" or : socat -,echo=0,icanon=0 unix-connect:macos-sonoma/macos-sonoma-monitor.socket - Serial: On host: nc -U "macos-sonoma/macos-sonoma-serial.socket" or : socat -,echo=0,icanon=0 unix-connect:macos-sonoma/macos-sonoma-serial.socket cat: macos-sonoma/macos-sonoma.pid: No such file or directory - Process: Starting macos-sonoma.conf as macos-sonoma () ```
mortbauer commented 4 months ago

Have the same issue on archlinux with a windows vm. Probably it is because of qemu v9.0.0 on archlinux?

mortbauer commented 4 months ago

Actually it works for me more or less when I downgrade quickemu to 4.9.2, with this version I get the error qemu-system-x86_64: -no-hpet: invalid option, after manually deleting the line with that option from in my case windows-11/windows-11-22H2.sh file and then running that bash script I get a working vm again.

flexiondotorg commented 4 months ago

Duplicate of https://github.com/quickemu-project/quickemu/issues/1214

The -no-hpet issue is fixed in Quickemu 4.9.4.

mortbauer commented 4 months ago

I know, but in 4.9.4 it simply doesn't work at all as shown in the logs cat: macos-sonoma/macos-sonoma.pid: No such file or directory

AbdullahPrime commented 4 months ago

I know, but in 4.9.4 it simply doesn't work at all as shown in the logs cat: macos-sonoma/macos-sonoma.pid: No such file or directory

This is EXACTLY the issue ....

mortbauer commented 4 months ago

might actually be correlated with the kernel version, because I was using the lts kernel when the issue happened. Right now I'm using 6.9.1-arch1-2 and tried quickemu 4.9.4 again and everything works perfectly now.