Skip to content

Conversation

@Evrard-Nil
Copy link

  • Added the -D flag to lspci to ensure the full domain:bus:device.function format is returned
  • Fixed if condition: len(args.gpus) == 8 to len(gpus) == 8 as args.gpus is a string

Also fixed incorrect if condition.
@tmagik
Copy link
Contributor

tmagik commented Sep 5, 2025

This appears to work better than my version which does not set up vfio correctly after the host is rebooted.

@Evrard-Nil
Copy link
Author

@tmagik can we get this merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants