[MacPorts] #64131: podman/qemu: "podman machine start" fails with "Could not open 'edk2-aarch64-code.fd'"

MacPorts noreply at macports.org
Tue Dec 7 00:33:58 UTC 2021


#64131: podman/qemu: "podman machine start" fails with "Could not open
'edk2-aarch64-code.fd'"
--------------------------+--------------------------
  Reporter:  jrjsmrtn     |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  bigsur arm64
      Port:  podman qemu  |
--------------------------+--------------------------

Comment (by judaew):

 This error means that QEMU was built without `hvf`. The QEMU wiki mentions
 this feature as an accelerator that employs Hypervisor.framework.

 * https://wiki.qemu.org/Features/HVF

 As far as I understand it, it's a fork of QEMU by patchew. In this fork, I
 found mention of `hvf` in two branches of 2017 and 2020.

 * https://github.com/patchew-
 project/qemu/tree/patchew/20170905035457.3753-1-Sergio.G.DelReal at gmail.com
 * https://patchew.org/QEMU/20201130030723.78326-1-agraf@csgraf.de

 I think in this code podman in this lines implies that if the first
 accelerator is not available, the program will use the next one. But in
 fact, the first one is always used.

 *
 https://github.com/containers/podman/blob/7d290b3f6245d2bc68e3cb689c5b3252561ae566/pkg/machine/qemu/options_darwin_arm64.go#L16-L17

-- 
Ticket URL: <https://trac.macports.org/ticket/64131#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list