Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.2 KB

example.md

File metadata and controls

70 lines (45 loc) · 1.2 KB

Pre-requisites

We are currently supporting both NVIDIA MDEV, and AMD GIM VFIO passthrough. For this reason this tutorial covers both senarios.

Installing Nim-Lang

curl https://nim-lang.org/choosenim/init.sh -sSf | sh

Installing LibVFIO

git clone https://git.arccompute.com/Arc-Compute/libvfio.git
cd libvfio
nimble install
mkdir /opt/arc/shells
cp example/* /opt/arc/shells

Deploying LibVFIO

arcd deploy

NVIDIA

Here is the nvidia specific portion of the tutorial.

Pre-requisites

Setup the MDEV Driver + create a vGPU.

Create a VM

arcd create $iso-file 20 --kernel=com.demo-mdev.arc --config=nvidia-mdev.yaml

Install what you need/how you need to for the mdev setup you have.

Run the VM after the install.

arcd start com.demo-mdev.arc --config=nvidia-mdev.yaml

AMD

Here is the AMD specific portion of the tutorial.

Pre-requisites

Setup the GIM Driver + create a vGPU.

Create a VM

arcd create $iso-file 20 --kernel=com.demo-amd.arc --config=gim.yaml

Install what you need/how you need to for the GIM setup you have.

Run the VM after the install.

arcd start com.demo-amd.arc --config=gim.yaml