mirror of
https://git.proxmox.com/git/pve-guest-common
synced 2025-08-15 17:30:45 +00:00
minor style and doc fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
94b4883904
commit
831a2fffb2
@ -52,14 +52,14 @@ my $PCI_RE = "[a-f0-9]{4,}:[a-f0-9]{2}:[a-f0-9]{2}(?:\.[a-f0-9])?";
|
|||||||
my $map_fmt = {
|
my $map_fmt = {
|
||||||
node => get_standard_option('pve-node'),
|
node => get_standard_option('pve-node'),
|
||||||
id =>{
|
id =>{
|
||||||
description => "The vendor and device ID that is expected. Used for".
|
description => "The vendor and device ID that is expected. Used for"
|
||||||
" detecting hardware changes",
|
." detecting hardware changes",
|
||||||
type => 'string',
|
type => 'string',
|
||||||
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
|
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
|
||||||
},
|
},
|
||||||
'subsystem-id' => {
|
'subsystem-id' => {
|
||||||
description => "The subsystem vendor and device ID that is expected. Used".
|
description => "The subsystem vendor and device ID that is expected. Used"
|
||||||
" for detecting hardware changes.",
|
." for detecting hardware changes.",
|
||||||
type => 'string',
|
type => 'string',
|
||||||
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
|
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
|
||||||
optional => 1,
|
optional => 1,
|
||||||
@ -74,8 +74,8 @@ my $map_fmt = {
|
|||||||
},
|
},
|
||||||
iommugroup => {
|
iommugroup => {
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
description => "The IOMMU group in which the device is to be expected in.".
|
description => "The IOMMU group in which the device is to be expected in."
|
||||||
"Used for detecting hardware changes.",
|
." Used for detecting hardware changes.",
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
description => {
|
description => {
|
||||||
|
@ -50,8 +50,8 @@ sub type {
|
|||||||
my $map_fmt = {
|
my $map_fmt = {
|
||||||
node => get_standard_option('pve-node'),
|
node => get_standard_option('pve-node'),
|
||||||
'id' => {
|
'id' => {
|
||||||
description => "The vendor and device ID that is expected. If a USB path".
|
description => "The vendor and device ID that is expected. If a USB path"
|
||||||
" is given, it is only used for detecting hardware changes",
|
." is given, it is only used for detecting hardware changes",
|
||||||
type => 'string',
|
type => 'string',
|
||||||
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
|
pattern => qr/^[0-9A-Fa-f]{4}:[0-9A-Fa-f]{4}$/,
|
||||||
},
|
},
|
||||||
@ -73,11 +73,11 @@ my $defaultData = {
|
|||||||
propertyList => {
|
propertyList => {
|
||||||
id => {
|
id => {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
description => "The ID of the logical PCI mapping.",
|
description => "The ID of the logical USB mapping.",
|
||||||
format => 'pve-configid',
|
format => 'pve-configid',
|
||||||
},
|
},
|
||||||
description => {
|
description => {
|
||||||
description => "Description of the logical PCI device.",
|
description => "Description of the logical USB device.",
|
||||||
type => 'string',
|
type => 'string',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
maxLength => 4096,
|
maxLength => 4096,
|
||||||
|
Loading…
Reference in New Issue
Block a user