Skip to content

Commit a6d25ab

Browse files
committed
q-dev: do not suggest attaching pci devices
1 parent 8faaad0 commit a6d25ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qubesadmin/tools/qvm_device.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def assign_device(args):
333333
f"{DEVICE_DENY_LIST}\n Auto-attach will work, "
334334
f"but make sure that the assignment is correct."
335335
)
336-
if vm.is_running() and not args.quiet:
336+
if vm.is_running() and not args.quiet and device.devclass != "pci":
337337
_print_attach_hint(assignment, vm)
338338

339339

0 commit comments

Comments
 (0)