Commit Graph

4 Commits

Author SHA1 Message Date
Dominik Csapak
bdf06beb0a mapping: pci: fix missing description/default for mdev
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-04-11 18:20:17 +02:00
Wolfgang Bumiller
831a2fffb2 minor style and doc fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-06-13 10:49:17 +02:00
Thomas Lamprecht
59b336314f mappings: cleanup imports
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-07 19:16:02 +02:00
Dominik Csapak
11fa95682e add PCI/USB Mapping configs
adds a config file for each type of resource (usb/pci) by using a 'map'
array propertystring for each node mapping

in each mapping we save the path(s) and some other information to detect
hardware changes (if possible) like the vendor/device id

both configs have custom header parser/formatter to omit the type (since
we only want one type per config here)

also each config has some helpers like find_on_current_node

the resulting config (e.g. for pci) would look like this:
2023-06-07 19:14:38 +02:00