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

Paolo Bonzini pbonzini at redhat.com
Fri Nov 16 10:00:12 UTC 2012


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




More information about the libvir-list mailing list