On 30/10/2023 14:12, Wolfgang Bumiller wrote:
> On Tue, Oct 24, 2023 at 02:55:54PM +0200, Filip Schauer wrote:
>> +
>> +$func->($key, "dev/bus/usb/$bus_id/$device_id", @param);
>
> So this will do... something :-)
> But unfortunately it won't deal with the *interesting* bits.
>
> So while
On Tue, Oct 24, 2023 at 02:55:54PM +0200, Filip Schauer wrote:
> Add a function to iterate over passthrough devices of a provided
> container config.
As container specific code this should be in pve-container.
>
> Signed-off-by: Filip Schauer
> ---
> src/PVE/AbstractConfig.pm | 44
Add a function to iterate over passthrough devices of a provided
container config.
Signed-off-by: Filip Schauer
---
src/PVE/AbstractConfig.pm | 44 +++
1 file changed, 44 insertions(+)
diff --git a/src/PVE/AbstractConfig.pm b/src/PVE/AbstractConfig.pm
index a