You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under Ubuntu Server 24.04, with a Lovelace GPU (L4) and driver package NVIDIA-AI-Enterprise-Ubuntu-KVM-550.127.06-550.127.05-553.24.zip, the virtual gpus are no longer mediated devices, but full blown PCIe devices that must be unmanaged, according to the documentation:
A vGPU is supported only in unmanaged libvirt mode. Therefore, ensure that in the hostdev element, the managed attribute is set to no.
(source: note at the end of chapter 2.10.4.1, GRID vGPU User Guide)
I've added a virtual GPU as a host device in Ravada, a PCI one, but when assign it to a virtual machine, it is added with the managed attribute set to yes instead of no.
I don't see any way to override this, as the device gets added to the virtual machine XML on the domain's creation and thus I can't edit whilst running.
Is there any way around this?
The text was updated successfully, but these errors were encountered:
In future releases we may add a way to tweak the settings of the host devices.
Currently you can change the managed attribute changing the template in the database.
First check what is the host device id you want to change: mysql> select id,name FROM host_devices;
+----+---------------+
| id | name |
+----+---------------+
| 3 | PCI 1 |
Then list the templates this host device is using. In your case there should be two: mysql> select id,template from host_device_templates where id_host_device=3;
One of the templates should contain the managed attribute ( I only show part of the text). The important part of this output is the "id" in the first column:
Under Ubuntu Server 24.04, with a Lovelace GPU (L4) and driver package NVIDIA-AI-Enterprise-Ubuntu-KVM-550.127.06-550.127.05-553.24.zip, the virtual gpus are no longer mediated devices, but full blown PCIe devices that must be unmanaged, according to the documentation:
I've added a virtual GPU as a host device in Ravada, a PCI one, but when assign it to a virtual machine, it is added with the managed attribute set to yes instead of no.
I don't see any way to override this, as the device gets added to the virtual machine XML on the domain's creation and thus I can't edit whilst running.
Is there any way around this?
The text was updated successfully, but these errors were encountered: