intel / idxd-config

Accel-config / libaccel-config
Other
59 stars 35 forks source link

accel-config/test: Check that devices exist before attempting to iterate over them #62

Closed snits closed 5 months ago

snits commented 5 months ago

Check whether any devices exist before attempting to iterate over them.

If a system supports idxd devices, but does not support iax or doesn't have it enabled the current code fails. This resolves issue #60

ysun commented 5 months ago

The patch looks good to me. Thanks Jerry.

ramesh-thomas commented 5 months ago

This was merged.