migration: Merge ram_counters and ram_atomic_counters
commitabce5fa16d126ed085ccf8a5b3fe61a1efa20994
authorJuan Quintela <quintela@redhat.com>
Wed, 22 Feb 2023 14:56:45 +0000 (22 15:56 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 24 Apr 2023 09:28:56 +0000 (24 11:28 +0200)
tree03e5967a1765f4595d181c3da29b7bc72244c72d
parent8ebb6ecc3798e66a9ba98355983762bedfa1b72d
migration: Merge ram_counters and ram_atomic_counters

Using MgrationStats as type for ram_counters mean that we didn't have
to re-declare each value in another struct. The need of atomic
counters have make us to create MigrationAtomicStats for this atomic
counters.

Create RAMStats type which is a merge of MigrationStats and
MigrationAtomicStats removing unused members.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
---

Fix typos found by David Edmondson
migration/migration.c
migration/multifd.c
migration/ram.c
migration/ram.h