diff options
author | Juan Quintela <quintela@redhat.com> | 2023-10-19 10:52:59 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-10-30 17:41:55 +0100 |
commit | 7091dabeb41806132428ffe96164c8425854ea27 (patch) | |
tree | b4f990876715beb3a6fabf887f3d4290d3f413ff /migration/ram.h | |
parent | 413d64fedcc8e7f83b19ab4b79e3fd1f871f3564 (diff) |
migration: Rename ram_handle_compressed() to ram_handle_zero()
Now that we know it only handles zero, we can remove the ch parameter.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231019085259.13307-3-quintela@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r-- | migration/ram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h index 145c915ca7..3f724b2f02 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -60,7 +60,7 @@ int ram_discard_range(const char *block_name, uint64_t start, size_t length); int ram_postcopy_incoming_init(MigrationIncomingState *mis); int ram_load_postcopy(QEMUFile *f, int channel); -void ram_handle_compressed(void *host, uint8_t ch, uint64_t size); +void ram_handle_zero(void *host, uint64_t size); void ram_transferred_add(uint64_t bytes); void ram_release_page(const char *rbname, uint64_t offset); |