]> Git Repo - qemu.git/blobdiff - migration-rdma.c
qapi event: convert BLOCK_IMAGE_CORRUPTED
[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;
This page took 0.023069 seconds and 4 git commands to generate.