Created
May 10, 2021 11:54
-
-
Save v6ak/9f7e1a961b282ca2742b7d2da307fb11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
from qubesadmin import Qubes | |
q = Qubes() | |
d = q.domains['sys-net'] | |
devices = d.devices['pci'] | |
print(list(devices.assignments(persistent=True))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment