[pve-devel] [PATCH pve-storage] fix #1611: implement import of base-images for LVM-thin Storage

2023-10-16 Thread Hannes Duerr
if a base-image is to be migrated to a lvm-thin storage, a new vm-image is allocated on the target side, then the data is written and afterwards the image is converted to a base-image Signed-off-by: Hannes Duerr --- In the bugtracker wolfgang suggested two different approaches. In my opinion

[pve-devel] [PATCH qemu-server] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-10-25 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 12 PVE/QemuServer/Drive.pm | 26 ++ 2 files changed, 38 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 2cd8948..69be3af 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm

[pve-devel] [PATCH v2 qemu-server] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-08 Thread Hannes Duerr
adds vendor and product information for SCSI devices to the json schema and checks in the VM create/update API call if it is possible to add these to QEMU as a device option Signed-off-by: Hannes Duerr --- changes in v2: - when calling the API to create/update a VM, check whether the devices

[pve-devel] [PATCH v3 qemu-server 1/2] Create get_scsi_devicetype and move it and its dependencies to QemuServer/Drive.pm

2023-11-10 Thread Hannes Duerr
Encapsulation of the functionality for determining the scsi device type in a new function for reusability and moving the function and its dependencies to Qemuserver/Drive.qm for a better overview Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 87

[pve-devel] [PATCH v3 qemu-server 0/2] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-10 Thread Hannes Duerr
lity - assert_scsi_feature_compatibility before creating the device - handle 'local-lvm:' syntax in get_scsi_devicetype - fix style issues Hannes Duerr (2): Create get_scsi_devicetype and move it and its dependencies to QemuServer/Drive.pm fix #4957: add vendor and product information

[pve-devel] [PATCH v3 qemu-server 2/2] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-10 Thread Hannes Duerr
adds vendor and product information for SCSI devices to the json schema and checks in the VM create/update API call if it is possible to add these to QEMU as a device option Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 12 PVE/QemuServer.pm | 28

[pve-devel] [PATCH v4 qemu-server 3/4] drive: Create get_scsi_devicetype

2023-11-17 Thread Hannes Duerr
Encapsulation of the functionality for determining the scsi device type in a new function for reusability in QemuServer/Drive.pm Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 29 - PVE/QemuServer/Drive.pm | 35 ++- 2 files

[pve-devel] [PATCH v4 qemu-server 0/4] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-17 Thread Hannes Duerr
lity - assert_scsi_feature_compatibility before creating the device - handle 'local-lvm:' syntax in get_scsi_devicetype - fix style issues changes in v4: - create assert_scsi_feature_compatibility() in API2/Qemu.pm - divide the preparation into smaller steps - remove or harden brittle regex -

[pve-devel] [PATCH v4 qemu-server 1/4] Move path_is_scsi to QemuServer/Drive.pm

2023-11-17 Thread Hannes Duerr
Prepare for introduction of new helper Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 62 + PVE/QemuServer/Drive.pm | 61 2 files changed, 62 insertions(+), 61 deletions(-) diff --git a/PVE

[pve-devel] [PATCH v4 qemu-server 2/4] Move NEW_DISK_RE to QemuServer/Drive.pm

2023-11-17 Thread Hannes Duerr
Move it due to better context and preparation of fix Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 10 -- PVE/QemuServer/Drive.pm | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 38bdaab..b9c8f20 100644 --- a

[pve-devel] [PATCH v4 qemu-server 4/4] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-17 Thread Hannes Duerr
adds vendor and product information for SCSI devices to the json schema and checks in the VM create/update API call if it is possible to add these to QEMU as a device option Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 39 +++ PVE/QemuServer.pm

[pve-devel] [PATCH v5 qemu-server 0/4] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-17 Thread Hannes Duerr
- fix wrong storagename assumption changes in v5: - fix copy/paste mistake Hannes Duerr (4): Move path_is_scsi to QemuServer/Drive.pm Move NEW_DISK_RE to QemuServer/Drive.pm drive: Create get_scsi_devicetype fix #4957: add vendor and product information passthrough for SCSI-Disks PV

[pve-devel] [PATCH v5 qemu-server 1/4] Move path_is_scsi to QemuServer/Drive.pm

2023-11-17 Thread Hannes Duerr
Prepare for introduction of new helper Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 62 + PVE/QemuServer/Drive.pm | 61 2 files changed, 62 insertions(+), 61 deletions(-) diff --git a/PVE

[pve-devel] [PATCH v5 qemu-server 3/4] drive: Create get_scsi_devicetype

2023-11-17 Thread Hannes Duerr
Encapsulation of the functionality for determining the scsi device type in a new function for reusability in QemuServer/Drive.pm Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 29 - PVE/QemuServer/Drive.pm | 35 ++- 2 files

[pve-devel] [PATCH v5 qemu-server 2/4] Move NEW_DISK_RE to QemuServer/Drive.pm

2023-11-17 Thread Hannes Duerr
Move it due to better context and preparation of fix Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 10 -- PVE/QemuServer/Drive.pm | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 38bdaab..b9c8f20 100644 --- a

[pve-devel] [PATCH v5 qemu-server 4/4] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-11-17 Thread Hannes Duerr
adds vendor and product information for SCSI devices to the json schema and checks in the VM create/update API call if it is possible to add these to QEMU as a device option Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 39 +++ PVE/QemuServer.pm

[pve-devel] [PATCH v6 qemu-server 1/4] Move path_is_scsi to QemuServer/Drive.pm

2023-12-05 Thread Hannes Duerr
Prepare for introduction of new helper Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 62 +--- PVE/QemuServer/Drive.pm | 63 + 2 files changed, 64 insertions(+), 61 deletions(-) diff --git a/PVE

[pve-devel] [PATCH v6 qemu-server 2/4] Move NEW_DISK_RE to QemuServer/Drive.pm

2023-12-05 Thread Hannes Duerr
Prepare for introduction of new helper Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 10 -- PVE/QemuServer/Drive.pm | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index f26adf5..9e3cfb5 100644 --- a/PVE/API2/Qemu.pm

[pve-devel] [PATCH v6 qemu-server 3/4] drive: Create get_scsi_devicetype

2023-12-05 Thread Hannes Duerr
Encapsulation of the functionality for determining the scsi device type in a new function for reusability in QemuServer/Drive.pm Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 29 - PVE/QemuServer/Drive.pm | 35 ++- 2 files

[pve-devel] [PATCH v6 qemu-server 4/4] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-12-05 Thread Hannes Duerr
adds vendor and product information for SCSI devices to the json schema and checks in the VM create/update API call if it is possible to add these to QEMU as a device option Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 38 ++ PVE/QemuServer.pm

[pve-devel] [PATCH v6 qemu-server 0/4] fix #4957: add vendor and product information passthrough for SCSI-Disks

2023-12-05 Thread Hannes Duerr
to allowed characters for vendor and product information - fix undefined subroutine errors - fix nits Hannes Duerr (4): Move path_is_scsi to QemuServer/Drive.pm Move NEW_DISK_RE to QemuServer/Drive.pm drive: Create get_scsi_devicetype fix #4957: add vendor and product information passt

[pve-devel] [PATCH v2 qemu-server pve-storage 0/2] fix #1611: implement import of base-images for LVM-thin Storage

2023-12-07 Thread Hannes Duerr
if a base-image is to be migrated to a lvm-thin storage, a new vm-image is allocated on the target side, then the data is written and afterwards the image is converted to a base-image qemu-server: Hannes Duerr (1): migration: secure and use source volume names for cleanup PVE

[pve-devel] [PATCH v2 qemu-server pve-storage 1/2] migration: secure and use source volume names for cleanup

2023-12-07 Thread Hannes Duerr
During migration, the volume names may change if the name is already in use at the target location. We therefore want to save the original names before the migration so that we can clean up the original volumes afterwards. Signed-off-by: Hannes Duerr --- PVE/QemuMigrate.pm | 5 +++-- 1 file

[pve-devel] [PATCH v2 qemu-server pve-storage 2/2] fix #1611: implement import of base-images for LVM-thin Storage

2023-12-07 Thread Hannes Duerr
for base images we call the volume_import of the parent plugin and pass it as vm-image instead of base-image, then convert it back as base-image Signed-off-by: Hannes Duerr --- src/PVE/Storage/LvmThinPlugin.pm | 60 1 file changed, 60 insertions(+) diff --git a

[pve-devel] [PATCH pve-docs] firewall: fix link to suricata page

