Skip to content

Commit

Permalink
q-dev: implement new device api
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Apr 28, 2024
1 parent a442f92 commit 42d0402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes_config/global_config/usb_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def __init__(self,
usb_qubes: Set[qubesadmin.vm.QubesVM] = set()

for vm in self.qapp.domains:
for device in vm.devices['pci'].attached():
for device in vm.devices['pci'].get_attached_devices():
if device.description.startswith('USB controller'):
usb_qubes.add(vm)

Expand Down

0 comments on commit 42d0402

Please sign in to comment.