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

Daniel Kral d.kral at proxmox.com
Mon Dec 15 16:52:20 CET 2025


Signed-off-by: Daniel Kral <d.kral at proxmox.com>
---
Needs a version bump for pve-ha-manager.

 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 190878de..5c4f6eb3 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