[PATCH 0/3] migration: postcopy blocktime cleanups and assert fix

Bin Guo posted 3 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260716101952.65329-1-guobin@linux.alibaba.com
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>
migration/migration-hmp-cmds.c |  8 ++++----
migration/postcopy-ram.c       | 10 ++++------
2 files changed, 8 insertions(+), 10 deletions(-)
[PATCH 0/3] migration: postcopy blocktime cleanups and assert fix
Posted by Bin Guo 1 week, 3 days ago
This series fixes a couple of issues in the postcopy blocktime
fine-grained tracking feature:

  - Patch 1 fixes an ineffective overflow assert in vcpu_faults_current[].
  - Patch 2 fixes the const/gchar mismatch in format_time_str().
  - Patch 3 collects minor cleanups: remove a redundant memset() and
    fix the HMP label for non-vCPU latency.

Bin Guo (3):
  migration: fix ineffective overflow assert in postcopy blocktime
  migration: fix const mismatch in format_time_str()
  migration: clean up postcopy blocktime presentation

 migration/migration-hmp-cmds.c |  8 ++++----
 migration/postcopy-ram.c       | 10 ++++------
 2 files changed, 8 insertions(+), 10 deletions(-)

-- 
2.50.1 (Apple Git-155)
Re: [PATCH 0/3] migration: postcopy blocktime cleanups and assert fix
Posted by Peter Xu 1 week, 1 day ago
On Thu, Jul 16, 2026 at 06:19:49PM +0800, Bin Guo wrote:
> This series fixes a couple of issues in the postcopy blocktime
> fine-grained tracking feature:
> 
>   - Patch 1 fixes an ineffective overflow assert in vcpu_faults_current[].
>   - Patch 2 fixes the const/gchar mismatch in format_time_str().

This one was intentional to add some protection on the char string, it's
common way to use, try grep "g_autofree const char" in the tree.

>   - Patch 3 collects minor cleanups: remove a redundant memset() and
>     fix the HMP label for non-vCPU latency.

I queued patch 1+3, thanks!

-- 
Peter Xu