Am 18.03.24 um 12:18 schrieb Dominik Csapak: > this is useful to get to the config without having to parse it again >
You could also adapt the call sites that need it to use PVE::Mapping::PCI::config() and PVE::Mapping::PCI::get_node_mapping() instead of PVE::Mapping::PCI::find_on_current_node(). That would avoid overloading the return value. IMHO find_on_current_node() doesn't sound like it should return the full map config, even if just optionally. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel