On Wed, Sep 03, 2025 at 01:11:13AM -0400, John Snow wrote: > From: Adam Dorsey <adam.dor...@twosixtech.com> > > 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 9ba6a698344eb3b570fa4864e906c54042824cd6 > cherry picked from commit e4d0d3f835d82283ee0e48438d1b154e18303491 > [Squashed in linter fixups. --js] > Signed-off-by: John Snow <js...@redhat.com> > --- > python/qemu/qmp/protocol.py | 25 ++++++++++++++++--------- > python/qemu/qmp/qmp_client.py | 18 ++++++++++++++---- > 2 files changed, 30 insertions(+), 13 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|