Table of Contents

Ubuntu - GPU - GPU pass-through - Configuring the guest

Use Virtual Machine Manager or virt-install to install the guest VM.


Install the graphic card driver

Depending on the GPU follow the specific steps for that GPU.

See: TODO.

NOTE: Display issues.

  • After you have installed the drivers, the Virtual Machine Manager display will lose its connection to the guest OS.
  • To access the guest VM, either login via ssh, change to the console interface, or install a dedicated VNC server in the guest.
  • To avoid a flickering screen, stop and disable the display manager:
    sudo systemctl stop display-manager && systemctl disable display-manager

Test the driver

TODO


Microsoft Windows guest

Hide the hypervisor from the drivers by using the <hidden state='on'/> directive in the guest's libvirt definition, for example:

<features>
 <acpi/>
 <apic/>
 <kvm>
  <hidden state='on'/>
 </kvm>
</features>