huang...@chinatelecom.cn writes: > From: Hyman Huang(黄勇) <huang...@chinatelecom.cn> > > Introduce "x-vcpu-dirty-limit-period" migration experimental > parameter, which is in the range of 1 to 1000ms and used to > make dirtyrate calculation period configurable. > > Signed-off-by: Hyman Huang(黄勇) <huang...@chinatelecom.cn>
[...] > diff --git a/qapi/migration.json b/qapi/migration.json > index 88ecf86..5175779 100644 > --- a/qapi/migration.json > +++ b/qapi/migration.json > @@ -776,8 +776,13 @@ > # block device name if there is one, and to their > node name > # otherwise. (Since 5.2) > # > +# @x-vcpu-dirty-limit-period: Periodic time (ms) of dirty limit during live > migration. > +# Should be in the range 1 to 1000ms, defaults > to 500ms. > +# (Since 7.1) 8.0 > +# > # Features: > -# @unstable: Member @x-checkpoint-delay is experimental. > +# @unstable: Member @x-checkpoint-delay and @x-vcpu-dirty-limit-period Members > +# are experimental. > # > # Since: 2.4 > ## > @@ -795,8 +800,9 @@ > 'multifd-channels', > 'xbzrle-cache-size', 'max-postcopy-bandwidth', > 'max-cpu-throttle', 'multifd-compression', > - 'multifd-zlib-level' ,'multifd-zstd-level', > - 'block-bitmap-mapping' ] } > + 'multifd-zlib-level', 'multifd-zstd-level', > + 'block-bitmap-mapping', > + { 'name': 'x-vcpu-dirty-limit-period', 'features': ['unstable'] } > ] } > > ## > # @MigrateSetParameters: > @@ -941,8 +947,13 @@ > # block device name if there is one, and to their > node name > # otherwise. (Since 5.2) > # > +# @x-vcpu-dirty-limit-period: Periodic time (ms) of dirty limit during live > migration. > +# Should be in the range 1 to 1000ms, defaults > to 500ms. > +# (Since 7.1) > +# > # Features: > -# @unstable: Member @x-checkpoint-delay is experimental. > +# @unstable: Member @x-checkpoint-delay and @x-vcpu-dirty-limit-period Members > +# are experimental. > # > # Since: 2.4 > ## > @@ -976,7 +987,9 @@ > '*multifd-compression': 'MultiFDCompression', > '*multifd-zlib-level': 'uint8', > '*multifd-zstd-level': 'uint8', > - '*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ] } } > + '*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ], > + '*x-vcpu-dirty-limit-period': { 'type': 'uint64', > + 'features': [ 'unstable' ] } } } > > ## > # @migrate-set-parameters: > @@ -1141,8 +1154,13 @@ > # block device name if there is one, and to their > node name > # otherwise. (Since 5.2) > # > +# @x-vcpu-dirty-limit-period: Periodic time (ms) of dirty limit during live > migration. > +# Should be in the range 1 to 1000ms, defaults > to 500ms. > +# (Since 7.1) > +# > # Features: > -# @unstable: Member @x-checkpoint-delay is experimental. > +# @unstable: Member @x-checkpoint-delay and @x-vcpu-dirty-limit-period Members > +# are experimental. > # > # Since: 2.4 > ## > @@ -1174,7 +1192,9 @@ > '*multifd-compression': 'MultiFDCompression', > '*multifd-zlib-level': 'uint8', > '*multifd-zstd-level': 'uint8', > - '*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ] } } > + '*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ], > + '*x-vcpu-dirty-limit-period': { 'type': 'uint64', > + 'features': [ 'unstable' ] } } } > > ## > # @query-migrate-parameters: