We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f067f22 commit 469ee24Copy full SHA for 469ee24
qubesadmin/devices.py
@@ -92,7 +92,7 @@ def assign(self, assignment: DeviceAssignment) -> None:
92
if assignment.devclass == 'pci' and not assignment.required:
93
raise qubesadmin.exc.QubesValueError(
94
f"PCI devices cannot be assigned as not required.")
95
- if (assignment.devclass not in ('testclass', 'usb', 'block')
+ if (assignment.devclass not in ('testclass', 'usb', 'block', 'mic')
96
and assignment.attach_automatically):
97
98
f"{assignment.devclass} devices cannot be assigned "
0 commit comments