From ba37152c65d06e24b3304b930829dcdc4422d88c Mon Sep 17 00:00:00 2001 From: Sarvottam Kumar Date: Mon, 18 May 2020 23:54:37 +0530 Subject: [PATCH] Update usb-devices.md --- user/common-tasks/usb-devices.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/user/common-tasks/usb-devices.md b/user/common-tasks/usb-devices.md index 8882f2e2..cba97e37 100644 --- a/user/common-tasks/usb-devices.md +++ b/user/common-tasks/usb-devices.md @@ -143,10 +143,11 @@ This should output something like: ../../../devices/pci-0/pci0000:00/0000:00:1a.0/usb3 +Now you see the path and the text between `/pci0000:00/0000:` and `/usb3` i.e. `00:1a.0` is the BDF address. Strip the address and pass it to the [`qvm-pci` tool][qvm-pci] to attach the controller to the targetVM. -Now you see the BDF address in the path (right before final `usb3`). -Strip the leading `0000:` and pass the rest to the [`qvm-pci` tool][qvm-pci] to attach the controller to the targetVM. +For example, On R 4.0 the command would look something like +`qvm-pci attach --persistent personal dom0:00:1a.0` [device handling in qubes]: /doc/device-handling/