[pve-devel] [PATCH-SERIES 0/21] remote migration

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 9 18:56:35 CET 2022


On 09.02.22 14:07, Fabian Grünbichler wrote:
> this series adds remote migration for VMs (and if the last pve-container
> patch is applied, CTs ;)).
> 
> both live and offline migration of VMs including NBD and storage-migrated disks
> should work, containers don't have any live migration so both offline
> and restart mode work identical except for the restart part.
> 

applied all but those marked explicit below.

> pve-common:
>   add 'map_id' helper for ID maps
> 
> pve-container:
>   fix #1532: add target-storage support to migration
>   config: add strict parser
>   migration: add remote migration

skipped the POC above for now, had not really time to check it out closely but
wanted to already reduce the rats tail of patches we need to pull along, so
trusting that we do not need to break much now anymore :-)

> 
> qemu-server:
>   move map_storage to PVE::JSONSchema::map_id
>   schema: use pve-bridge-id
>   parse_config: optional strict mode
>   update_vm: allow simultaneous setting of boot-order and dev
>   nbd alloc helper: allow passing in explicit format
>   migrate: move tunnel-helpers to pve-guest-common
>   mtunnel: add API endpoints

skipped the four below for now, need to take a bit closer look and
some testing.

>   migrate: refactor remote VM/tunnel start
>   migrate: add remote migration handling
>   api: add remote migrate endpoint
>   qm: add remote-migrate command
> 
> pve-storage:
>   storage_migrate_snapshot: skip for btrfs without snapshots
>   storage_migrate: pull out import/export_prepare
>   add volume_import/export_start helpers
> 
> pve-guest-common:
>   migrate: add get_bwlimit helper
>   add tunnel helper module
>   add storage tunnel module

many thanks!





More information about the pve-devel mailing list