johnsanc Posted January 23, 2020 Share Posted January 23, 2020 The system devices screen is really helpful for looking at IOMMU groups and devices to pass through to VMs. However, it currently does not display which devices are Reset enabled, which is particularly useful for USB controllers. I use SpaceInvaderOne's command to look at this. Adding this extra piece of info to the System Devices would be a simple but welcome addition. for iommu_group in $(find /sys/kernel/iommu_groups/ -maxdepth 1 -mindepth 1 -type d);do echo "IOMMU group $(basename "$iommu_group")"; for device in $(\ls -1 "$iommu_group"/devices/); do if [[ -e "$iommu_group"/devices/"$device"/reset ]]; then echo -n "[RESET]"; fi; echo -n $'\t';lspci -nns "$device"; done; done Quote Link to comment
glennv Posted January 23, 2020 Share Posted January 23, 2020 There is a new plugin called "vfio pci config" that does that plus allow you to comfortably stub devices to prepare them for passthru. Check it out Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.