]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuDomainSetIOThreadParams
authorJohn Ferlan <jferlan@redhat.com>
Wed, 3 Oct 2018 22:32:23 +0000 (18:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 19 Nov 2018 12:26:40 +0000 (07:26 -0500)
commit4a5b7b786806b1d51a71fc8fca19cb6199eeea67
tree19bd9597fa68782b25c0dd9e8916492fc5f5b49e
parent9aec374b01dd166b465bec6ffa0fdc03827cd16c
qemu: Introduce qemuDomainSetIOThreadParams

https://bugzilla.redhat.com/show_bug.cgi?id=1545732

Implement the QEMU driver mechanism in order to set the polling
parameters for an IOThread within the bounds specified by the
QEMU qapi parameter passing.

Based heavily on patches originally posted by Pavel Hrdina
<phrdina@redhat.com>, but modified to only handle alterations
for a running guest. For the most part the API names changed,
the typed parameters removed the poll enabled value, and the
capabilities check was moved to just before the live attempt
to set. Since changes are only supported for a running guest,
no guest XML alterations were kept.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c