/podman-machine-qemu

Qemu build for macOS used by the self-contained `podman machine` installer

Primary LanguageShell

Qemu build for macOS

How to use the scripts

  • install some dependencies, these should already exist if brew is used
$ brew install ronn gengetopt automake autoconf libtool cmake meson ninja
  • run the build-qemu.sh script
$ chmod +x build-qemu.sh
# create the prefix/installation directory
$ mkdir -p /opt/podman/qemu
$ chwon -R <user:group> /opt/podman

$ PREFIX=/opt/podman/qemu ./build-qemu.sh
  • finally add the $PREFIX/bin to PATH
$ export PATH=$PATH:$PREFIX/bin
$ qemu-system-x86_64 -m 512 -nic user -boot d -cdrom alpine-virt-3.15.4-x86.iso -display cocoa