]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lib: Introduce virDomainSetIOThreadParams
authorJohn Ferlan <jferlan@redhat.com>
Wed, 3 Oct 2018 21:57:56 +0000 (17:57 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 19 Nov 2018 12:26:40 +0000 (07:26 -0500)
commitae69bda5c2c044b1241e4549ec2896f09bb77328
tree5df1708acab30f4fbc01479a213314d16347b0fb
parent2c4df6c68bce64d5b97f8dc18bb64576746555c1
lib: Introduce virDomainSetIOThreadParams

Create a new API that will allow an adjustment of IOThread
polling parameters for the specified IOThread. These parameters
will not be saved in the guest XML. Currently the only parameters
supported will allow the hypervisor to adjust the parameters used
to limit and alter the scope of the polling interval. The polling
interval allows the IOThread to spend more or less time processing
in the guest.

Based on code originally posted by Pavel Hrdina <phrdina@redhat.com>
to add virDomainAddIOThreadParams and virDomainModIOThreadParams.
Modification of those changes to use virDomainSetIOThreadParams
instead and remove concepts related to saving the data in guest
XML as well as the way to specifically enable the polling parameters.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
include/libvirt/libvirt-domain.h
src/driver-hypervisor.h
src/libvirt-domain.c
src/libvirt_public.syms
src/remote/remote_driver.c
src/remote/remote_protocol.x
src/remote_protocol-structs