diff --git a/qubes/api/admin.py b/qubes/api/admin.py index 5862ec06d..bde2c459e 100644 --- a/qubes/api/admin.py +++ b/qubes/api/admin.py @@ -1335,6 +1335,8 @@ def load_device_info(self, devclass) -> VirtualDevice: _dev.backend_domain].devices[devclass][_dev.port_id] if isinstance(dev, UnknownDevice): return _dev + if _dev.device_id != '*' and _dev.device_id != dev.device_id: + return _dev return dev except KeyError: return _dev