Skip to content

Commit

Permalink
q-dev: do not suggest attaching pci devices
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 21, 2024
1 parent 8faaad0 commit a6d25ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesadmin/tools/qvm_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def assign_device(args):
f"{DEVICE_DENY_LIST}\n Auto-attach will work, "
f"but make sure that the assignment is correct."
)
if vm.is_running() and not args.quiet:
if vm.is_running() and not args.quiet and device.devclass != "pci":
_print_attach_hint(assignment, vm)


Expand Down

0 comments on commit a6d25ab

Please sign in to comment.