[libvirt] [PATCH v2 2/3] docs, schema, conf: Add support for setting scheduler parameters of guest threads

Martin Kletzander mkletzan at redhat.com
Thu Feb 12 12:32:56 UTC 2015


On Wed, Feb 11, 2015 at 10:37:46AM -0700, Eric Blake wrote:
>On 02/10/2015 08:35 AM, Martin Kletzander wrote:
>> In order for QEMU vCPU (and other) threads to run with RT scheduler,
>> libvirt needs to take care of that so QEMU doesn't have to run privileged.
>>
>> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1178986
>>
>
>Might be nice to also show a sample XML usage in the commit message.
>

Oh, sorry for that, will do next time!

[...]
>> @@ -652,6 +654,20 @@
>>          <span class="since">Only QEMU driver support since 0.10.0</span>
>>        </dd>
>>
>> +      <dt><code>vcpusched</code> and <code>iothreadsched</code></dt>
>> +      <dd>
>> +        The optional <code>vcpusched</code> elements specifie the scheduler
>> +        (values <code>batch</code>, <code>idle</code>, <code>fifo</code>,
>> +        <code>rr</code>) for particular vCPU/IOThread threads (based on
>> +        <code>vcpus</code> and <code>iothreads</code>, leaving out
>> +        <code>vcpus</code>/<code>iothreads</code> sets the default).
>> +        For real-time schedulers (<code>fifo</code>, <code>rr</code>),
>> +        priority must be specified as well (and is ignored for
>> +        non-real-time ones). The value range for the priority depends
>> +        on the host kernel (usually 1-99).
>> +        <span class="since">Since 1.2.12</span>
>
>1.2.13, actually.
>

Fixed as a trivial with this commit:

commit a0638ff21972fdbfdd11e56c271e85480aee7620
Author: Martin Kletzander <mkletzan at redhat.com>
Date:   Thu Feb 12 13:29:08 2015 +0100

    docs: Fix version reference in vcpu/iothread scheduling

    Signed-off-by: Martin Kletzander <mkletzan at redhat.com>

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index fcf5984..873a1c7 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -664,7 +664,7 @@
         real-time schedulers (<code>fifo</code>, <code>rr</code>), priority must
         be specified as well (and is ignored for non-real-time ones). The value
         range for the priority depends on the host kernel (usually 1-99).
-        <span class="since">Since 1.2.12</span>
+        <span class="since">Since 1.2.13</span>
       </dd>

     </dl>
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150212/7e6130be/attachment-0001.sig>


More information about the libvir-list mailing list