[pve-devel] [PATCH guest-common v2 1/5] mapping: pci: fix missing description/default for mdev

Dominik Csapak d.csapak at proxmox.com
Wed Apr 10 13:03:40 CEST 2024


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/PVE/Mapping/PCI.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/Mapping/PCI.pm b/src/PVE/Mapping/PCI.pm
index 19ace98..725e106 100644
--- a/src/PVE/Mapping/PCI.pm
+++ b/src/PVE/Mapping/PCI.pm
@@ -100,8 +100,10 @@ my $defaultData = {
 	    maxLength => 4096,
 	},
 	mdev => {
+	    description => "Marks the device(s) as being capable of providing mediated devices.",
 	    type => 'boolean',
 	    optional => 1,
+	    default => 0,
 	},
 	map => {
 	    type => 'array',
-- 
2.39.2





More information about the pve-devel mailing list