On Mon, Mar 23, 2026 at 08:54:51AM -0500, Jaehoon Kim wrote: > diff --git a/qapi/misc.json b/qapi/misc.json > index 28c641fe2f..39d17010bc 100644 > --- a/qapi/misc.json > +++ b/qapi/misc.json > @@ -85,6 +85,12 @@ > # @poll-shrink: how many ns will be removed from polling time, 0 means > # that it's not configured (since 2.9) > # > +# @poll-weight: the weight factor for adaptive polling. > +# Determines how much the current event interval contributes to > +# the next polling time calculation. Valid values are 1 or > +# greater. 0 selects the system default value which is current 3 > +# (since 10.2)
QEMU 11.0 is already in hard freeze, so this patch will go into 11.1: (since 11.1) > +# > # @aio-max-batch: maximum number of requests in a batch for the AIO > # engine, 0 means that the engine will use its default (since 6.1) > # > @@ -96,6 +102,7 @@ > 'poll-max-ns': 'int', > 'poll-grow': 'int', > 'poll-shrink': 'int', > + 'poll-weight': 'int', > 'aio-max-batch': 'int' } } > > ## > diff --git a/qapi/qom.json b/qapi/qom.json > index c653248f85..feb80b6cfe 100644 > --- a/qapi/qom.json > +++ b/qapi/qom.json > @@ -606,6 +606,11 @@ > # algorithm detects it is spending too long polling without > # encountering events. 0 selects a default behaviour (default: 0) > # > +# @poll-weight: the weight factor for adaptive polling. > +# Determines how much the current event interval contributes to > +# the next polling time calculation. Valid values are 1 or > +# greater. If set to 0, the default value of 3 is used. (since 11.1) Other than that: Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
