]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce VIR_JOB_MIGRATION_SAFE job type
authorJiri Denemark <jdenemar@redhat.com>
Tue, 24 May 2022 14:17:23 +0000 (16:17 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 7 Jun 2022 15:40:21 +0000 (17:40 +0200)
commitb01426a2385bb3c43b729c1efb6e1508207162c8
treea3069d303cc5ecd4b14e4f62e8322848bdd2e06d
parent5915f93ed06d67c344c21cfcefa46c89b31e579b
Introduce VIR_JOB_MIGRATION_SAFE job type

This is a special job for operations that need to modify domain state
during an active migration. The modification must not affect any state
that could conflict with the migration code. This is useful mainly for
event handlers that need to be processed during migration and which
could otherwise time out on acquiring a normal MODIFY job.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/hypervisor/domain_job.c
src/hypervisor/domain_job.h
src/qemu/qemu_migration.c
src/qemu/qemu_process.c