Skip to content

QEMU file cleanups

Juan Quintela qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9migration: max_postcopy_bandwidth is a size parametermigration/migration.c migration/options.c migration/options.h+4 -41 reply
2/9migration: qemu_file_total_transferred() function is monotonicmigration/block.c+1 -71 reply
3/9qemu-file: make qemu_file_[sg]et_rate_limit() use an uint64_tmigration/migration.c migration/qemu-file.c migration/qemu-file.h+9 -92 replies
4/9qemu-file: Make rate_limit_used an uint64_tmigration/qemu-file.c migration/qemu-file.h+3 -31 reply
5/9qemu-file: No need to check for shutdown in qemu_file_rate_limitmigration/qemu-file.c+0 -32 replies
6/9qemu-file: remove shutdown membermigration/qemu-file.c+3 -72 replies
7/9qemu-file: Make total_transferred an uint64_tmigration/block.c migration/qemu-file.c migration/qemu-file.h +2 more+11 -141 reply
8/9qemu-file: Make ram_control_save_page() use accessors for rate_limitmigration/qemu-file.c+1 -12 replies
9/9qemu-file: Account for rate_limit usage on qemu_fflush()migration/qemu-file.c+3 -46 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchPeter XuDaniel P. Berrangé
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b R-b
6/9R-b R-b
7/9R-b
8/9R-b R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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