CONFIGURING THE HOST MACHINE
Largely this involves installing the software then configuring the kernel and bootloader. The Linux kernel has KVM built directly into it—this is the Kernel Virtual Machine, so there are standard libraries (libvirt, virt-manager) for initiating virtual machines. Alongside this is Qemu, the standard hardwareemulator system that can emulate everything from ARM to x86. Also required is a SPICE server that helps manage virtual desktops, plus VirtIO drivers for Windows. The kernel needs a few parameters set at boot time so that it knows to expect GVT messages and to have the correct modules loaded.
CREATING THE VIRTUAL GPU
If everything is working, this is a case of creating a Linux kernel UUID (universally unique identifier) for the device and appending it to the device config, ensuring it has enough VRAM to work in the first place. Once that’s done, you create a Linux systemd service to ensure that it’s started each time the system boots up.