[libvirt] [PATCH 1/4] domain_conf: Introduce iothreads XML

Eric Blake eblake at redhat.com
Tue Aug 26 22:09:32 UTC 2014


On 08/25/2014 06:38 PM, John Ferlan wrote:
> Introduce XML to allowing adding iothreads to the domain. These can be
> used by virtio-blk-pci devices in order to assign a specific thread to
> handle the workload for the device.  The iothreads are the official
> implementation of the virtio-blk Data Plane that's been in tech preview
> for QEMU.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---

> @@ -4747,6 +4753,12 @@
>        <param name="minInclusive">1</param>
>      </data>
>    </define>
> +  <define name="countIOThreads">
> +    <data type="unsignedInt">
> +      <param name="pattern">[0-9]+</param>
> +      <param name="minInclusive">0</param>
> +    </data>

Isn't minInclusive 0 of an unsignedInt redundant? It only matters for an
integer that must be larger than zero, so you could omit a line.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140826/edd72634/attachment-0001.sig>


More information about the libvir-list mailing list