]> git.proxmox.com Git - qemu-server.git/commit
implement file-read api call via guest-agent
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 26 Jun 2018 12:15:48 +0000 (14:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Jul 2018 08:29:45 +0000 (10:29 +0200)
commitbb14060a1ccd18d203ee1c52346cc9fe16257976
treea884321851142f9266cf7a43498fedc075dbbbbc
parent520884deca56f20774a10f6cc6bb965c7b2db284
implement file-read api call via guest-agent

this api call reads a file via the guest agent,
(in 1MB chunks) but is limited to 16MiB (for now)

if the file is bigger, the output gets truncated and a
'truncated' flag is set in the return object

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu/Agent.pm