On Friday, 2021-12-17 at 20:09:12 +01, Philippe Mathieu-Daudé wrote: > On 12/16/21 13:34, David Edmondson wrote: >> ...and use it. >> >> Signed-off-by: David Edmondson <david.edmond...@oracle.com> >> --- >> migration/ram.c | 23 ++++++++++++++--------- >> migration/ram.h | 1 + >> 2 files changed, 15 insertions(+), 9 deletions(-) > >> diff --git a/migration/ram.h b/migration/ram.h >> index c515396a9a..a5b2ffdc18 100644 >> --- a/migration/ram.h >> +++ b/migration/ram.h >> @@ -51,6 +51,7 @@ int xbzrle_cache_resize(uint64_t new_size, Error **errp); >> uint64_t ram_bytes_remaining(void); >> uint64_t ram_bytes_total(void); >> void mig_throttle_counter_reset(void); >> +void ram_transferred_add(uint64_t bytes); > > Why make the method public? It seems an internal operation. Do you > plan to use it elsewhere?
No such plan. Will fix in v2. dme. -- We wanna wait, but here we go again.