[pdm-devel] [PATCH datacenter-manager 0/2] fix PDM migrate endpoints

Hannes Laimer h.laimer at proxmox.com
Tue Nov 18 13:21:03 CET 2025


dbb8524 tried to directly reuse the PVE api types for migration, this
however won't really work how its done there, this reverts the commit.
And instead of directly reusing the PVE api type we keep the endpoint
args as-is and just change the mapping field to accept a Vec instead of
a String. The problem was the `target-endpoint` the PVE api type needs,
this differs from what the PDM endpoint wants. More details on the
commits.

Hannes Laimer (2):
  Revert "server: use types indead of string for migration parameters"
  api: migrate: use arrays for storage and bridge mappings

 lib/pdm-client/src/lib.rs  |  31 ++++----
 server/src/api/pve/lxc.rs  | 148 +++++++++++++++++++++++++++++-------
 server/src/api/pve/qemu.rs | 150 ++++++++++++++++++++++++++++++-------
 3 files changed, 255 insertions(+), 74 deletions(-)

-- 
2.47.3





More information about the pdm-devel mailing list