logoalt Hacker News

OpenBSD-current now runs as guest under Apple Hypervisor

223 pointsby gpitoday at 3:10 AM19 commentsview on HN

Comments

Fiveplustoday at 5:35 AM

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!

patjensentoday at 4:51 AM

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.

my123today at 3:55 AM

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

show 2 replies
MillionOClocktoday at 7:27 AM

Maybe I am missing something but the last few times I tested VMs it seemed to end up never shrinking in RAM size once it had grown, is this a real issue and if so is there any improvement coming on that front?

singularity2001today at 8:54 AM

so does redox at least this fork: https://github.com/pannous/redox completely Rust-based without any Makefiles.

ggmtoday at 8:11 AM

Well done! FreeBSD 15 is a complete no-go for X right now on utm, rdp/vnc is the only way. Hopefully somebody will work out how to get a frame buffer working there, from this.

SomaticPiratetoday at 4:08 AM

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

show 2 replies
hindustanudaytoday at 6:16 AM

[dead]

iberatortoday at 5:36 AM

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