On Thu, Nov 3, 2022 at 6:29 AM Maksim Davydov <davydov-...@yandex-team.ru> wrote: > > After modification of "query-machines" command the buffer size should be > more than 452kB to contain output with compat-props. > > Signed-off-by: Maksim Davydov <davydov-...@yandex-team.ru> > Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru> > --- > python/qemu/qmp/qmp_client.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/python/qemu/qmp/qmp_client.py b/python/qemu/qmp/qmp_client.py > index 5dcda04a75..659fe4d98c 100644 > --- a/python/qemu/qmp/qmp_client.py > +++ b/python/qemu/qmp/qmp_client.py > @@ -197,8 +197,8 @@ async def run(self, address='/tmp/qemu.socket'): > #: Logger object used for debugging messages. > logger = logging.getLogger(__name__) > > - # Read buffer limit; large enough to accept query-qmp-schema > - _limit = (256 * 1024) > + # Read buffer limit; large enough to accept query-machines > + _limit = (512 * 1024)
wow :) > > # Type alias for pending execute() result items > _PendingT = Union[Message, ExecInterruptedError] > -- > 2.25.1 > If you would please submit this to https://gitlab.com/qemu-project/python-qemu-qmp I can get it merged there quickly, then backport it to qemu.git. Or, if you don't have a gitlab account (and do not want one), please let me know and I'll port it there myself so you don't have to. thanks, --js