]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: Drop return code for disgard ram process
authorPeter Xu <peterx@redhat.com>
Tue, 7 Dec 2021 11:50:14 +0000 (19:50 +0800)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Jan 2022 14:38:23 +0000 (15:38 +0100)
commit739fcc1b0e4b04216f971c9fb87fb0e9ec599c34
tree157db13e692337c4fd1d6e74d1f0c9847dac292f
parentf30c2e5ba81b8d388b7beeae84e6db5ea8220924
migration: Drop return code for disgard ram process

It will just never fail.  Drop those return values where they're constantly
zeros.

A tiny touch-up on the tracepoint so trace_ram_postcopy_send_discard_bitmap()
is called after the logic itself (which sounds more reasonable).

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/ram.c
migration/ram.h