[pve-devel] [PATCH qemu-server v2 1/1] api: migration preconditions: add node affinity as blocking cause

Daniel Kral d.kral at proxmox.com
Tue Jan 20 16:27:45 CET 2026


Signed-off-by: Daniel Kral <d.kral at proxmox.com>
Reviewed-by: Fiona Ebner <f.ebner at proxmox.com>
---
changes v1 -> v2: none

 src/PVE/API2/Qemu.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/Qemu.pm b/src/PVE/API2/Qemu.pm
index 3ab0afcf..8cf19764 100644
--- a/src/PVE/API2/Qemu.pm
+++ b/src/PVE/API2/Qemu.pm
@@ -5196,7 +5196,7 @@ __PACKAGE__->register_method({
                                     type => 'string',
                                     description => "The reason why the HA"
                                         . " resource is blocking the migration.",
-                                    enum => ['resource-affinity'],
+                                    enum => ['node-affinity', 'resource-affinity'],
                                 },
                             },
                         },
-- 
2.47.3





More information about the pve-devel mailing list