mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-30 19:31:54 +00:00
![]() in some nvidia grid drivers (e.g. 14.4 and 15.x), their kernel module tries to clean up the mdev device when the vm is shutdown and if it cannot do that (e.g. becaues we already cleaned it up), their removal process cancels with an error such that the vgpu does still exist inside their book-keeping, but can't be used/recreated/freed until a reboot. since there seems no obvious way to detect if thats the case besides either parsing dmesg (which is racy), or the nvidia kernel module version(which i'd rather not do), we simply test the pci device vendor for nvidia and add a 10s sleep. that should give the driver enough time to clean up and we will not find the path anymore and skip the cleanup. This way, it works with both the newer and older versions of the driver (some of the older drivers are LTS releases, so they're still supported). Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> |
||
---|---|---|
debian | ||
PVE | ||
qemu-configs | ||
qmeventd | ||
test | ||
vm-network-scripts | ||
.gitignore | ||
bootsplash.jpg | ||
bootsplash.xcf | ||
Makefile | ||
modules-load.conf | ||
qm | ||
qmextract | ||
qmrestore |