QEMU file cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | migration: max_postcopy_bandwidth is a size parametermigration/ migration/ migration/ | +4 | 1 reply | |
| 2/9 | migration: qemu_file_total_transferred() function is monotonicmigration/ | +1 | 1 reply | |
| 3/9 | qemu-file: make qemu_file_[sg]et_rate_limit() use an uint64_tmigration/ migration/ migration/ | +9 | 2 replies | |
| 4/9 | qemu-file: Make rate_limit_used an uint64_tmigration/ migration/ | +3 | 1 reply | |
| 5/9 | qemu-file: No need to check for shutdown in qemu_file_rate_limitmigration/ | +0 | 2 replies | |
| 6/9 | qemu-file: remove shutdown membermigration/ | +3 | 2 replies | |
| 7/9 | qemu-file: Make total_transferred an uint64_tmigration/ migration/ migration/ +2 more | +11 | 1 reply | |
| 8/9 | qemu-file: Make ram_control_save_page() use accessors for rate_limitmigration/ | +1 | 2 replies | |
| 9/9 | qemu-file: Account for rate_limit usage on qemu_fflush()migration/ | +3 | 6 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Daniel P. Berrangé |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | R-b |
| 6/9 | R-b | R-b |
| 7/9 | R-b | |
| 8/9 | R-b | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] QEMU file cleanups
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: <[email protected]>
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(-)
Signature · 1 line
2.40.0