mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-09 03:36:48 +00:00
libvirt's offline migration fails on some builds with "operation failed: domain is no longer running" (RHEL-156800: Rocky/RHEL 9.8 libvirt 11.10.0-12 has the change that broke it, not the fix, which is upstream in 12.2.0). A shut-off VM could not be migrated at all there. A shut-off VM is only its definition, as the disks are on storage both hosts share, so moveto now moves that itself: - refused first when the VM has snapshots or a saved state, or the destination already has a VM with its UUID or name; - defined on the destination from the source's migratable XML, then undefined on the source; NVRAM and TPM state stay on the source; - after a failure the VM stays defined on one host: the destination definition is removed only while the source still has its own, and a VM another client started on the source meanwhile gets its definition and autostart back there. The destination's qemu migration hook does not run for it. Running and paused VMs still migrate through libvirt. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| libvirt-ssh | ||
| network.py | ||
| nwfilters.py | ||
| rwlock.py | ||
| storage.py | ||
| test_change_network.py | ||
| test_connection.py | ||
| test_console_setters.py | ||
| test_iso_media.py | ||
| test_live_connection.py | ||
| test_migration.py | ||
| test_network_ip.py | ||
| test_persistent_edits.py | ||
| test_read_cache.py | ||
| test_resize_disk.py | ||
| test_rwlock.py | ||
| test_usage.py | ||
| test_util.py | ||
| test_xml_safety.py | ||
| test_xpath_values.py | ||
| util.py | ||
| virtsecrets.py | ||