Re: [PATCH 2/2] virDomainDeviceIsUSB: Handle all USB devices and simplify the code

2024-04-05 Thread Jonathon Jongsma
On 4/3/24 6:44 AM, Peter Krempa wrote: Rework 'virDomainUSBDeviceDefForeach' to use virDomainDeviceInfoIterate instead of open-coding all iterators. To achieve this 'virDomainDeviceIsUSB' needs to be fixed as it didn't properly handle 'sound', 'fs', 'chr', 'ccid', and 'net usb devices. missing

[PATCH 2/2] virDomainDeviceIsUSB: Handle all USB devices and simplify the code

2024-04-03 Thread Peter Krempa
Rework 'virDomainUSBDeviceDefForeach' to use virDomainDeviceInfoIterate instead of open-coding all iterators. To achieve this 'virDomainDeviceIsUSB' needs to be fixed as it didn't properly handle 'sound', 'fs', 'chr', 'ccid', and 'net usb devices. Signed-off-by: Peter Krempa ---