Re: [PATCH 1/3] migration: Merge ram_counters and ram_atomic_counters

2023-03-02 Thread David Edmondson
On Wednesday, 2023-03-01 at 13:40:24 +01, Juan Quintela wrote: > 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

[PATCH 1/3] migration: Merge ram_counters and ram_atomic_counters

2023-03-01 Thread Juan Quintela
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