On Tue, Oct 24, 2023 at 05:40:09PM +0200, Thomas Huth wrote:
> > @@ -3240,9 +3242,10 @@ static int ram_save_complete(QEMUFile *f, void 
> > *opaque)
> >           ram_flush_compressed_data(rs);
> > -        rdma_reg_ret = rdma_registration_stop(f, RAM_CONTROL_FINISH);
> > -        if (rdma_reg_ret < 0) {
> > +        ret = rdma_registration_stop(f, RAM_CONTROL_FINISH);
> > +        if (ret < 0) {
> >               qemu_file_set_error(f, rdma_reg_ret);
> 
> I think you have to replace rdma_reg_ret here with ret again?

Yeah.. v2 was sent already, sorry for the noise.

-- 
Peter Xu


Reply via email to