]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
ram compress: Assert that the file buffer matches the result
authorLukas Straub <lukasstraub2@web.de>
Thu, 20 Apr 2023 09:48:31 +0000 (11:48 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 8 May 2023 13:25:26 +0000 (15:25 +0200)
commit4024cc8506139a8f04f3f99ba478880410af10f5
treefa93c6e178d946193a406c37d522aefbe4141a86
parentb1f17720c117d4811b5571d87dcbc5b99d79266b
ram compress: Assert that the file buffer matches the result

Before this series, "nothing to send" was handled by the file buffer
being empty. Now it is tracked via param->result.

Assert that the file buffer state matches the result.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/qemu-file.c
migration/qemu-file.h
migration/ram-compress.c
migration/ram.c