]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Advertise support for VIR_MIGRATE_CHANGE_PROTECTION
authorJim Fehlig <jfehlig@suse.com>
Wed, 12 Jul 2023 21:15:08 +0000 (15:15 -0600)
committerJim Fehlig <jfehlig@suse.com>
Thu, 13 Jul 2023 14:28:50 +0000 (08:28 -0600)
commitb9eeeebddb236dc8c778fd059073ca1db0ed364b
tree3286a9626eff267d0df396720d81561eac6d6d93
parentf3ed5c27136193c59973d17447356becd1d3eda5
libxl: Advertise support for VIR_MIGRATE_CHANGE_PROTECTION

The libxl driver has basic support for VIR_MIGRATE_CHANGE_PROTECTION
by starting and stopping modify jobs in the begin/confirm and prepare/finish
phases of migration, but it doesn't advertise that support. This can result
in unterminated jobs because the migration logic skips phases of migration
when the VIR_MIGRATE_CHANGE_PROTECTION feature is absent. Ensure jobs are
terminated properly by advertising support for VIR_MIGRATE_CHANGE_PROTECTION.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/libxl/libxl_driver.c
src/libxl/libxl_migration.h