diff --git a/qubes/ext/pci.py b/qubes/ext/pci.py index 934d0fabe..c3938c7e4 100644 --- a/qubes/ext/pci.py +++ b/qubes/ext/pci.py @@ -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):