Skip to content

Instantly share code, notes, and snippets.

@abeluck
abeluck / pci-attach.sh
Created December 7, 2012 15:05
Qubes PCI Scripts
#/bin/sh
########
# Attach pci device to vm
#
# usage: pci-attach <domain> <pci-device>
#
# Will attempt to partially match device names, e.g., "1a" -> "0000:00:1a.0"
#
domain=$1