diff options
author | Nao Pross <naopross@thearcway.org> | 2016-12-31 01:22:49 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2016-12-31 01:22:49 +0100 |
commit | 0f1ff9fa2e101be45b55303e21e3ace65b0a48c2 (patch) | |
tree | bd513996463fee14c8e0264153ebcc3beb75f09e /scripts/vfio-pcie-bind.service | |
download | vfio-build-0f1ff9fa2e101be45b55303e21e3ace65b0a48c2.tar.gz vfio-build-0f1ff9fa2e101be45b55303e21e3ace65b0a48c2.zip |
first commit
Diffstat (limited to '')
-rw-r--r-- | scripts/vfio-pcie-bind.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/vfio-pcie-bind.service b/scripts/vfio-pcie-bind.service new file mode 100644 index 0000000..f27dda6 --- /dev/null +++ b/scripts/vfio-pcie-bind.service @@ -0,0 +1,10 @@ +[Unit] +Description=Bind PCIe devices to the virtio driver on boot + +[Serivce] +Type=oneshot +ExecStart=/usr/local/bin/vfio-bind 0000:02:00.0 0000:02:00.1 0000:04:00.00 + +[Install] +WantedBy=multi-user.target +Before=libvirt-guests.service |