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=1178986Might 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@xxxxxxxxxx> Date: Thu Feb 12 13:29:08 2015 +0100 docs: Fix version reference in vcpu/iothread scheduling Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx> 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> --
Attachment:
pgpKjjcvOPE7V.pgp
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list