On 1/16/24 06:49, Matthias Apitz wrote:
Hello,
For the purpose of the Subject: there is a tutorial at IBM.com:
https://developer.ibm.com/tutorials/running-x86-64-containers-mac-silicon-m1...
I've followed this tutorial, with a small exception, see below.
The first step is to 'init' the machine with:
$ podman machine init --image-path ~/yourFedoraImageFolder/fedora-coreos-39.20231204.3.3-qemu.x86_64.qcow2.xz intel Extracting compressed file: intel_fedora-coreos-39.20231204.3.3-qemu.x86_64.qco… Image resized. Machine init complete To start your machine run:
podman machine start intel
Which worked fine. Now, before starting the machine, the tutorial asks to remove the following lines from the config file ~/.config/containers/podman/machine/qemu/intel.json:
"-machine", "q35,accel=hvf:tcg", "-cpu", "host",
These line are not there 1:1 and I removed these lines:
$ diff .config/containers/podman/machine/qemu/intel.json .config/containers/podman/machine/qemu/intel.json.saved2 6a7,12
"-accel", "hvf", "-accel", "tcg", "-cpu", "host", which seems to me correct to remove the HVF QEMU accelerator which only is supported on x86 chips.
Starting the machine now with:
$ podman machine start intel Di 16 Jan 2024 12:23:33 CET Starting machine "intel" Waiting for VM ...
hangs for ever and the QEMU process has 100% CPU utilization:
top PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP 10802 qemu-system- 99.6 23:09.43 8/1 0 27 163M 0B 0B 10800
Any ideas? Thanks
matthias
Sergio any ideas?