This website requires JavaScript.
Explore
Help
Sign In
Qubes
/
core-agent-linux
Watch
1
Star
0
Fork
0
You've already forked core-agent-linux
Code
Issues
Pull Requests
Releases
Wiki
Activity
b804cfb270
core-agent-linux
/
qubes-rpc
/
qubes.DetachPciDevice
5 lines
92 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add qubes.DetachPciDevice for live PCI detach (#708)
2013-09-01 01:28:07 +02:00
#!/bin/sh
qubes-rpc: fix issues found by shellcheck Most of them are missing quotes, `` -> $(), and -o/-a usage in conditions. Also add few directives disabling checks where were too verbose.
2017-09-30 04:45:31 +02:00
read -r dev
Add qubes.DetachPciDevice for live PCI detach (#708)
2013-09-01 01:28:07 +02:00
BDF=0000:$dev
qubes-rpc: fix issues found by shellcheck Most of them are missing quotes, `` -> $(), and -o/-a usage in conditions. Also add few directives disabling checks where were too verbose.
2017-09-30 04:45:31 +02:00
echo "$BDF" > "/sys/bus/pci/devices/$BDF/driver/unbind"
Reference in New Issue
Copy Permalink