mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-20 22:03:33 +03:00
sysfs tools: add comment w.r.t. mdev uuid to pci_cleanup_mdev_device
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6f11b3eeb9
commit
e9367c5b9f
@ -366,9 +366,11 @@ sub pci_create_mdev_device {
|
||||
return undef;
|
||||
}
|
||||
|
||||
# FIXME: move over to qemu-server, drop after PVE 8.0 and break older (7.x) qemu-server
|
||||
sub pci_cleanup_mdev_device {
|
||||
my ($pciid, $uuid) = @_;
|
||||
|
||||
# NOTE: PCI ID is actually not a requirement, /sys/bus/mdev/devices/$uuid is always available
|
||||
$pciid = normalize_pci_id($pciid);
|
||||
|
||||
my $basedir = "$pcisysfs/devices/$pciid/$uuid";
|
||||
|
Loading…
x
Reference in New Issue
Block a user