qemu-server/test
Fiona Ebner 5cbf4d727d close #2792: allow online migration with replicated snapshots
Since commit 9b6efe43 ("migrate: add live-migration of replicated
disks") live-migration with replicated volumes is possible. When
handling the replication, it is checked that all local volumes
previously detected as replicatable are actually replicated. So the
check if migration with snapshots is possible can just allow volumes
that are detected as replicatable.

Note that VM state files are also replicated.

If there is an invalid configuration with a non-replicatable volume or
state file and replication is enabled, then replication will fail, and
thus migration will fail early.

Trying to live-migrate to a non-replication target (needs --force)
will still fail if there are snapshots, because they are (correctly)
detected as non-replicated.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-01-27 09:53:28 +01:00
..
cfg2cmd ovmf cmd assembly: reorder arguments 2022-12-12 11:41:50 +01:00
MigrationTest migration: nbd export: switch away from deprecated QMP command 2023-01-13 14:04:39 +01:00
ovf_manifests test: add test for OVF with missing default rasd namespace 2020-04-27 13:09:51 +02:00
restore-config-expected test: add tests for restoring config 2021-04-18 18:10:28 +02:00
restore-config-input test: add tests for restoring config 2021-04-18 18:10:28 +02:00
snapshot-expected snapshot: implement __snapshot_activate_storages 2022-02-08 10:43:03 +01:00
snapshot-input snapshot: implement __snapshot_activate_storages 2022-02-08 10:43:03 +01:00
Makefile test: add tests for restoring config 2021-04-18 18:10:28 +02:00
run_config2command_tests.pl tests: preset RBD fsid to avoid unavailable rados command 2022-04-28 18:20:52 +02:00
run_ovf_tests.pl test: add test for OVF with missing default rasd namespace 2020-04-27 13:09:51 +02:00
run_pci_addr_checks.pl move qemu-configs to own directory 2019-09-24 18:59:35 +02:00
run_qemu_img_convert_tests.pl tests: preset RBD fsid to avoid unavailable rados command 2022-04-28 18:20:52 +02:00
run_qemu_migrate_tests.pl close #2792: allow online migration with replicated snapshots 2023-01-27 09:53:28 +01:00
run_qemu_restore_config_tests.pl test: unbreak restore_config_test 2021-06-23 12:27:54 +02:00
run_snapshot_tests.pl tests: exit with -1 in case of failures 2017-05-17 13:58:18 +02:00
snapshot-test.pm tree-wide: switch to official spelling of QEMU in descriptions/messages 2022-12-20 10:26:41 +01:00
test_get_replicatable_volumes.pl grammar fix: s/does not exists/does not exist/g 2019-12-13 12:20:56 +01:00
test.vmdk fix #2395: refactor qemu_img_convert to accept files as source 2019-10-17 13:57:21 +02:00