docs: update gofurther/vfio-mdev

This commit is contained in:
lukas 2025-03-31 16:08:47 +00:00
parent 7e563b0036
commit 53e6dbaa7a

View File

@ -2,7 +2,7 @@
title: Virtual Function I/O Mediated devices (vfio-mdev)
description: Create and Configure Virtual Function I/O Mediated devices (vfio-mdev)
published: true
date: 2025-03-31T15:25:58.233Z
date: 2025-03-31T16:08:44.405Z
tags:
editor: markdown
dateCreated: 2022-07-21T21:10:41.046Z
@ -138,7 +138,10 @@ $ 7686131b-b229-4768-a02c-35d1dbed7c66 0000:00:02.0 i915-GVTg_V5_4 auto (active)
### Add a display device
#### Spice
> It will only work locally
{.is-info}
- Add a spice display device
```
<device>
@ -151,6 +154,24 @@ $ 7686131b-b229-4768-a02c-35d1dbed7c66 0000:00:02.0 i915-GVTg_V5_4 auto (active)
</device>
```
- Modify the vGPU setting to allow for a display and for RAMFB
```
<domain type="kvm">
[...]
<device>
[...]
<hostdev mode="subsystem" type="mdev" managed="no" model="vfio-pci" display="on" ramfb="on">
<source>
<address uuid="7686131b-b229-4768-a02c-35d1dbed7c66"/>
</source>
</hostdev>
[...]
</device>
[...]
</domain>
```
> RAMFB is set to on, which activates Drect Memory Access Buffers (DMA-BUFs), making the output of a virtual monitor available before the guest operating system takes over
{.is-info}