-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce96314
commit 09b5c5c
Showing
10 changed files
with
381 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,45 @@ layout: default | |
title: Part 1 - Script Installation | ||
parent: Single GPU Passthrough | ||
nav_order: 1 | ||
--- | ||
--- | ||
|
||
# Installation of Scripts | ||
#### Script Installation thanks to RisingPrism! | ||
|
||
{: .important } | ||
If the <a href="">RisingPrism</a> scripts do not work, use the <a href="">akshaycodes</a> scripts instead. | ||
|
||
We'll start by doing a ``git clone`` command to fetch the scripts. | ||
|
||
``git clone https://gitlab.com/risingprismtv/single-gpu-passthrough.git`` | ||
|
||
In the newly created single-gpu-passthrough folder, run the installation as root: | ||
|
||
``sudo chmod +x install_hooks.sh`` | ||
|
||
``sudo ./install_hooks.sh`` | ||
|
||
Verify that the files are installed correctly. You should have files in the following location: | ||
|
||
``` | ||
/etc/systemd/system/[email protected] | ||
/bin/vfio-startup.sh | ||
/bin/vfio-teardown.sh | ||
/etc/libvirt/hooks/qemu | ||
``` | ||
|
||
Because we previously set logs to output, you can find them here: | ||
|
||
``` | ||
DarwinKVM.log => /var/log/libvirt/qemu | ||
custom_hooks.log => /var/log/libvirt/ | ||
libvirtd.log => /var/log/libvirt/ | ||
``` | ||
|
||
But if the RisingPrism scripts aren't working well for you and you end up using akshaycodes, you can find the logs at: | ||
|
||
``` | ||
custom_hooks.log => /var/tmp/vfio-script.log | ||
``` | ||
|
||
## You can now continue to the next <a href="02-HookModification.html">page</a>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.