qubes.DetachPciDevice 85 B

1234
  1. #!/bin/sh
  2. read dev
  3. BDF=0000:$dev
  4. echo $BDF > /sys/bus/pci/devices/$BDF/driver/unbind