[MacPorts] #68146: qemu @8.0.4: Hangs when used by lima

MacPorts noreply at macports.org
Sat Sep 9 15:13:15 UTC 2023


#68146: qemu @8.0.4: Hangs when used by lima
----------------------------+------------------------
 Reporter:  MidnightRocket  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:
 Keywords:                  |       Port:  qemu, lima
----------------------------+------------------------
 When using [https://ports.macports.org/port/lima/ sysutils/lima] qemu
 hangs when trying to boot a Debian based VM.
 This results in lima not able to successfully boot a Debian VM with qemu.
 Nothing is even written to the serial logs in {{{
 $HOME/.lima/<INSTANCE>/serial.log }}}.
 I suspect it has something to do with how Macports builds qemu, as using
 qemu binaries manually build from source works as intended.

 Using lima binaries from [https://github.com/lima-
 vm/lima/releases/tag/v0.17.2 github.com/lima-vm/lima/releases] does not
 make a difference.

 == Steps to reproduce
 - Use {{{limactl}}} to create a debian vm
 - Make sure the {{{vmType}}} is qemu (set by default)
 - Start the vm with {{{limactl start $name}}}
 - Observe that limactl never reaches a successful boot


 == Current solutions
 Current solution that I know of
 - Using qemu @7.1.0 works as intended.
 - Manually build qemu from source




 My system:
 {{{
 macOS 13.5.1 22G90 x86_64
 Xcode 14.3.1 14E300c
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68146>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list