[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] QEMU file cleanups
From: |
Juan Quintela |
Subject: |
[PATCH 0/9] QEMU file cleanups |
Date: |
Thu, 4 May 2023 13:38:32 +0200 |
Hi
While I am trying to put order in the atomic counters, I made in this series:
- convince and review code to see that everything is uint64_t.
- f->shutdown is not needed. When we shutdown the file we put an
error there if there is none. So remove it.
- Make more clear how we use rate_limit.
Please review.
It is based on my previous series to the list:
Subject: [PATCH 0/2] More migration stats
Based-on: Message-Id: <20230504103357.22130-1-quintela@redhat.com>
Juan Quintela (9):
migration: max_postcopy_bandwidth is a size parameter
migration: qemu_file_total_transferred() function is monotonic
qemu-file: make qemu_file_[sg]et_rate_limit() use an uint64_t
qemu-file: Make rate_limit_used an uint64_t
qemu-file: No need to check for shutdown in qemu_file_rate_limit
qemu-file: remove shutdown member
qemu-file: Make total_transferred an uint64_t
qemu-file: Make ram_control_save_page() use accessors for rate_limit
qemu-file: Account for rate_limit usage on qemu_fflush()
migration/block.c | 13 +++----------
migration/migration.c | 10 +++++-----
migration/options.c | 2 +-
migration/options.h | 2 +-
migration/qemu-file.c | 42 +++++++++++++++++-------------------------
migration/qemu-file.h | 10 +++++-----
migration/savevm.c | 6 ++----
migration/vmstate.c | 2 +-
8 files changed, 35 insertions(+), 52 deletions(-)
--
2.40.0
- [PATCH 0/9] QEMU file cleanups,
Juan Quintela <=
- [PATCH 1/9] migration: max_postcopy_bandwidth is a size parameter, Juan Quintela, 2023/05/04
- [PATCH 2/9] migration: qemu_file_total_transferred() function is monotonic, Juan Quintela, 2023/05/04
- [PATCH 4/9] qemu-file: Make rate_limit_used an uint64_t, Juan Quintela, 2023/05/04
- [PATCH 5/9] qemu-file: No need to check for shutdown in qemu_file_rate_limit, Juan Quintela, 2023/05/04
- [PATCH 6/9] qemu-file: remove shutdown member, Juan Quintela, 2023/05/04