I think it is good practice to specify the default value:

> +my %scsiblock_fmt = (
> +    scsiblock => {
> +     type => 'boolean',
> +     description => "whether to use scsi-block for full passthrough of host 
> block
> device\n\nWARNING: can lead to I/O errors in combination with low memory or
> high memory fragmentation on host",
> +     optional => 1,

default => 0,

> +    },
> +);
> +

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to