]> git.proxmox.com Git - mirror_qemu.git/blobdiff - migration-rdma.c
vl.c: extend -m option to support options for memory hotplug
[mirror_qemu.git] / migration-rdma.c
index f94f3b4e3a21c1d4016bd997bbad122f6b4ad20c..f60749b32101df2bd5945ca82e075ad01c9ddbb3 100644 (file)
@@ -949,6 +949,7 @@ route:
         ERROR(errp, "result not equal to event_addr_resolved %s",
                 rdma_event_str(cm_event->event));
         perror("rdma_resolve_addr");
+        rdma_ack_cm_event(cm_event);
         ret = -EINVAL;
         goto err_resolve_get_addr;
     }
@@ -3412,7 +3413,7 @@ void rdma_start_outgoing_migration(void *opaque,
     }
 
     ret = qemu_rdma_source_init(rdma, &local_err,
-        s->enabled_capabilities[MIGRATION_CAPABILITY_X_RDMA_PIN_ALL]);
+        s->enabled_capabilities[MIGRATION_CAPABILITY_RDMA_PIN_ALL]);
 
     if (ret) {
         goto err;