OSX-KVM
xhyve
Our great sponsors
OSX-KVM | xhyve | |
---|---|---|
263 | 10 | |
18,300 | 6,414 | |
- | 0.0% | |
3.9 | 0.0 | |
11 days ago | about 2 years ago | |
Python | C | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
OSX-KVM
-
VirtualBox KVM Public Release
Yes, I recently had to compile some stuff on Windows (I'm on an AMD Linux host) and VirtualBox just wouldn't start Microsoft's Windows dev VM (the one they provide for free for Virtualbox). I ended up learning how to use qemu and it works great...and as a bonus I was able to run a hackintosh (via https://github.com/kholia/OSX-KVM) and it works near flawlessly, which was something I was never able to accomplish with Virtualbox (granted I haven't tried in a few years).
I'm pretty happy with Qemu now, even if it's jsut a CLI interface. I was tempted to try the virt-* stuff, but honestly it seems like one more thing to learn so I'm going to hold off until I need something like copy/paste between VMs and can't figure it out in qemu direct.
-
NixThePlanet - Run macOS, Windows and more via a single Nix command + nixosModules
Working on a patch to include it as a flake input instead of vendoring it in the repo, so this should no longer be true. I use the QCOW2s for OpenCore from osx-kvm that I have not figured out how to reproduce yet https://github.com/kholia/OSX-KVM/blob/master/OpenCore/OpenCore.qcow2
-
[PROJECT] Working on a project called ultimate-macOS-KVM!
For almost a year, I have been coding a little project in Python intended to piggyback on the framework of kholia's OSX-KVM project, known as ultimate-macOS-KVM, or ULTMOS.
-
FreeBSD Bhyve Virtualization
I just researched a bit, mac os x guest vm with pcie passthrough seems possible on linux.
Dropping the links below:
https://github.com/kholia/OSX-KVM
https://github.com/yoonsikp/macOS-KVM-PCI-Passthrough
-
VirGL
VirGL is definitely an interesting project, but all one has to do to get GPU passthrough working (from a Linux QEMU host to any guest OS) is: 1.) research a cheap, secondary GPU that is natively supported by the guest OS, 2.) plug such a secondary GPU into a PCIe slot on the host and hook it up to the primary monitor with a secondary cable (D-Sub vs. DVI, etc.), 3.) setup Linux to ignore the secondary GPU at boot and configure a QEMU VM for the GPU passthrough. The whole process takes perhaps one or two hours and as works flawlessly, with no stability issues. (Switching across the two GPU cables can be accomplished in software by using Display Data Channel /DDC/ utilities and switching keyboard/mouse can be accomplished by using evdev /event device/ passthrough.) More information: https://github.com/kholia/OSX-KVM/blob/master/notes.md#gpu-p...
-
Mac OS Kvm Icloud
I get "verification failed" error when using https://github.com/kholia/OSX-KVM
-
What are the current best methods for virtualizing MacOS on Linux?
I also see there is KVM-OSX which looks to be actively maintained, but I haven't heard anything about it.
-
Lima: A nice way to run Linux VMs on Mac
You can use qemu/libvirt/kvm on any Linux host to run macOS pretty easily these days[1]. I run Ventura on unraid with nvidea gpu passthrough and it’s been fairly painless.
You can also run macOS in docker, but it’s ultimately running through qemu/kvm as well[2]
1. https://github.com/kholia/OSX-KVM
2. https://github.com/sickcodes/Docker-OSX
-
Gnome browser instead of Safari
I think this could be of some use to you https://github.com/kholia/OSX-KVM
-
I achieved to run a macOS VM on the Steam Deck in SteamOS desktop mode
i cloned that repository
xhyve
-
How to connect to a docker container service when it's running on a mac?
This is due to the way Windows and OSX implement docker. They both use a VM running Linux; Windows uses Hyper-V and OSX uses Bhyve. (https://github.com/machyve/xhyve)
-
Asymptotic Notation !
Nowadays, docker uses runc, that is OCI compliant. Docker on macOS uses Hypervisor.framework through xhyve, and is completely macOS native. No VM is used (even under the hood) when running docker on macOS, it's native.
- Does xhyve on MacOS (Monterey) supports the passthru of the GPU ?
-
Favourite Hypervisor for a macOS Host?
I was happiest with xhyve https://github.com/machyve/xhyve
Serial console in terminal was nice (for me!), network configuration was trash (I think I was able to set the subnet by fiddling around with system plists? and it would revert from time to time), and I didn't have to deal with Virtualbox. I've been away from macs for a while, I don't know if xhyve works on the M1, but it might. I ran a FreeBSD vm so I could run my server code on my laptop in an environment that was like production but slower.
-
QEMU 6.2
The xhyve fork/port of bhyve for MacOS is worth mentioning: https://github.com/machyve/xhyve
-
[Desktop] Mac mini – Apple M1 Chip 8-core CPU, 8-core GPU – 8GB Memory – 256GB SSD - $569.99 ($669.99-$100)
Docker for Mac actually spins up TinyCoreLinux VMs using xhyve that your docker containers run on top of. This is because containers borrow the host kernel, so you can't natively run Linux containers on Mac. Xhyve spawns VMs so a Linux kernel will be present.
- Can you run “bare metal” VMs on a 2019 MBP? (Pre M1 Chip)
- Linux, macOS, and Windows running simultaneously on a first gen Core i5
-
Apple M1 CPU Microarchitectures (Firestorm and Icestorm): instruction tables describing throughput, latency, and uops
There's also been a port of FreeBSD's bhyve to macOS for years: https://github.com/machyve/xhyve (which, in turn, is [or at one point was] used by Docker to virtualize Linux)
-
What Is Your Hypervisor
I've used xyhve on my Mac to have a FreeBSD VM running a copy of https://www.freshports.org/, including a copy of the database, which runs about 200GB. For dev work, it was fine. I used it when I didn't have [great] internet connectivity, for example, when on the train/plane. When upgrading packages or just doing dev work, it was great.
What are some alternatives?
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
sosumi-snap
lima - Linux virtual machines, with a focus on running containers
OpenCore-Install-Guide - Repo for the OpenCore Install Guide
xnu-qemu-arm64
macOS-KVM - Streamlined macOS QEMU KVM Hackintosh configuration using OpenCore and libvirt
OSX_GVT-D - Guide to pass iGPU to MacOS KVM guest.
Medo - Haiku Media Editor
Single-GPU-Passthrough
vm_configs - libvirt configs for fresh VMs