News for hackers. Stuff that matters.
Re:OS X-KVM: Run macOS on QEMU/KVM by ohthehugemanate on Friday December 03, 2021 @01:57AM (#29427377)
Not really pass through, no. If CONFIG_DRM_I915_GVT is enabled in your kernel, you can use Intel's graphics virtualization system... basically a virtio style virtual device that shares the GPU between VM and host. IMO this is way more convenient than real passthrough, where the device is only available either to the VM or the host. The downside is that you don't get full performance in the VM.

"Intel GVT-g is a full GPU virtualization solution with mediated pass-through (VFIO mediated device framework based), starting from 5th generation Intel Core(TM) processors with Intel Graphics processors. GVT-g supports both Xen and KVM (a.k.a XenGT & a.k.a KVMGT). A virtual GPU instance is maintained for each VM, with part of performance critical resources directly assigned. The capability of running native graphics driver inside a VM, without hypervisor intervention in performance critical paths, achieves a good balance among performance, feature, and sharing capability."

https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide

Re:OS X-KVM: Run macOS on QEMU/KVM by broknbottle on Friday December 03, 2021 @05:28AM (#29428492)
Gvt-g is pretty much dead. New hardware e.g. Tiger Lake with Xe isn’t supported and it’s my understanding that Intel has no plans to support.

See the following link for supported devices.

https://github.com/torvalds/linux/blob/bbf5c979011a099af5dc7...

Re:OS X-KVM: Run macOS on QEMU/KVM by gbba on Friday December 03, 2021 @08:24AM (#29429723)
New Intel hardware supports SR-IOV, the successor to GVT-g, but unfortunately driver support is apparently missing for Linux: https://www.reddit.com/r/VFIO/comments/o7l2zr/sriov_on_intel...
Re:OS X-KVM: Run macOS on QEMU/KVM by my123 on Friday December 03, 2021 @09:41AM (#29430519)
We are more than 2 years past the launch of Ice Lake now… so…
Re:OS X-KVM: Run macOS on QEMU/KVM by ohthehugemanate on Friday December 03, 2021 @03:57PM (#29435340)
oh wow, I had no idea. Seems a shame... Are they offering anything to replace it? Or is it GVT-d or bust?