]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow virDomainBlockJobSetSpeed during migration
authorJiri Denemark <jdenemar@redhat.com>
Fri, 24 Jan 2025 12:26:39 +0000 (13:26 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 27 Jan 2025 15:32:57 +0000 (16:32 +0100)
commit8b1578ab4b64890579bdec3ab84b52beb9905ab0
tree0959fbf7426241dcfa4a2b406a8321a869a3fde4
parentd9fca42e404eeade23da1d0c51c3aa6179b857c4
qemu: Allow virDomainBlockJobSetSpeed during migration

When a migration with non-shared storage is started with
VIR_MIGRATE_PARAM_BANDWIDTH set, it will be applied to both memory
migration and each block job started for storage migration. Once the
migration is running virDomainMigrateSetMaxSpeed may be used to change
the bandwidth used by memory migration, but there was no way of changing
storage migration speed. Let's allow virDomainBlockJobSetSpeed during
migration to enable the missing functionality.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/virdomainjob.h
src/qemu/qemu_driver.c