[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v3] qemu: Allow the user to specify vendor and product for disk



Il 16/11/2012 08:47, Osier Yang ha scritto:
> +        <element name="vendor">
> +          <data type='string'>
> +            <param name='pattern'>[a-zA-Z0-9]{0,8}</param>
> +          </data>
> +        </element>
> +      </optional>
> +      <optional>
> +        <element name="product">
> +          <data type='string'>
> +            <param name='pattern'>[a-zA-Z0-9]{0,16}</param>
> +          </data>
> +        </element>

The list of registered SCSI vendors alone includes minus, ampersand,
comma and space.

I think it is simplest to just allow all printable characters.

Paolo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]