qemu-cr16/python/qemu/qmp
Adam Dorsey 653f501434 python: backport 'feat: allow setting read buffer limit'
Expose the limit parameter of the underlying StreamReader and StreamWriter
instances.

This is helpful for the use case of transferring files in and out of a VM
via the QEMU guest agent's guest-file-open, guest-file-read, guest-file-write,
and guest-file-close methods, as it allows pushing the buffer size up to the
guest agent's limit of 48MB per transfer.

Signed-off-by: Adam Dorsey <adam@dorseys.email>
cherry picked from commit python-qemu-qmp@9ba6a698344eb3b570fa4864e906c54042824cd6
cherry picked from commit python-qemu-qmp@e4d0d3f835d82283ee0e48438d1b154e18303491
[Squashed in linter fixups. --js]
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2025-09-15 14:36:01 -04:00
..
__init__.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
error.py python: backport 'Change error classes to have better repr methods' 2025-09-15 14:36:01 -04:00
events.py python: backport 'EventListener: add __repr__ method' 2025-09-15 14:36:01 -04:00
legacy.py python: backport 'kick event queue on legacy event_pull()' 2025-09-15 14:36:01 -04:00
message.py python: backport 'Change error classes to have better repr methods' 2025-09-15 14:36:01 -04:00
models.py docs/interop: Convert qmp-spec.txt to rST 2023-05-22 10:21:01 +02:00
protocol.py python: backport 'feat: allow setting read buffer limit' 2025-09-15 14:36:01 -04:00
py.typed python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
qmp_client.py python: backport 'feat: allow setting read buffer limit' 2025-09-15 14:36:01 -04:00
qmp_shell.py python: backport 'qmp-shell: add common_parser()' 2025-09-15 14:36:01 -04:00
qmp_tui.py python: backport 'drop Python3.6 workarounds' 2025-09-15 14:36:01 -04:00
util.py python: backport 'drop Python3.6 workarounds' 2025-09-15 14:36:01 -04:00