quickemu icon indicating copy to clipboard operation
quickemu copied to clipboard

bug: Quickemu searches for x86_64 CPU flags on aarch64 platforms

Open danielvonmitschke opened this issue 5 months ago • 0 comments

I confirm this bug has not already been reported

  • [x] I have searched the issues and this bug has not been reported previously

Describe the bug I am trying to run macOS Mojave on an M1 Mac (obviously this is only possible via emulation and not virtualization). So I tried to use UTM, but at least the pre-config versions at https://github.com/adespoton/utmconfigs gave way to less VRAM and screen resolution. So I stumbled upon quickemu and gave this a try. Followed the instructions and got the following output/error:

$ ./quickemu --vm macos-mojave.conf
Quickemu 4.9.6 using /opt/homebrew/bin/gemu-system-x86_64 v9.1.0
- Host:
macOS 14.1.1 running Darwin 23.1.0 MBP
ERROR! macOS mojave requires a CPU with SSE 4.1 support.

Is there something I am missing?

To Reproduce Steps to reproduce the behavior:

  1. On M1 Mac with macOS 14:
  2. $ ./quickget macos mojave
  3. $ ./quickemu --vm macos-mojave.conf

Quickemu output

Quickemu output
__ _ _   _(_) ___| | _____ _ __ ___  _   _
/ _' | | | | |/ __| |/ / _ \ '_ ' _ \| | | |
| (_| | |_| | | (__|   <  __/ | | | | | |_| |
\__, |\__,_|_|\___|_|\_\___|_| |_| |_|\__,_|
  |_| v4.9.6, using qemu 9.1.0
--------------------------------------------------------------------------------
Project - https://github.com/quickemu-project/quickemu
Discord - https://wimpysworld.io/discord
--------------------------------------------------------------------------------

Usage
quickemu --vm ubuntu.conf <arguments>

Arguments
--access                          : Enable remote spice access support. 'local' (default), 'remote', 'clientipaddress'
--braille                         : Enable braille support. Requires SDL.
--delete-disk                     : Delete the disk image and EFI variables
--delete-vm                       : Delete the entire VM and its configuration
--display                         : Select display backend. 'sdl' (default), 'cocoa', 'gtk', 'none', 'spice' or 'spice-app'
--fullscreen                      : Starts VM in full screen mode (Ctl+Alt+f to exit)
--ignore-msrs-always              : Configure KVM to always ignore unhandled machine-specific registers
--kill                            : Kill the VM process if it is running
--offline                         : Override all network settings and start the VM offline
--shortcut                        : Create a desktop shortcut
--snapshot apply <tag>            : Apply/restore a snapshot.
--snapshot create <tag>           : Create a snapshot.
--snapshot delete <tag>           : Delete a snapshot.
--snapshot info                   : Show disk/snapshot info.
--status-quo                      : Do not commit any changes to disk/snapshot.
--viewer <viewer>                 : Choose an alternative viewer. @Options: 'spicy' (default), 'remote-viewer', 'none'
--width <width>                   : Set VM screen width; requires '--height'
--height <height>                 : Set VM screen height; requires '--width'
--ssh-port <port>                 : Set SSH port manually
--spice-port <port>               : Set SPICE port manually
--public-dir <path>               : Expose share directory. @Options: '' (default: xdg-user-dir PUBLICSHARE), '<directory>', 'none'
--monitor <type>                  : Set monitor connection type. @Options: 'socket' (default), 'telnet', 'none'
--monitor-telnet-host <ip/host>   : Set telnet host for monitor. (default: 'localhost')
--monitor-telnet-port <port>      : Set telnet port for monitor. (default: '4440')
--monitor-cmd <cmd>               : Send command to monitor if available. (Example: system_powerdown)
--serial <type>                   : Set serial connection type. @Options: 'socket' (default), 'telnet', 'none'
--serial-telnet-host <ip/host>    : Set telnet host for serial. (default: 'localhost')
--serial-telnet-port <port>       : Set telnet port for serial. (default: '6660')
--keyboard <type>                 : Set keyboard. @Options: 'usb' (default), 'ps2', 'virtio'
--keyboard_layout <layout>        : Set keyboard layout: 'en-us' (default)
--mouse <type>                    : Set mouse. @Options: 'tablet' (default), 'ps2', 'usb', 'virtio'
--usb-controller <type>           : Set usb-controller. @Options: 'ehci' (default), 'xhci', 'none'
--sound-card <type>               : Set sound card. @Options: 'intel-hda' (default), 'ac97', 'es1370', 'sb16', 'usb-audio', 'none'
--sound-duplex <type>             : Set sound card duplex. @Options: 'hda-micro' (default: speaker/mic), 'hda-duplex' (line-in/line-out), 'hda-output' (output-only)
--extra_args <arguments>          : Pass additional arguments to qemu
--version                         : Print version

System information Run quickreport and include the output here; if you can't run quickreport, please provide the output of the following:

Quickreport output
----------------------------------
      Quickemu 4.9.6
----------------------------------
Distro:	macOS 14.1.1
Kernel:	Darwin 23.1.0 arm64
Memory:	64G
GPU:
-Apple M1 Max
----------------------------------
          curl 8.7.1
----------------------------------
Libraries: libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.62.0
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features:  alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL threadsafe UnixSockets
----------------------------------
          QEMU 9.1.0
----------------------------------
Available CPUs:
a64fx
arm1026
arm1136
arm1136-r2
arm1176
arm11mpcore
arm926
arm946
cortex-a15
cortex-a35
cortex-a53
cortex-a55
cortex-a57
cortex-a7
cortex-a710
cortex-a72
cortex-a76
cortex-a8
cortex-a9
cortex-m0
cortex-m3
cortex-m33
cortex-m4
cortex-m55
cortex-m7
cortex-r5
cortex-r52
cortex-r5f
host
max
neoverse-n1
neoverse-n2
neoverse-v1
pxa250
pxa255
pxa260
pxa261
pxa262
pxa270-a0
pxa270-a1
pxa270
pxa270-b0
pxa270-b1
pxa270-c0
pxa270-c5
sa1100
sa1110
ti925t
----------------------------------
             CPU
----------------------------------
Apple M1 Max

danielvonmitschke avatar Sep 19 '24 13:09 danielvonmitschke