An open-source project called Guesthouse brings Hyper-V GPU-PV on KVM, letting a Windows virtual machine on Linux share the host’s graphics card without passing it through. The release, version 0.8.0, is early software, but it already runs Direct3D, Vulkan, CUDA and video encoding in guests.
It was built by a developer who wanted a real GPU inside a Windows VM and had no good option.
The problem it solves
The usual route, PCI passthrough, hands an entire card to the VM. That doesn’t work when the same card also drives your Linux desktop. The other route is a vGPU setup, which generally means a data-center card and a licence. The author ruled out both.
Hyper-V offers a third option called GPU-PV, short for GPU paravirtualization. The guest uses the vendor’s ordinary driver and borrows the host’s card, much like the mechanism behind Windows Subsystem for Linux. KVM never had it, so Guesthouse adds it.
How it works
Because the guest uses the card maker’s own driver, applications see a normal GPU and don’t need special builds. That is the main appeal over emulated graphics, which are far slower, and over API forwarding schemes that cover only some graphics interfaces.
Guesthouse makes KVM understand the Hyper-V GPU protocol. A Windows guest boots, detects a virtual Hyper-V GPU, and installs the manufacturer’s stock driver. Because nothing is handed over, the Linux host, desktop and all, never loses access to the card.
The project is written in Rust and ships with a QEMU patch. It’s licensed GPL-2.0-or-later. The repository contains no NVIDIA, AMD, Intel or Microsoft binaries, so users supply their own Windows ISO and GPU driver.
What works in 0.8.0
- Windows guests can run Direct3D 12 and 11, Vulkan, OpenGL, CUDA and NVENC
- Linux guests get CUDA, Vulkan and video at close to host speed
- A companion app installs Windows from an ISO without prompts and sets up the GPU
- Packaging comes as an install script, an AppImage and a NixOS flake
A preview also exists for Windows 11 hosts, though Linux is the main target.
Hardware support and the risks
NVIDIA cards work best today. AMD support is newer, and Intel Arc is described as an experiment. The project’s website keeps a list of every card the software has run on.
The developer is direct about the limits. A guest can still slow the card for everyone sharing it, and driver flaws in the GPU stack are effectively kernel flaws. The advice is to run only guests you trust.
That warning matters. Sharing one GPU across host and guest is convenient, but it widens the attack surface compared with a fully isolated passthrough setup. Anyone considering Hyper-V GPU-PV on KVM for shared or untrusted workloads should treat it as a trusted-user tool for now.
Who it is for
The obvious users are Linux desktop owners with a single powerful GPU. They want Windows-only software, games or CUDA tools in a VM, but can’t dedicate the card to the guest because the host needs it too. Developers testing Windows GPU applications from a Linux workstation are another natural fit, since the project also covers Linux guests with CUDA and Vulkan.
How to help and what comes next
The author owns only a few graphics cards, so test reports from other hardware are the main request. Each new card that boots and runs a workload helps fill in the compatibility list and shows where the AMD and Intel paths need work.
For Linux users who keep Windows around for games, CAD or CUDA tools, a working GPU-PV path would remove the need to dual boot or buy a second card. Whether Hyper-V GPU-PV on KVM matures from a hobby project into something distributions package will depend on stability across drivers and on how the security trade-offs are handled. For now, the source is on GitHub under the name ruxnhq/guesthouse, and the project site is guesthouse.ruxn.com.
Source: Level1Techs Forums