qubes.DetachPciDevice 92 B

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