]> git.proxmox.com Git - qemu-server.git/commit
api: migrate preconditions: use new check_local_resources info
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 16 Jun 2023 13:05:25 +0000 (15:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 05:21:49 +0000 (07:21 +0200)
commitbc1a58607c5d8f709d05d1e3f42e7ddf248deea0
tree4ac253f0468781a01d32f275a91c60ef692fda14
parenta52eb3c4e9ae4a74b28cf64945fd5298f62f837d
api: migrate preconditions: use new check_local_resources info

for offline migration, limit the allowed nodes to the ones where the
mapped resources are available

this adds new info to the api call namely the 'mapped-resources' list,
as well as the 'unavailable-resources' info in the 'not_allowed_nodes'
object

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-By:  Markus Frank <m.frank@proxmox.com>
PVE/API2/Qemu.pm