-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Mac Mini M4 qemu-system-aarch64: Property 'host-arm-cpu.sme' not found #3842
Comments
These 2 QEMU issues appear related: Hopefully it'll get fixed in QEMU soon. |
Ooof, just what we needed before EOY. Thanks for the report and references! |
Here's a package with the CPU type workaround mentioned in https://gitlab.com/qemu-project/qemu/-/issues/2721, i.e., such that on Apple Silicon the qemu command line includes Could you please try it out and let us know how it goes? |
@ricab [2024-12-17T15:30:03.787] [warning] [kube] qemu-system-aarch64: VCPU supports less PA bits (36) than requested by the memory map (40) |
That's unfortunate. @cougarwww, was that an existing VM? Do new launches have the same problem? |
The VM is old,I launch a new one is still not work. |
I use |
hi @ricab, thx. installed and tested. No SME Error but another one: |
@ricab Deleted all VMs with Multipass, ran a purge, and created a new one:
|
Describe the bug
Instances not starting
launch failed: The following errors occurred: Unexpected error in object_property_find_err() at ../../../qom/object.c:1330: qemu-system-aarch64: Property 'host-arm-cpu.sme' not found
To Reproduce
How, and what happened?
multipass launch -c 2 -m 2G -n test
Logs
`[2024-12-13T22:36:53.298] [debug] [image vault] Verifying hash "fb39312ffd2b47b97eaef6ff197912eaa3e0a215eb3eecfbf2a24acd96ee1125"
[2024-12-13T22:36:55.982] [debug] [qemu-img] [3526] started: qemu-img info --output=json /var/root/Library/Caches/multipassd/qemu/vault/images/oracular-20241212/ubuntu-24.10-server-cloudimg-arm64.img
[2024-12-13T22:36:55.988] [debug] [qemu-img] [3527] started: qemu-img amend -o compat=1.1 /var/root/Library/Caches/multipassd/qemu/vault/images/oracular-20241212/ubuntu-24.10-server-cloudimg-arm64.img
[2024-12-13T22:36:55.993] [debug] [qemu-img] [3528] started: qemu-img info /var/root/Library/Caches/multipassd/qemu/vault/images/oracular-20241212/ubuntu-24.10-server-cloudimg-arm64.img
[2024-12-13T22:36:55.998] [debug] [qemu-img] [3529] started: qemu-img resize /var/root/Library/Application Support/multipassd/qemu/vault/instances/test/ubuntu-24.10-server-cloudimg-arm64.img 5368709120
[2024-12-13T22:36:56.003] [debug] [qemu-img] [3530] started: qemu-img snapshot -l /var/root/Library/Application Support/multipassd/qemu/vault/instances/test/ubuntu-24.10-server-cloudimg-arm64.img
[2024-12-13T22:36:56.007] [debug] [qemu-img] [3532] started: qemu-img amend -o compat=1.1 /var/root/Library/Application Support/multipassd/qemu/vault/instances/test/ubuntu-24.10-server-cloudimg-arm64.img
[2024-12-13T22:36:56.010] [debug] [test] process working dir ''
[2024-12-13T22:36:56.010] [info] [test] process program 'qemu-system-aarch64'
[2024-12-13T22:36:56.010] [info] [test] process arguments '-machine, virt,gic-version=3, -accel, hvf, -drive, file=/Library/Application Support/com.canonical.multipass/bin/../Resources/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on, -cpu, host, -nic, vmnet-shared,model=virtio-net-pci,mac=52:54:00:76:43:2d, -device, virtio-scsi-pci,id=scsi0, -drive, file=/var/root/Library/Application Support/multipassd/qemu/vault/instances/test/ubuntu-24.10-server-cloudimg-arm64.img,if=none,format=qcow2,discard=unmap,id=hda, -device, scsi-hd,drive=hda,bus=scsi0.0, -smp, 2, -m, 2048M, -qmp, stdio, -chardev, null,id=char0, -serial, chardev:char0, -nographic, -cdrom, /var/root/Library/Application Support/multipassd/qemu/vault/instances/test/cloud-init-config.iso'
[2024-12-13T22:36:56.011] [debug] [qemu-system-aarch64] [3533] started: qemu-system-aarch64 -machine virt,gic-version=3 -nographic -dump-vmstate /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/multipassd.bUfWeu
[2024-12-13T22:36:56.032] [info] [test] process state changed to Starting
[2024-12-13T22:36:56.034] [info] [test] process state changed to Running
[2024-12-13T22:36:56.034] [debug] [qemu-system-aarch64] [3534] started: qemu-system-aarch64 -machine virt,gic-version=3 -accel hvf -drive file=/Library/Application Support/com.canonical.multipass/bin/../Resources/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on -cpu host -nic vmnet-shared,model=virtio-net-pci,mac=52:54:00:76:43:2d -device virtio-scsi-pci,id=scsi0 -drive file=/var/root/Library/Application Support/multipassd/qemu/vault/instances/test/ubuntu-24.10-server-cloudimg-arm64.img,if=none,format=qcow2,discard=unmap,id=hda -device scsi-hd,drive=hda,bus=scsi0.0 -smp 2 -m 2048M -qmp stdio -chardev null,id=char0 -serial chardev:char0 -nographic -cdrom /var/root/Library/Application Support/multipassd/qemu/vault/instances/test/cloud-init-config.iso
[2024-12-13T22:36:56.034] [info] [test] process started
[2024-12-13T22:36:56.034] [debug] [test] Waiting for SSH to be up
[2024-12-13T22:36:56.035] [debug] [arp] [3535] started: arp -an
[2024-12-13T22:36:56.233] [debug] [test] QMP: {"QMP": {"version": {"qemu": {"micro": 1, "minor": 2, "major": 8}, "package": ""}, "capabilities": ["oob"]}}
[2024-12-13T22:36:56.259] [warning] [test] Unexpected error in object_property_find_err() at ../../../qom/object.c:1330:
qemu-system-aarch64: Property 'host-arm-cpu.sme' not found
[2024-12-13T22:36:56.259] [warning] [qemu-system-aarch64]
[2024-12-13T22:36:56.259] [info] [test] process state changed to NotRunning
[2024-12-13T22:36:56.259] [error] [test] process error occurred Crashed program: qemu-system-aarch64; error: Process crashed
[2024-12-13T22:36:56.260] [error] [test] error: program: qemu-system-aarch64; error: Process crashed
[2024-12-13T22:38:01.651] [debug] [async task] fetch manifest periodically
[2024-12-13T22:38:01.654] [info] [VMImageHost] Did not find any supported products in "appliance"`
Additional info
Name: test
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: fb39312ffd2b (Ubuntu 24.10)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --
qemu
Additional context
I also have an Apple M3, and it was updated to 15.2 today as well. On this machine, Multipass is still running without any issues. Before the update, Multipass also worked on the M4 Mac. Multipass, QEMU, and other related components were completely uninstalled and reinstalled.
The text was updated successfully, but these errors were encountered: