Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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