2023-12-14 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- pve-firewall.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-firewall.adoc b/pve-firewall.adoc index 836a51c..a5e40f9 100644 --- a/pve-firewall.adoc +++ b/pve-firewall.adoc @@ -562,7 +562,7 @@ and add `ip_conntrack_ftp` to `/etc

[pve-devel] [PATCH qemu-server/storage v3 0/2] fix #1611: implement import of base-images for LVM-thin Storage

2023-12-19 Thread Hannes Duerr
Changes in V2: * restructure and remove duplication * fix deactivation of volumes after migration Changes in V3: * fix nits * remove unnecessary oldname override * deactivate not only offline volumes, but all of them qemu-server: Hannes Duerr (1): migration: secure and use source volume

[pve-devel] [PATCH pve-storage v3 2/2] fix #1611: implement import of base-images for LVM-thin Storage

2023-12-19 Thread Hannes Duerr
for base images we call the volume_import of the parent plugin and pass it as vm-image instead of base-image, then convert it back as base-image Signed-off-by: Hannes Duerr --- src/PVE/Storage/LvmThinPlugin.pm | 51 1 file changed, 51 insertions(+) diff --git

[pve-devel] [PATCH qemu-server v3 1/2] migration: secure and use source volume names for deactivation

2023-12-19 Thread Hannes Duerr
During migration, the volume names may change if the name is already in use at the target location. We therefore want to save the original names before the migration so that we can deactivate the original volumes afterwards. Signed-off-by: Hannes Duerr --- PVE/QemuMigrate.pm | 8 ++-- 1

[pve-devel] [PATCH qemu-server v4 1/2] migration: secure and use source volume names for deactivation

2023-12-19 Thread Hannes Duerr
During migration, the volume names may change if the name is already in use at the target location. We therefore want to save the original names so that we can deactivate the original volumes afterwards. Signed-off-by: Hannes Duerr --- PVE/QemuMigrate.pm | 5 +++-- 1 file changed, 3 insertions

[pve-devel] [PATCH qemu-server/storage v4 0/2] fix #1611: implement import of base-images for LVM-thin Storage

2023-12-19 Thread Hannes Duerr
: * fix Nits * remove unnecessary oldname override * deactivate not only offline volumes, but all Changes in V4: * remove debug stuff * remove unnecessary key in $self qemu-server: Hannes Duerr (1): migration: secure and use source volume names for deactivation PVE/QemuMigrate.pm | 5 +++-- 1

[pve-devel] [PATCH pve-storage v4 2/2] fix #1611: implement import of base-images for LVM-thin Storage

2023-12-19 Thread Hannes Duerr
for base images we call the volume_import of the parent plugin and pass it as vm-image instead of base-image, then convert it back as base-image Signed-off-by: Hannes Duerr --- src/PVE/Storage/LvmThinPlugin.pm | 50 1 file changed, 50 insertions(+) diff --git a

[pve-devel] [PATCH pve-manager 1/1] report: add packet counter to iptables output

2024-01-03 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- The additional information can help with debugging firewall rules, as one can see how many times a specified rule got hit PVE/Report.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Report.pm b/PVE/Report.pm index 2024285e..10b28c79

[pve-devel] [PATCH qemu-server v7 0/1] fix #4957: add vendor and product information passthrough for SCSI-Disks

2024-01-10 Thread Hannes Duerr
the helper public - since the properties cannot be hotplugged, skip the properties during hotplugg - reduce the amount of allowed characters due to restrictions in qemu qemu-server: Hannes Duerr (1): fix #4957: add vendor and product information passthrough for SCSI-Disks PVE/API2/Qemu.pm

[pve-devel] [PATCH qemu-server v7 1/1] fix #4957: add vendor and product information passthrough for SCSI-Disks

2024-01-10 Thread Hannes Duerr
adds vendor and product information for SCSI devices to the json schema and checks in the VM create/update API call if it is possible to add these to QEMU as a device option Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 39 +++ PVE/QemuServer.pm

[pve-devel] [PATCH pve-manager 1/1] add missing library packages

2024-01-12 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- PVE/API2/APT.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm index f50a5347..54121ec2 100644 --- a/PVE/API2/APT.pm +++ b/PVE/API2/APT.pm @@ -788,9 +788,12 @@ __PACKAGE__->register_method({ libproxmox-bac

[pve-devel] [PATCH qemu-server 1/1] fix 1734: clone VM: if deactivation fails demote error to warning

2024-03-06 Thread Hannes Duerr
volume because it is still in use. The reason for this is that we use a shared lock. Since the failed deactivation does not necessarily have consequences, we downgrade the error to a warning, which means that the clone tasks will continue to be completed successfully. Signed-off-by: Hannes Duerr

[pve-devel] [PATCH qemu-server v2 1/1] fix 1734: clone VM: if deactivation fails demote error to warning

2024-03-06 Thread Hannes Duerr
volume because it is still in use. The reason for this is that we use a shared lock. Since the failed deactivation does not necessarily have consequences, we downgrade the error to a warning, which means that the clone tasks will continue to be completed successfully. Signed-off-by: Hannes Duerr

[pve-devel] [PATCH qemu-server 1/1] snapshot: prohibit snapshot with ram if vm has a passthrough pci device

2024-03-19 Thread Hannes Duerr
conclusion the VM might crash. For this reason, we now generally prohibit snapshots with RAM for VMs with passthrough devices. In the future, this prohibition can of course be relaxed for individual drivers that we know support it, such as the vfio driver Signed-off-by: Hannes Duerr --- PVE/API2

[pve-devel] [PATCH pve-storage 1/1] storage/plugin: implement ref-counting for disknames in get_next_vm_diskname

2024-04-03 Thread Hannes Duerr
[0] https://lists.proxmox.com/pipermail/pve-devel/2024-January/061526.html Signed-off-by: Hannes Duerr --- src/PVE/Storage/Plugin.pm | 99 ++- 1 file changed, 86 insertions(+), 13 deletions(-) diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm index 7456c8

[pve-devel] [PATCH qemu-server 1/1] fix #5365: drive: add drive_is_cloudinit check to get_scsi_devicetype

2024-04-09 Thread Hannes Duerr
not yet been allocated. Signed-off-by: Hannes Duerr --- PVE/QemuServer/Drive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer/Drive.pm b/PVE/QemuServer/Drive.pm index 34c6e87..c829bde 100644 --- a/PVE/QemuServer/Drive.pm +++ b/PVE/QemuServer/Drive.pm @@ -853,7

[pve-devel] [PATCH qemu-server v2 1/2] fix #5363: cloudinit: make creation of scsi cloudinit discs possible again

2024-04-10 Thread Hannes Duerr
performed to determine if it is a Cloudinit drive that has not yet been assigned. The mentioned error was introduced by this patch: https://lists.proxmox.com/pipermail/pve-devel/2024-January/061311.html Signed-off-by: Hannes Duerr --- Changes since v1: - fixed rephrased commit message - added

[pve-devel] [PATCH qemu-server v2 2/2] drive: improve readability to get_scsi_device_type

2024-04-10 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- PVE/API2/Qemu.pm| 2 +- PVE/QemuServer.pm | 2 +- PVE/QemuServer/Drive.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 497987f..dc44dee 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2

[pve-devel] [PATCH v2 proxmox-i18n] update German translation

2023-10-09 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- de.po | 111 -- 1 file changed, 37 insertions(+), 74 deletions(-) diff --git a/de.po b/de.po index fea74f1..4f6de7d 100644 --- a/de.po +++ b/de.po @@ -747,9 +747,8 @@ msgid "Authentication mode&quo

[pve-devel] [PATCH v3 proxmox-i18n] update German translation

2023-10-10 Thread Hannes Duerr
update German translation Signed-off-by: Hannes Duerr --- Hab die Änderungen aufgenommen de.po | 121 +++--- 1 file changed, 40 insertions(+), 81 deletions(-) diff --git a/de.po b/de.po index fea74f1..e5202af 100644 --- a/de.po +++ b/de.po

Re: [pve-devel] [PATCH pve-docs v3 18/18] firewall: add documentation for forward direction

2024-11-13 Thread Hannes Duerr
I am still not really conviced about the 'zone', but this does not have to change with this series. I like the other changes, but I think there are some minor issues. On 12.11.24 13:26, Stefan Hanreich wrote: diff --git a/pve-firewall.adoc b/pve-firewall.adoc index b428703..d5c664f 100644 --- a

[pve-devel] [PATCH proxmx-nvidia-vgpu-helper 2/2] add script to help with the installation of the nvidia vgpu dependencies

2024-11-20 Thread Hannes Duerr
The script should help with the dependency installation for the nvidia vgpu driver, also if the driver is already installed but the system has been updated Signed-off-by: Hannes Duerr --- pve-install-nvidia-vgpu-deps | 66 1 file changed, 66 insertions

[pve-devel] [PATCH proxmx-nvidia-vgpu-helper 1/2] debian/control: adjust description and pve-manager dependency

2024-11-20 Thread Hannes Duerr
remove the dependency of proxmox-dkms, since this package does not exist, and add the dependency of pve-manager, which should be installed with every reasonable Proxmox VE installation, so that the package can already be installed during the installation. Signed-off-by: Hannes Duerr --- debian

[pve-devel] [PATCH proxmx-nvidia-vgpu-helper 0/2] reduce setup steps for nvidia vgpu drivers

2024-11-20 Thread Hannes Duerr
install script which can be used to check and install necessary dependencies and a systemd template service which can be used to configure the SR-IOV per pci-id Part of the changes would later be the adjustment of the wiki page [0] https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE Hannes Duerr (2

Re: [pve-devel] [PATCH docs/firewall/manager/network/proxmox{-ve-rs, -firewall} v3 00/18] add forward chain firewalling for hosts and vnets

2024-11-15 Thread Hannes Duerr
Tested the series also containing some changes of V4. Tested-by: Hannes Dürr On 12.11.24 13:25, Stefan Hanreich wrote: ## Introduction This patch series introduces a new direction for firewall rules: forward. Additionally this patch series introduces defining firewall rules on a vnet level.

Re: [pve-devel] [PATCH docs/firewall/manager/proxmox{-ve-rs, -firewall, -perl-rs} v3 00/24] autogenerate ipsets for sdn objects

2024-11-15 Thread Hannes Duerr
I tested this series in combination with the second patch series [0] implementing the forward chain, also containing some changes made in v4. My test setup consisted of two clustered virtual Proxmox VE nodes. I created a simple zone with vnet (no snat, no vlan aware), subnet and dhcp range. I

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 1/4] create a debian package to make the installation of Nvidia vGPU drivers more convenient

2025-02-10 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/changelog | 5 + debian/control | 15 +++ debian/copyright | 14 ++ debian/rules | 8 debian/source/format | 1 + 5 files changed, 43 insertions(+) create mode 100644 debian/changelog create

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 2/4] debian/control: add dependency for helper script

2025-02-10 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/control | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 334bf25..352e63a 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,9 @@ Homepage: https://www.proxmox.com Package: pve-nvidia

[pve-devel] [PATCH manager/nvidia-vgpu-helper v3 0/5] reduce setup steps for nvidia vgpu drivers

2025-02-10 Thread Hannes Duerr
.com/wiki/NVIDIA_vGPU_on_Proxmox_VE pve-nvidia-vgpu-helper: Hannes Duerr (4): create a debian package to make the installation of Nvidia vGPU drivers more convenient debian/control: add dependency for helper script add pve-nvidia-vgpu-helper and Makefile to make dependency instal

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 4/4] debian: add and install pve-nvidia-sriov systemd template unit file

2025-02-10 Thread Hannes Duerr
SR-IOV must be enabled each time the system is restarted. This systemd service should take over this task and enable SR-IOV per pci-id/gpu after a system restart. Signed-off-by: Hannes Duerr --- Notes: Changes in v4: * Change nvidia-vgpud.service nvidia-vgpu-mgr.service to `Before

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 3/4] add pve-nvidia-vgpu-helper and Makefile to make dependency installation more convenient

