El día miércoles, enero 17, 2024 a las 10:58:13 +0100, Sergio Lopez escribió:
It's definitely not enough to change the lines indicated in the
guide.
You'd need to makes, at least, these changes:
"CmdLine": [
- "/opt/homebrew/bin/qemu-system-aarch64",
- "-accel",
- "hvf",
+ "/opt/homebrew/bin/qemu-system-x86_64",
"-accel",
"tcg",
- "-cpu",
- "host",
"-M",
- "virt,highmem=on",
- "-drive",
-
"file=/opt/homebrew/share/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on",
- "-drive",
-
"file=/Users/slp/.local/share/containers/podman/machine/qemu/intel_ovmf_vars.fd,if=pflash,format=raw",
+ "q35",
With this, after a looooooong time (5-10 minutes), I get a running x86_64
linux machine, and I can run x86_64 containers on it.
I started from scratch, applied your suggested changes and the machine
starts in 3 minutes:
$ date ; podman machine start intel ; date
Do 18 Jan 2024 12:34:44 CET
Starting machine "intel"
Waiting for VM ...
Mounting volume... /Users:/Users
Mounting volume... /private:/private
Mounting volume... /var/folders:/var/folders
...
Machine "intel" started successfully
Do 18 Jan 2024 12:37:50 CET
Currently I'm building the container with:
$ podman build -t suse suse
This will take some time because one of our application packages is 500 MB
in size, some 30.000 files which must be copied into places, chowned,
etc.
Thanks for your help
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.