core-agent-linux/qubes-rpc/qubes.DetachPciDevice
2013-09-01 01:28:07 +02:00

5 lines
85 B
Bash

#!/bin/sh
read dev
BDF=0000:$dev
echo $BDF > /sys/bus/pci/devices/$BDF/driver/unbind