2025-02-10 Thread Hannes Duerr
and any newer kernels installed - blacklist the competing nouveau driver and add the opt-out flag --no-blacklist We also add a Makefile to help build the Debian package and install the script Signed-off-by: Hannes Duerr --- Notes: Changes in V4: * add `--help` option displaying the usage

[pve-devel] [PATCH pve-nvidia-vgpu-helper v4 2/4] debian/control: add dependency for helper script

2025-02-10 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/control | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 334bf25..352e63a 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,9 @@ Homepage: https://www.proxmox.com Package: pve-nvidia

[pve-devel] [PATCH pve-nvidia-vgpu-helper v4 4/4] debian: add and install pve-nvidia-sriov systemd template unit file

2025-02-10 Thread Hannes Duerr
SR-IOV must be enabled each time the system is restarted. This systemd service should take over this task and enable SR-IOV per pci-id/gpu after a system restart. Signed-off-by: Hannes Duerr --- Notes: Changes in v4: * Change nvidia-vgpud.service nvidia-vgpu-mgr.service to `Before

[pve-devel] [PATCH pve-manager v3 1/1] debian/control: add pve-nvidia-vgpu-helper as dependency

2025-02-10 Thread Hannes Duerr
the package ships a script that helps to set up Nvidia vgpu drivers. Signed-off-by: Hannes Duerr --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 6c94df09..ab02fd76 100644 --- a/debian/control +++ b/debian/control @@ -89,6 +89,7

[pve-devel] [PATCH pve-nvidia-vgpu-helper v4 1/4] create a debian package to make the installation of Nvidia vGPU drivers more convenient

2025-02-10 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/changelog | 5 + debian/control | 15 +++ debian/copyright | 14 ++ debian/rules | 8 debian/source/format | 1 + 5 files changed, 43 insertions(+) create mode 100644 debian/changelog create

[pve-devel] [PATCH pve-nvidia-vgpu-helper v4 3/4] add pve-nvidia-vgpu-helper and Makefile to make dependency installation more convenient

2025-02-10 Thread Hannes Duerr
and any newer kernels installed - blacklist the competing nouveau driver and add the opt-out flag --no-blacklist We also add a Makefile to help build the Debian package and install the script Signed-off-by: Hannes Duerr --- Notes: Changes in V4: * add `--help` option displaying the usage

[pve-devel] [PATCH manager/nvidia-vgpu-helper v4 0/5] reduce setup steps for nvidia vgpu drivers

2025-02-10 Thread Hannes Duerr
.com/wiki/NVIDIA_vGPU_on_Proxmox_VE pve-nvidia-vgpu-helper: Hannes Duerr (4): create a debian package to make the installation of Nvidia vGPU drivers more convenient debian/control: add dependency for helper script add pve-nvidia-vgpu-helper and Makefile to make dependency instal

[pve-devel] [PATCH pve-manager v4 1/1] debian/control: add pve-nvidia-vgpu-helper as dependency

2025-02-10 Thread Hannes Duerr
the package ships a script that helps to set up Nvidia vgpu drivers. Signed-off-by: Hannes Duerr --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 6c94df09..ab02fd76 100644 --- a/debian/control +++ b/debian/control @@ -89,6 +89,7

[pve-devel] [PATCH pve-docs] ha crs: remove technology preview note of static-load scheduler

2024-12-13 Thread Hannes Duerr
The static load scheduler feature was applied on 17/11/2022 [0] and can be considered stable now [0] https://lore.proxmox.com/pve-devel/20221117140018.105004-1-f.eb...@proxmox.com/ Signed-off-by: Hannes Duerr --- ha-manager.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/ha

[pve-devel] [PATCH manager/nvidia-vgpu-helper v2 0/5] reduce setup steps for nvidia vgpu drivers

2025-01-21 Thread Hannes Duerr
per pci-id Part of the changes would later be the adjustment of the wiki page [0] https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE pve-nvidia-vgpu-helper: Hannes Duerr (4): create a debian package to make the installation of Nvidia vGPU drivers more convenient debian/control: add

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 1/4] create a debian package to make the installation of Nvidia vGPU drivers more convenient

2025-01-21 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/changelog | 5 + debian/control | 15 +++ debian/copyright | 14 ++ debian/rules | 8 debian/source/format | 1 + 5 files changed, 43 insertions(+) create mode 100644 debian/changelog create

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 3/4] add pve-nvidia-vgpu-helper and Makefile to make dependency installtion more convenient

2025-01-21 Thread Hannes Duerr
we add the pve-nvidia-vgpu-helper script to make the installation of the required nvidia vgpu driver dependencies more convenient. We also add a Makefile to assist in building the debian package and installing the script Signed-off-by: Hannes Duerr --- Makefile | 54

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 2/4] debian/control: add dependency for helper script

2025-01-21 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 334bf25..4492b60 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,8 @@ Homepage: https://www.proxmox.com Package: pve-nvidia

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 4/4] debian: add and install nvidia-vgpu systemd template unit file

2025-01-21 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/nvidia-vgpud@.service | 12 debian/rules | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 debian/nvidia-vgpud@.service diff --git a/debian/nvidia-vgpud@.service b/debian/nvidia-vgpud@.service new file mode 100644

[pve-devel] [PATCH pve-manager v2 1/1] debian/control: add pve-nvidia-vgpu-helper as dependency

2025-01-21 Thread Hannes Duerr
the package ships a script that helps to set up Nvidia vgpu drivers. Signed-off-by: Hannes Duerr --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 6c94df09..ab02fd76 100644 --- a/debian/control +++ b/debian/control @@ -89,6 +89,7

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 5/5] script: install headers for running and newer kernel version only

2025-01-24 Thread Hannes Duerr
also add the new dependency for `libdpkg-perl` Signed-off-by: Hannes Duerr --- debian/control | 1 + pve-nvidia-vgpu-helper | 20 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 4492b60..352e63a 100644 --- a

[pve-devel] [PATCH manager/nvidia-vgpu-helper v2 0/6] reduce setup steps for nvidia vgpu drivers

2025-01-24 Thread Hannes Duerr
PU_on_Proxmox_VE pve-nvidia-vgpu-helper: Hannes Duerr (5): create a debian package to make the installation of Nvidia vGPU drivers more convenient debian/control: add dependency for helper script add pve-nvidia-vgpu-helper and Makefile to make dependency installtion more convenient

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 3/5] add pve-nvidia-vgpu-helper and Makefile to make dependency installtion more convenient

2025-01-24 Thread Hannes Duerr
we add the pve-nvidia-vgpu-helper script to make the installation of the required nvidia vgpu driver dependencies more convenient. We also add a Makefile to assist in building the debian package and installing the script Signed-off-by: Hannes Duerr --- Makefile | 54

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 2/5] debian/control: add dependency for helper script

2025-01-24 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 334bf25..4492b60 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,8 @@ Homepage: https://www.proxmox.com Package: pve-nvidia

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 4/5] debian: add and install pve-nvidia-sriov systemd template unit file

2025-01-24 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/pve-nvidia-sriov@.service | 13 + debian/rules | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 debian/pve-nvidia-sriov@.service diff --git a/debian/pve-nvidia-sriov@.service b/debian/pve-nvidia-sriov@.service

[pve-devel] [PATCH pve-manager v2 1/1] debian/control: add pve-nvidia-vgpu-helper as dependency

2025-01-24 Thread Hannes Duerr
the package ships a script that helps to set up Nvidia vgpu drivers. Signed-off-by: Hannes Duerr --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 6c94df09..ab02fd76 100644 --- a/debian/control +++ b/debian/control @@ -89,6 +89,7

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 5/5] script: install headers for running and newer kernel version only

2025-01-24 Thread Hannes Duerr
also add the new dependency for `libdpkg-perl` Signed-off-by: Hannes Duerr --- debian/control | 1 + pve-nvidia-vgpu-helper | 20 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 4492b60..352e63a 100644 --- a

[pve-devel] [PATCH manager/nvidia-vgpu-helper v3 0/6] reduce setup steps for nvidia vgpu drivers

2025-01-24 Thread Hannes Duerr
PU_on_Proxmox_VE pve-nvidia-vgpu-helper: Hannes Duerr (5): create a debian package to make the installation of Nvidia vGPU drivers more convenient debian/control: add dependency for helper script add pve-nvidia-vgpu-helper and Makefile to make dependency installtion more convenient

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 1/5] create a debian package to make the installation of Nvidia vGPU drivers more convenient

2025-01-24 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/changelog | 5 + debian/control | 15 +++ debian/copyright | 14 ++ debian/rules | 8 debian/source/format | 1 + 5 files changed, 43 insertions(+) create mode 100644 debian/changelog create

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 3/5] add pve-nvidia-vgpu-helper and Makefile to make dependency installtion more convenient

2025-01-24 Thread Hannes Duerr
we add the pve-nvidia-vgpu-helper script to make the installation of the required nvidia vgpu driver dependencies more convenient. We also add a Makefile to assist in building the debian package and installing the script Signed-off-by: Hannes Duerr --- Makefile | 54

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 2/5] debian/control: add dependency for helper script

2025-01-24 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 334bf25..4492b60 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,8 @@ Homepage: https://www.proxmox.com Package: pve-nvidia

[pve-devel] [PATCH pve-manager v3 1/1] debian/control: add pve-nvidia-vgpu-helper as dependency

2025-01-24 Thread Hannes Duerr
the package ships a script that helps to set up Nvidia vgpu drivers. Signed-off-by: Hannes Duerr --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 6c94df09..ab02fd76 100644 --- a/debian/control +++ b/debian/control @@ -89,6 +89,7

[pve-devel] [PATCH pve-nvidia-vgpu-helper v3 4/5] debian: add and install pve-nvidia-sriov systemd template unit file

2025-01-24 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/pve-nvidia-sriov@.service | 13 + debian/rules | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 debian/pve-nvidia-sriov@.service diff --git a/debian/pve-nvidia-sriov@.service b/debian/pve-nvidia-sriov@.service

[pve-devel] [PATCH pve-nvidia-vgpu-helper v2 1/5] create a debian package to make the installation of Nvidia vGPU drivers more convenient

2025-01-24 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/changelog | 5 + debian/control | 15 +++ debian/copyright | 14 ++ debian/rules | 8 debian/source/format | 1 + 5 files changed, 43 insertions(+) create mode 100644 debian/changelog create

[pve-devel] [PATCH qemu-server] cfg2cmd: use tpm-tis and tpm-tis-device depending on the arch

2025-01-15 Thread Hannes Duerr
b...@proxmox.com/ Signed-off-by: Hannes Duerr --- PVE/QemuServer.pm | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 43008f3f..f7cb5fcb 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3203,7 +3203,7 @@ sub get_tpm_p

[pve-devel] [PATCH pve-nvidia-vgpu-helper v5 2/4] debian/control: add dependency for helper script

2025-02-13 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/control | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 334bf25..352e63a 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,9 @@ Homepage: https://www.proxmox.com Package: pve-nvidia

[pve-devel] [PATCH pve-nvidia-vgpu-helper v5 3/4] add pve-nvidia-vgpu-helper and Makefile to make dependency installation more convenient

2025-02-13 Thread Hannes Duerr
and any newer kernels installed - blacklist the competing nouveau driver and add the opt-out flag --no-blacklist We also add a Makefile to help build the Debian package and install the script Signed-off-by: Hannes Duerr --- Notes: Changes in V5: * Add syslog Message that mentions nouveau

[pve-devel] [PATCH manager/nvidia-vgpu-helper v5 0/5] reduce setup steps for nvidia vgpu drivers

2025-02-13 Thread Hannes Duerr
i page [0] https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE pve-nvidia-vgpu-helper: Hannes Duerr (4): create a debian package to make the installation of Nvidia vGPU drivers more convenient debian/control: add dependency for helper script add pve-nvidia-vgpu-helper and Makefile

[pve-devel] [PATCH pve-manager v5 1/1] debian/control: add pve-nvidia-vgpu-helper as dependency

2025-02-13 Thread Hannes Duerr
the package ships a script that helps to set up Nvidia vgpu drivers. Signed-off-by: Hannes Duerr --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 6c94df09..ab02fd76 100644 --- a/debian/control +++ b/debian/control @@ -89,6 +89,7

[pve-devel] [PATCH pve-nvidia-vgpu-helper v5 1/4] create a debian package to make the installation of Nvidia vGPU drivers more convenient

2025-02-13 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- debian/changelog | 5 + debian/control | 15 +++ debian/copyright | 14 ++ debian/rules | 8 debian/source/format | 1 + 5 files changed, 43 insertions(+) create mode 100644 debian/changelog create

[pve-devel] [PATCH pve-nvidia-vgpu-helper v5 4/4] debian: add and install pve-nvidia-sriov systemd template unit file

2025-02-13 Thread Hannes Duerr
SR-IOV must be enabled each time the system is restarted. This systemd service should take over this task and enable SR-IOV per pci-id/gpu after a system restart. Signed-off-by: Hannes Duerr --- Notes: Changes in v4: * Change nvidia-vgpud.service nvidia-vgpu-mgr.service to `Before