Commit fb3409de authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Juan Quintela
Browse files

Unlock ramlist lock also in error case

Signed-off-by: default avatarPaolo Bonzini <>
Signed-off-by: default avatarJuan Quintela <>
Reviewed-by: default avatarReviewed-by: Eric Blake <>
parent 47f4dac3
......@@ -642,12 +642,13 @@ static int ram_save_iterate(QEMUFile *f, void *opaque)
if (ret < 0) {
bytes_transferred += total_sent;
return ret;
qemu_put_be64(f, RAM_SAVE_FLAG_EOS);
total_sent += 8;
bytes_transferred += total_sent;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment