On Tue, May 17, 2022 at 02:35:02PM +0800, huang...@chinatelecom.cn wrote: > From: Hyman Huang(黄勇) <huang...@chinatelecom.cn> > > Introduce "vcpu-dirtylimit" migration parameter used > to limit dirty page rate during live migration. > > "vcpu-dirtylimit" and "vcpu-dirtylimit-period" are > two dirtylimit-related migration parameters, which can > be set before and during live migration by qmp > migrate-set-parameters. > > This two parameters are used to help implement the dirty > page rate limit algo of migration. > > Signed-off-by: Hyman Huang(黄勇) <huang...@chinatelecom.cn> > --- > +++ b/qapi/migration.json > @@ -763,6 +763,9 @@ > # @vcpu-dirtylimit-period: Periodic time (ms) of dirtylimit during live > migration. > # Defaults to 500ms. (Since 7.0) > # > +# @vcpu-dirtylimit: Dirtyrate limit (MB/s) during live migration. > +# Defaults to 1. (Since 7.0) > +#
Same comments as in patch 1 (since 7.1, question on whether dirty-limit makes more sense). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org