churchers / vm-bhyve

Shell based, minimal dependency bhyve manager
BSD 2-Clause "Simplified" License
842 stars 181 forks source link

Feature request: Support for creating virtual machines that emulate aarch64 hardware running on an amd64 physical host #564

Open JoeKun opened 3 weeks ago

JoeKun commented 3 weeks ago

vm-bhyve is awesome to create virtual machines with the same processor architecture, and I use it a lot on my Intel server, with the amd64 processor architecture, and virtual machines which also use this amd64 processor architecture.

As I'm trying to familiarize myself with ARM architectures, I would find it very compelling to create virtual machines with the aarch64 processor architecture with the ease of use of vm-bhyve, and have them running in some kind of emulated mode on my physical host machine with an amd64 processor architecture.

Thanks for your consideration!

yaroslav-gwit commented 3 weeks ago

As far as I am aware bhyve, as a hypervisor, doesn't support the CPU architecture emulation. Your best bet is probably the QEMU (although it's much more limited in what it can do under FreeBSD vs Linux).