[pve-devel] [PATCH docs v5 1/2] qm: resource mapping: add description for `mdev` option

Dominik Csapak d.csapak at proxmox.com
Mon Jan 20 15:52:02 CET 2025


in a new section about additional options

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v4:
* use different asciidoc style to mark section

 qm.adoc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/qm.adoc b/qm.adoc
index 4bb8f2c..6f337fe 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -1944,6 +1944,18 @@ To create mappings `Mapping.Modify` on `/mapping/<type>/<name>` is necessary
 To use these mappings, `Mapping.Use` on `/mapping/<type>/<name>` is necessary
 (in addition to the normal guest privileges to edit the configuration).
 
+.Additional Options
+
+There are additional options when defining a cluster wide resource mapping.
+Currently there are the following options:
+
+* `mdev` (PCI): This marks the PCI device as being capable of providing
+  `mediated devices`. When this is enabled, you can select a type when
+  configuring it on the guest. If multiple PCI devices are selected for the
+  mapping, the mediated device will be created on the first one where there are
+  any available instances of the selected type.
+
+
 Managing Virtual Machines with `qm`
 ------------------------------------
 
-- 
2.39.5





More information about the pve-devel mailing list