[PULL 09/10] migration: disallow change capabilities in COLO state

2023-05-10 Thread Juan Quintela
From: Vladimir Sementsov-Ogievskiy COLO is not listed as running state in migrate_is_running(), so, it's theoretically possible to disable colo capability in COLO state and the unexpected error in migration_iteration_finish() is reachable. Let's disallow that in qmp_migrate_set_capabilities. Tha

[PULL 09/10] migration: disallow change capabilities in COLO state

2023-05-09 Thread Juan Quintela
From: Vladimir Sementsov-Ogievskiy COLO is not listed as running state in migrate_is_running(), so, it's theoretically possible to disable colo capability in COLO state and the unexpected error in migration_iteration_finish() is reachable. Let's disallow that in qmp_migrate_set_capabilities. Tha