summaryrefslogtreecommitdiffstats
path: root/wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 02:50:38 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 02:50:38 -0400
commit0054d3acbc3017d2a535239f8153d3c99f7abc18 (patch)
tree670793077dfc7631d8f6c56179c44a1ec1bc91d1 /wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html
parent559415eb28bf9bf3d7525cbc27c2cfbaeffd9820 (diff)
downloadopen-iov-0054d3acbc3017d2a535239f8153d3c99f7abc18.tar.gz
open-iov-0054d3acbc3017d2a535239f8153d3c99f7abc18.zip
docs: add complete SBOM, ignore local deployment resources, remove stale third-party references
Diffstat (limited to 'wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html')
-rw-r--r--wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html b/wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html
index 1e1f677..bbdde77 100644
--- a/wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html
+++ b/wiki/open-iov.org/index.php?title=Mdev-GPU&action=edit.html
@@ -46,7 +46,7 @@
This page will be used to document the '''Mdev-GPU API''' as well as provide an overview of the internals of the Mdev-GPU package.
-Mdev-GPU's source code can be found [https://github.com//Mdev-GPU here].
+Mdev-GPU's source code can be found [ here].
Module docs can be found [ here].&lt;blockquote>An absence of critical technical documentation has historically slowed growth and adoption of developer ecosystems for GPU virtualization.
@@ -57,7 +57,7 @@ Where possible, this documentation will clearly label dates and versions of obse
=== Compilation ===
Compiling Mdev-GPU from source is very simple however it can take a long time to complete (10 minutes for existing sources).
-If you'd like to compile Mdev-GPU yourself you can do so by cloning [https://github.com//Mdev-GPU the repo] and running the following two commands from within the repository directory:
+If you'd like to compile Mdev-GPU yourself you can do so by cloning [ the repo] and running the following two commands from within the repository directory:
&lt;code>curl -sSL &lt;nowiki>https://get.haskellstack.org/&lt;/nowiki> | sh&lt;/code>
@@ -65,13 +65,13 @@ If you'd like to compile Mdev-GPU yourself you can do so by cloning [https://git
These commands will generate all binaries provided by Mdev-GPU under the path &lt;code>~/.local/bin/&lt;/code>.
-If you would prefer not to wait for the program to compile you can find pre-compiled x86_64 binaries under the [https://github.com//Mdev-GPU/releases/tag/0.1.0.0 Releases section of the repository on GitHub].
+If you would prefer not to wait for the program to compile you can find pre-compiled x86_64 binaries under the [ Releases section of the repository on GitHub].
=== Installation ===
-The binaries compiled on your local machine by Stack in the &lt;code>~/.local/bin/&lt;/code> path or downloaded from [https://github.com//Mdev-GPU/releases Releases on GitHub] should be copied to &lt;code>/usr/bin/&lt;/code>. This can be accomplished both via install script (currently testing in ) or via management layer-agnostic package.
+The binaries compiled on your local machine by Stack in the &lt;code>~/.local/bin/&lt;/code> path or downloaded from [ Releases on GitHub] should be copied to &lt;code>/usr/bin/&lt;/code>. This can be accomplished both via install script (currently testing in ) or via management layer-agnostic package.
=== Mdev-GPU Configuration ===
-The Mdev-GPU repository provides Systemd service and example configurations for Mdev-CLI in the [https://github.com//Mdev-GPU/tree/master/etc /etc/ folder]. On installation the directories &amp; files contained in the repository's /etc/ folder should be copied to the absolute path &lt;code>/etc/&lt;/code> on the user's computer.
+The Mdev-GPU repository provides Systemd service and example configurations for Mdev-CLI in the [ /etc/ folder]. On installation the directories &amp; files contained in the repository's /etc/ folder should be copied to the absolute path &lt;code>/etc/&lt;/code> on the user's computer.
==== Systemd ====
GVM/Mdev-GPU exposes several of it's functions as Systemd services.
@@ -81,7 +81,7 @@ As of the 0.1.0.0 release the following Systemd services are available:
* '''mdev-post.service'''
===== mdev-post.service =====
-As the name would suggest '''[https://github.com//Mdev-GPU/blob/master/etc/systemd/system/mdev-post.service mdev-post.service]''' posts the GPU(s) in a state where they are ready to be virtualized. When the service is invoked the mdev-cli util registers Mdev callbacks and supported mediated device (Mdev) types with the Mediated Core according to the user's specified configuration at '''&lt;code>/etc/gvm/mdev-gpu/generate-vgpu-types.yaml&lt;/code>'''. If you'd like to place your configuration file elsewhere and still have your configuration invoked on boot you can edit the systemd service [https://github.com//Mdev-GPU/blob/9993fd0781ddddfcca2cb9bee6455ea2c024cc23/etc/systemd/system/mdev-post.service#L10 ExecStart= line] to specify an alternative path.
+As the name would suggest '''[ mdev-post.service]''' posts the GPU(s) in a state where they are ready to be virtualized. When the service is invoked the mdev-cli util registers Mdev callbacks and supported mediated device (Mdev) types with the Mediated Core according to the user's specified configuration at '''&lt;code>/etc/gvm/mdev-gpu/generate-vgpu-types.yaml&lt;/code>'''. If you'd like to place your configuration file elsewhere and still have your configuration invoked on boot you can edit the systemd service [ ExecStart= line] to specify an alternative path.
==== Mdev-CLI ====
Configuration for Mdev-GPU can be found in the path '''&lt;code>/etc/gvm/mdev-gpu/&lt;/code>'''. This path will by default contain several vendor-specific folders which may include configuration examples for various devices/architectures as well as the file &lt;code>'''generate-vgpu-types.yaml'''&lt;/code> which you can configure to specify your desired Virtual GPU (vGPU) / VFIO-Mdev topologies as they are presented in the sysfsdev mdev_bus path and as seen by tools such as [https://github.com/mdevctl/mdevctl mdevctl]. Once you have configured the available types your liking you can refresh the supported types registered with the [https://open-iov.org/index.php/Virtual_IO_Internals#Mediated_Core Mediated Core] by rebooting your machine or reloading the vendor driver kernel module then restarting '''mdev-post.service''' or by invoking '''mdev-cli'''.