Re: [PATCH v2 04/13] ram.c: Reset result after sending queued data

2023-04-28 Thread Juan Quintela
Lukas Straub wrote: > And take the param->mutex lock for the whole section to ensure > thread-safety. > Now, it is explicitly clear if there is no queued data to send. > Before, this was handled by param->file stream being empty and thus > qemu_put_qemu_file() not sending anything. > > This will b

[PATCH v2 04/13] ram.c: Reset result after sending queued data

2023-04-20 Thread Lukas Straub
And take the param->mutex lock for the whole section to ensure thread-safety. Now, it is explicitly clear if there is no queued data to send. Before, this was handled by param->file stream being empty and thus qemu_put_qemu_file() not sending anything. This will be used in the next commits to move