Re: NVIDIA vgpu mdev/mediated devices are getting deleted/removed after VM shutdown with ovirt

On Tue, Apr 19, 2022 at 11:00 PM Sandip Thorat <sandipt@nvidia.com> wrote:
Thanks Arik for reply.
I want to add enable_large_sys_mem=1 vGPU plugin parameter . How can I do that with oVirt? Could you please share steps?
Go to the "Manage vGPU" (Virtual Machine -> Host Devices -> Manage vGPU) and add it to "Optional driver parameters" (see attached screenshot)
-----Original Message----- From: Arik Hadas <ahadas@redhat.com> Sent: Tuesday, April 19, 2022 6:49 PM To: Sandip Thorat <sandipt@nvidia.com> Cc: users <users@ovirt.org> Subject: Re: [ovirt-users] NVIDIA vgpu mdev/mediated devices are getting deleted/removed after VM shutdown with ovirt
External email: Use caution opening links or attachments
On Tue, Apr 19, 2022 at 3:47 PM sandipt--- via Users <users@ovirt.org> wrote:
Hi Team,
NVIDIA vgpu mdev/mediated devices are getting deleted/removed after VM shutdown with ovirt. How I can make them persistent even after VM shutdown/poweroff ? I want to set some vgpu parameter in file /sys/bus/mdev/devices/vgpu-id/nvidia/vgpu_params for testing to mdev. But can't do as uuid of mdev are not persistent. mdev are not there in /sys/bus/mdev/devices/ after VM shutdown. We were using RHV/Red Hat Virtualization Host 4.4.10 host with NVIDIA vGPU. virsh commands are helping. Can you please help?
As from oVirt 4.5, you can set such parameters via oVirt's UI/API, see:
https://bugzilla.redhat.com/1987121
(The mdev devices were also changed to managed devices in order to have them persisted)
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org Privacy
Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YAZ5I5LT
FZ3WXBPVNIPH2HQWVEDSQW6K/
participants (1)
-
Arik Hadas