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_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)

Check warning on line 515 in qubes/ext/pci.py

View check run for this annotation

Codecov / codecov/patch

qubes/ext/pci.py#L514-L515

Added lines #L514 - L515 were not covered by tests

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