[pve-devel] applied: [PATCH container] apply pending mountpoint: also hotplug non-volume mount points

2022-08-12 Thread Wolfgang Bumiller
applied, thanks On Mon, Aug 08, 2022 at 02:36:42PM +0200, Fiona Ebner wrote: > Previously, bind and device mount points were applied to the > configuration, but not actually hot-plugged/mounted, causing a > mismatch for running containers. > > Reported in the community forum: > https://forum.prox

Re: [pve-devel] [PATCH common 1/1] SysFSTools: get name from mediated device types

2022-08-12 Thread Wolfgang Bumiller
On Tue, Jul 26, 2022 at 08:55:57AM +0200, Dominik Csapak wrote: > Some vendors also provide a 'name' file here for the type, which, in case of > NVIDIA, is the official name for the vGPU type in their documentation, > so extract and return it too (if it exists). > > Signed-off-by: Dominik Csapak

Re: [pve-devel] [PATCH qemu-server 1/1] automatically add 'uuid' parameter when passing through NVIDIA vGPU

2022-08-12 Thread Wolfgang Bumiller
On Tue, Jul 26, 2022 at 08:55:58AM +0200, Dominik Csapak wrote: > When passing through an NVIDIA vGPU via mediated devices, their > software needs the qemu process to have the 'uuid' parameter set to the > one of the vGPU. Since it's currently not possible to pass through multiple > vGPUs to one VM

[pve-devel] [PATCH manager v2 1/1] ui: improve form/MDevSelector

2022-08-12 Thread Dominik Csapak
by * showing the (optional) name in front of the type * making the 'availble' column a bit narrower * enabling 'cellWrap' for the description * making the dropdown a bit wider (so all the information can fit) Signed-off-by: Dominik Csapak --- www/manager6/form/MDevSelector.js | 12 ++--

[pve-devel] [PATCH common v2 1/1] SysFSTools: get name from mediated device types

2022-08-12 Thread Dominik Csapak
Some vendors also provide a 'name' file here for the type, which, in case of NVIDIA, is the official name for the vGPU type in their documentation, so extract and return it too (if it exists). Signed-off-by: Dominik Csapak --- src/PVE/SysFSTools.pm | 7 ++- 1 file changed, 6 insertions(+), 1

[pve-devel] [PATCH qemu-server v2 2/2] cleanup pci devices in more situations

2022-08-12 Thread Dominik Csapak
if the preparing of pci devices or the start of the vm fails, we need to cleanup the pci devices (reservations *and* mdevs), or else it might happen that there are leftovers which must be manually removed. to include also mdevs now, refactor the cleanup code from 'vm_stop_cleanup' into it's own fu

[pve-devel] [PATCH common/qemu-server/manager v2] improve vGPU (mdev) usage for NVIDIA

2022-08-12 Thread Dominik Csapak
This series improves the handling of NVIDIA vGPUs by exposing the optional name and automatically adding the uuid to the qemu process (required by NVIDIA driver). Also adds the name to the UI for selecting a mediated devices as well as making the dropdown larger so users can see all the relevant in

[pve-devel] [PATCH qemu-server v2 1/2] automatically add 'uuid' parameter when passing through NVIDIA vGPU

2022-08-12 Thread Dominik Csapak
When passing through an NVIDIA vGPU via mediated devices, their software needs the qemu process to have the 'uuid' parameter set to the one of the vGPU. Since it's currently not possible to pass through multiple vGPUs to one VM (seems to be an NVIDIA driver limitation at the moment), we don't have

[pve-devel] applied: [PATCH common v2 1/1] SysFSTools: get name from mediated device types

2022-08-12 Thread Wolfgang Bumiller
applied, thanks On Fri, Aug 12, 2022 at 11:29:48AM +0200, Dominik Csapak wrote: > Some vendors also provide a 'name' file here for the type, which, in case of > NVIDIA, is the official name for the vGPU type in their documentation, > so extract and return it too (if it exists). > > Signed-off-by:

[pve-devel] applied: [PATCH qemu-server v2 1/2] automatically add 'uuid' parameter when passing through NVIDIA vGPU

2022-08-12 Thread Wolfgang Bumiller
applied this one, left out patch 2 after some off-list discussion On Fri, Aug 12, 2022 at 11:29:49AM +0200, Dominik Csapak wrote: > When passing through an NVIDIA vGPU via mediated devices, their > software needs the qemu process to have the 'uuid' parameter set to the > one of the vGPU. Since it'

[pve-devel] applied: [PATCH manager v2 1/1] ui: improve form/MDevSelector

2022-08-12 Thread Wolfgang Bumiller
applied, thanks On Fri, Aug 12, 2022 at 11:29:51AM +0200, Dominik Csapak wrote: > by > * showing the (optional) name in front of the type > * making the 'availble' column a bit narrower > * enabling 'cellWrap' for the description > * making the dropdown a bit wider (so all the information can fit)