podman: Error: qemu exited unexpectedly with exit code 1, stderr: qemu-system-aarch64: -virtfs

Installed a podman on Mac M1 configuration from the following link :

podman-installer-macos-arm64.pkg

It keeps failing to start with the following error message: podman machine start Starting machine “podman-machine-default” Waiting for VM … Error: qemu exited unexpectedly with exit code 1, stderr: qemu-system-aarch64: -virtfs local,path=/Users,mount_tag=vol0,security_model=none: There is no option group ‘virtfs’ qemu-system-aarch64: -virtfs local,path=/Users,mount_tag=vol0,security_model=none: virtfs support is disabled

steps to reproduce :

podman machine init podman machine start

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

So I think @baude @ashley-cui and @prabu4git were on to something seeing as how I too was having the same issue (admittedly I had migrated from an intel to M1). I think what is happening in the case of brew install podman is that it pulls down qemu-hvf and qemu and then has you symlink. So what I did was first make sure the dependencies for qemu (and qemu-hvf for that matter) of course were met for brew. Then I ran the following:

$ brew uninstall --ignore-dependencies qemu-hvf
$ brew uninstall --ignore-dependencies qemu
$ brew uninstall --force qemu
$ brew install qemu
$ podman machine rm --force
$ podman machine init
$ podman machine start

This did the trick for me.