* Eric Blake (ebl...@redhat.com) wrote: > On Mon, Jun 07, 2021 at 09:11:34AM +0800, huang...@chinatelecom.cn wrote: > > From: Hyman Huang(黄勇) <huang...@chinatelecom.cn> > > > > introduce optional sample-pages argument in calc-dirty-rate, > > making sample page count per GB configurable so that more > > accurate dirtyrate can be calculated. > > > > Signed-off-by: Hyman Huang(黄勇) <huang...@chinatelecom.cn> > > --- > > > +++ b/qapi/migration.json > > # Example: > > -# {"command": "calc-dirty-rate", "data": {"calc-time": 1} } > > +# {"command": "calc-dirty-rate", "data": {"calc-time": 1, > > 'sample-pages': 512} } > > # > > ## > > -{ 'command': 'calc-dirty-rate', 'data': {'calc-time': 'int64'} } > > +{ 'command': 'calc-dirty-rate', 'data': {'calc-time': 'int64', > > '*sample-pages': 'int'} } > > Long line. Please wrap at 80 columns.
I can fix up that. > -- > Eric Blake, Principal Software Engineer > Red Hat, Inc. +1-919-301-3266 > Virtualization: qemu.org | libvirt.org -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK