Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qubes/ext/pci.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@ def on_device_pre_detached_pci(self, vm, event, port):
def on_domain_pre_start(self, vm, _event, **_kwargs):
# Bind pci devices to pciback driver
for assignment in vm.devices["pci"].get_assigned_devices():
device = _cache_get(assignment.backend_domain, assignment.port_id)
self.bind_pci_to_pciback(vm.app, device)
for device in assignment.devices:
self.bind_pci_to_pciback(vm.app, device)

@staticmethod
def bind_pci_to_pciback(app, device):
Expand Down