Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
dch :flantifa: :flan_hacker:
dch :flantifa: :flan_hacker:
@dch@bsd.network  ·  activity timestamp 2 days ago

I saw https://www.undeadly.org/cgi?action=article;sid=20260115203619 #OpenBSD-current can now run under Apple Hypervisor. That seems very awesome indeed.

I checked the only Mac I have access to and there’s not a Hypervisor app AFAICT.

So what does this undeadly article actually mean?

Do you need some other app? What does one need to do?

OpenBSD-current now runs as guest under Apple Hypervisor

  • Copy link
  • Flag this post
  • Block
Michael Dexter
Michael Dexter
@dexter@bsd.network replied  ·  activity timestamp 2 days ago

@dch As several have said, start with UTM and note that there was the bhyve front end xhyve some time ago.

  • Copy link
  • Flag this comment
  • Block
Phil Dennis-Jordan
Phil Dennis-Jordan
@pmdj@mstdn.social replied  ·  activity timestamp yesterday

@dexter @dch Last I checked, xhyve itself was very much unmaintained (5+yrs) and even before that there wasn’t much effort to keep in sync with bhyve. Thus, no arm64.
Docker on macOS uses (or used to use?) a fork of xhyve called hyperkit for running containers in Linux VMs; not sure what the state of that is.
The only up to date FOSS general purpose VMM I know of for macOS is Qemu/UTM; (I’ve not managed to keep up with dev there since sponsorship on my work on it ended.)

  • Copy link
  • Flag this comment
  • Block
Michael Dexter
Michael Dexter
@dexter@bsd.network replied  ·  activity timestamp yesterday

@pmdj @dch I said “was”. 🙂

  • Copy link
  • Flag this comment
  • Block
Bryan Steele :flan_beard:
Bryan Steele :flan_beard:
@brynet@bsd.network replied  ·  activity timestamp 2 days ago

@dch Virtualization is provided as a framework on macOS that can be used by applications, there's an example on Apple's developer site.

https://developer.apple.com/documentation/virtualization/running-gui-linux-in-a-virtual-machine-on-a-mac?language=objc

Not sure if this is how OpenBSD was being tested, or if it was something else, but it might be work asking on the lists about it or reaching out directly.

  • Copy link
  • Flag this comment
  • Block
wohali
wohali
@wohali@timeloop.cafe replied  ·  activity timestamp 2 days ago

@dch try https://mac.getutm.app/ i think

  • Copy link
  • Flag this comment
  • Block
dch :flantifa: :flan_hacker:
dch :flantifa: :flan_hacker:
@dch@bsd.network replied  ·  activity timestamp 2 days ago

@wohali aah so you need a virtualbox type app first, or. QEMU etc

  • Copy link
  • Flag this comment
  • Block
ax6761
ax6761
@ax6761@freeradical.zone replied  ·  activity timestamp 2 days ago

@dch @wohali Could anyone tell how "Parallels" software fits (with the original topic of running OpenBSD under Apple corp MacOS)?

  • Copy link
  • Flag this comment
  • Block
ivy
ivy
@lw@mastodon.bsd.cafe replied  ·  activity timestamp 2 days ago

@ax6761

Parallels on arm64 Macs uses Hypervisor.framework, the same as QEMU and UTM (which is just a GUI for QEMU).

so if an OS works under QEMU with Hypervisor.framework, it should work under Parallels as well, but it might depend on the specific hardware configuration being emulated in the VM.

(nb: QEMU refers to Hypervisor.framework as “hvf” - they're the same thing.)

@dch @wohali

  • Copy link
  • Flag this comment
  • Block
dch :flantifa: :flan_hacker:
dch :flantifa: :flan_hacker:
@dch@bsd.network replied  ·  activity timestamp 2 days ago

@lw thanks. Qemu has long since had the ‚option: -accel hvf‘ flag, I should give this a try and see how it goes.
@ax6761 @wohali

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct