Remix.run Logo
OpenBSD-current now runs as guest under Apple Hypervisor(undeadly.org)
133 points by gpi 3 hours ago | 7 comments
Fiveplus an hour ago | parent | next [-]

A good update. The VIRTIO_NET_F_MTU negotiation has been a roadblock for many guest OS implementations on apple's virtualization stack. The spec is vague enough that linux just does it while openbsd had to explicitly patch in support to handle the hypervisor's hardmtu limit.

This is a big deal for local development imho. With the raw single-thread performance of the M4/M5 chips, an openbsd guest is arguably the best environment for testing pf configurations or running isolated mail servers (for example). Being able to rely on viogpu without the black-screen-of-death means we can slowly move away from serial console-only installs for quick VMs.

Big kudos to Helg and Stefan!

patjensen 2 hours ago | parent | prev | next [-]

The bigger news is that this also fixes the QEMU compatibility bug that makes OpenBSD hang out of the box on arm64 when starting X.

It started in 7.3 with the frame buffer changes and the only workaround was to disable the kernel driver.

Maybe more people will get to try out OpenBSD successfully now.

my123 3 hours ago | parent | prev | next [-]

Note that this is about Virtualization.framework (Apple's first party VMM). OpenBSD worked on Hypervisor.framework + qemu since a very long time.

SomaticPirate 2 hours ago | parent | prev | next [-]

Is there a guide on how to do this? I haven’t ever used the raw hypervisor.

signa11 an hour ago | parent | next [-]

a quick kagi search revealed this: https://briancallahan.net/blog/20250222.html, perhaps it might work for you too ?

eschaton 2 hours ago | parent | prev [-]

It should just be a matter of producing a kernel and, if necessary, RAM disk that can be booted the same way as Linux.

iberator an hour ago | parent | prev [-]

No X and networking. What's the point then? Useless imo