Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QEMU exited unexpectedly with exit code -1, stderr: qemu-system-x86_64: Unknown Error

Getting while running the podman command "podman machine start" in Mac M1.

Version Details

Mac version: 12.6

Podman version: 4.2.1

Qemu version: 7.1.0

Install Podman and QEMU by using Homebrew.

Please help in this.

like image 396
Harpz Avatar asked Dec 06 '25 17:12

Harpz


2 Answers

The issues with OS architecture. Change your OS architecture to arm64 with the below command, before installing the Podman and Qemu.

env /usr/bin/arch -arm64 /bin/zsh --login
like image 193
Harpz Avatar answered Dec 09 '25 05:12

Harpz


The answer of @Harpz helped me, but from his comment one could understand that you need to completely re-install podman, which was not the case for me. I just needed to remove the existing podman machine. Here's what I did:

$ env /usr/bin/arch -arm64 /bin/zsh --login
$ podman machine rm --force
$ podman machine init
$ podman machine start
like image 35
EimerReis Avatar answered Dec 09 '25 03:12

EimerReis