diff options
author | Juan Quintela <quintela@redhat.com> | 2023-10-19 13:07:20 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-10-30 17:41:55 +0100 |
commit | fb36fb275f455642599ac882fd5a96a8b00b062e (patch) | |
tree | b4b5d9bfd54610898a7dec78ea1618850b23e714 /migration/ram.h | |
parent | 250b1d7ef62b26fde8dc0f8dacad406807d82f1a (diff) |
migration: Create compress_update_rates()
So we can move more compression_counters stuff to ram-compress.c.
Create compression_counters struct to add the stuff that was on
MigrationState.
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231019110724.15324-8-quintela@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r-- | migration/ram.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h index 3f724b2f02..9f3ad1ee81 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -34,7 +34,6 @@ #include "io/channel.h" extern XBZRLECacheStats xbzrle_counters; -extern CompressionStats compression_counters; /* Should be holding either ram_list.mutex, or the RCU lock. */ #define RAMBLOCK_FOREACH_NOT_IGNORED(block) \ |