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...
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
--
Matthias Apitz, ✉ guru(a)unixarea.de,
http://www.unixarea.de/ +49-176-38902045
Public GnuPG key:
http://www.unixarea.de/key.pub
I am not at war with Russia. Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.