On 11/30/21 09:00, Peter Xu wrote: > We should only call the log_global_start/stop when the global dirty track > bitmask changes from zero<->non-zero. > > No real issue reported for this yet probably because no immediate user to > enable both dirty rate measurement and migration at the same time. However > it'll be good to be prepared for it. > > Fixes: 63b41db4bc ("memory: make global_dirty_tracking a bitmask") > Cc: Hyman Huang <huang...@chinatelecom.cn> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Dr. David Alan Gilbert <dgilb...@redhat.com> > Cc: Juan Quintela <quint...@redhat.com> > Cc: David Hildenbrand <da...@redhat.com> > Signed-off-by: Peter Xu <pet...@redhat.com> > --- > softmmu/memory.c | 27 ++++++++++++++------------- > 1 file changed, 14 insertions(+), 13 deletions(-)
Thanks, queued via memory-api (adding Cc: qemu-stable).