Am 20/09/2022 um 14:50 schrieb Dominik Csapak: > mediated devices also appear under /sys/bus/mdev/devices with their > uuid, independent of the pci device, so we can use that instead > > Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> > --- > src/PVE/SysFSTools.pm | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/src/PVE/SysFSTools.pm b/src/PVE/SysFSTools.pm > index b4cd5cc..b95e934 100644 > --- a/src/PVE/SysFSTools.pm > +++ b/src/PVE/SysFSTools.pm > @@ -367,11 +367,9 @@ sub pci_create_mdev_device { > } > > sub pci_cleanup_mdev_device { > - my ($pciid, $uuid) = @_; > + my ($uuid) = @_; > > - $pciid = normalize_pci_id($pciid); > - > - my $basedir = "$pcisysfs/devices/$pciid/$uuid"; > + my $basedir = "/sys/bus/mdev/devices/$uuid"; > > if (! -e $basedir) { > return 1; # no cleanup necessary if it does not exist
this is a breaking change for older qemu-server I'd like to avoid, meh why ain't such relations not encoded in the actual patch diff-comment area? Re-reading the cover letter each time for every 20 patches is rather a nuisance and really easy to overlook.. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel