News for hackers. Stuff that matters.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by josteink on Sunday July 18, 2021 @03:48AM (#27871403)
> If you want easy, this is not for you. Setting up LG first requires setting up a VFIO Virtual Machine.

Any quick links to how that differs from a regular QEMU/KVM setup?

Re:Looking Glass: Run a Windows VM on Linux in a window with... by zbrozek on Sunday July 18, 2021 @09:31AM (#27872764)
You can also pass through more than just a GPU. I pass through an NVMe disk and a USB controller, effectively giving me a full second computer within my workstation. It's honestly fantastic.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by josteink on Sunday July 18, 2021 @09:44AM (#27872853)
Ok. And I assume that’ll all work at PCI speeds making it much more performant than using virtio-based forwarding. Sounds neat.

Do I need to do anything besides UEFI boot my virt-manager (QEMU) VM to make use of things like this?

Re:Looking Glass: Run a Windows VM on Linux in a window with... by zbrozek on Sunday July 25, 2021 @11:49PM (#27955424)
I generally followed this guide, despite working from another distro: https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF

The biggest pain every time I've done this is making sure that I can bind the device to the vfio driver.

Re:Looking Glass: Run a Windows VM on Linux in a window with... by gnif on Sunday July 18, 2021 @03:58AM (#27871449)
Re:Looking Glass: Run a Windows VM on Linux in a window with... by josteink on Sunday July 18, 2021 @04:01AM (#27871455)
Thanks.

So if I’m already UEFI booting my VMs with dedicated volumes, the key difference is how GPU pass-through is done?

Re:Looking Glass: Run a Windows VM on Linux in a window with... by gnif on Sunday July 18, 2021 @04:07AM (#27871477)
Pretty much, lots of factors that are hardware dependent, such as how your motherboard assigns IOMMU groups come into play.