On Thu, 26 Feb 2026 13:31:16 +0100, Markus Ebner wrote:
> The file-read command of the QEMU guest agent previously had several
> practical limitations. It always read a fixed 16 MiB block starting at
> offset 0, making it impossible to retrieve larger files in multiple
> chunks. On busy or resource‑constrained hosts, requests for large files
> often timed out because the agent attempted to read and JSON‑encode the
> entire 16 MiB block at once (while producing high CPU load in both
> qemu-guest-agent, as well as pvedaemon).
>
> [...]
Applied, thanks!
[1/3] agent: file-read: Allow specifying max number of bytes to read
commit: 5c623f82c07624528c6b107cc6c9660ec6b84d98
[2/3] agent: file-read: Allow maintaining base64-encoding of content
commit: a1397a11dd6092ae252d2cc8c65b1ca1eb815e58
[3/3] agent: file-read: Allow specifying byte offset to start reading at
commit: ec268ede5b1cfc050ff3a6d252bebabacee3154e