[libvirt] [PATCH 7/7] domain_conf: Add iothreadpin to cputune
Eric Blake
eblake at redhat.com
Mon Sep 15 21:06:51 UTC 2014
On 09/03/2014 10:15 AM, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1101574
>
> Add an option 'iothreadpin' to the <cpuset> to allow for setting the
> CPU affinity for each IOThread.
>
> The iothreadspin will mimic the vcpupin with respect to being able to
> assign each iothread to a specific CPU, although iothreads ids start
> at 1 while vcpu ids start at 0. This matches the iothread naming scheme.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> +++ b/docs/schemas/domaincommon.rng
> @@ -782,6 +782,16 @@
> </attribute>
> </element>
> </optional>
> + <zeroOrMore>
> + <element name="iothreadpin">
> + <attribute name="iothread">
> + <ref name="unsignedInt"/>
> + </attribute>
> + <attribute name="cpuset">
> + <ref name="cpuset"/>
> + </attribute>
> + </element>
> + </zeroOrMore>
> </element>
> </define>
We ought to do a followup patch that adds an <interleave>, so that all
sub-elements of <cputune> can come in any order.
--
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/20140915/b21d44cf/attachment-0001.sig>
More information about the libvir-list
mailing list