docs: update gofurther/vfio-mdev

This commit is contained in:
lukas 2025-06-06 18:26:19 +00:00
parent e7462a7b73
commit 9ea460f683

View File

@ -2,7 +2,7 @@
title: Virtual Function I/O Mediated devices (vfio-mdev) title: Virtual Function I/O Mediated devices (vfio-mdev)
description: Create and Configure Virtual Function I/O Mediated devices (vfio-mdev) description: Create and Configure Virtual Function I/O Mediated devices (vfio-mdev)
published: true published: true
date: 2025-04-04T11:33:57.079Z date: 2025-06-06T18:26:17.457Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2022-07-21T21:10:41.046Z dateCreated: 2022-07-21T21:10:41.046Z
@ -136,17 +136,17 @@ $ mdevctl list --defined
<device> <device>
[...] [...]
<graphics type="spice"> <graphics type="spice">
<listen type="none"/> <listen type="none"/>
<gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:00:02.0-render"/> <gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:00:02.0-render"/>
</graphics> </graphics>
[...] [...]
</device> </device>
``` ```
> When associated with OpenGL, Spice will only work locally > When associated with OpenGL, Spice will only allow local connection
{.is-info} {.is-info}
- Modify the vGPU setting to set display and RAMFB to *on* - Modify the vGPU setting to set display and RAMFB to *on*. Also, it is [necessary](https://wiki.archlinux.org/title/Intel_GVT-g#Using_DMA-BUF_with_UEFI/OVMF) to feed it a rom.
``` ```
<domain type="kvm"> <domain type="kvm">
@ -154,7 +154,8 @@ $ mdevctl list --defined
<device> <device>
[...] [...]
<hostdev mode="subsystem" type="mdev" managed="no" model="vfio-pci" display="on" ramfb="on"> <hostdev mode="subsystem" type="mdev" managed="no" model="vfio-pci" display="on" ramfb="on">
<source> <rom bar="on" file="/var/lib/libvirt/isos/vbios_gvt_uefi.rom"/>
<source>
<address uuid="7686131b-b229-4768-a02c-35d1dbed7c66"/> <address uuid="7686131b-b229-4768-a02c-35d1dbed7c66"/>
</source> </source>
</hostdev> </hostdev>