qemu-e2k/qga
Yuri Pudgorodskiy a1853dca74 qga: guest-exec simple stdin/stdout/stderr redirection
Implemented with base64-encoded strings in qga json protocol.
Glib portable GIOChannel is used for data I/O.

Optinal stdin parameter of guest-exec command is now used as
stdin content for spawned subprocess.

If capture-output bool flag is specified, guest-exec redirects out/err
file descriptiors internally to pipes and collects subprocess
output.

Guest-exe-status is modified to return this collected data to requestor
in base64 encoding.

Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
* switch from 'struct GuestIOExecData' to 'GuestIOExecData'
* s/TRUE/true/g, s/FALSE/false/g for gboolean return values
* s/inp_data/input_data/
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-10-19 18:31:54 -05:00
..
installer qemu-ga: Fixed paths issue with MSI build 2015-09-01 11:07:09 -05:00
vss-win32 error: On abort, report where the error was created 2015-09-10 13:48:06 +02:00
Makefile.objs qemu-ga: Call Windows VSS requester in fsfreeze command handler 2013-09-09 14:17:57 -05:00
channel-posix.c qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all() 2015-10-19 18:31:54 -05:00
channel-win32.c qga: Use g_new() & friends where that makes obvious sense 2015-10-19 18:28:06 -05:00
channel.h qemu-ga: move channel/transport functionality into wrapper class 2012-02-23 15:40:16 -06:00
commands-posix.c qga: drop guest_file_init helper and replace it with static initializers 2015-10-19 18:31:53 -05:00
commands-win32.c qga: drop guest_file_init helper and replace it with static initializers 2015-10-19 18:31:53 -05:00
commands.c qga: guest-exec simple stdin/stdout/stderr redirection 2015-10-19 18:31:54 -05:00
guest-agent-command-state.c qga: Use g_new() & friends where that makes obvious sense 2015-10-19 18:28:06 -05:00
guest-agent-core.h qga: Disable unsupported commands by default 2014-08-07 17:15:53 -05:00
main.c qga: handle possible SIGPIPE in guest-file-write 2015-10-19 18:31:54 -05:00
qapi-schema.json qga: guest-exec simple stdin/stdout/stderr redirection 2015-10-19 18:31:54 -05:00
service-win32.c qga: escape cmdline args when registering win32 service (CVE-2013-2231) 2013-07-25 14:49:04 -05:00
service-win32.h qga: save state directory in ga_install_service() 2013-05-30 11:37:37 -05:00
vss-win32.c error: On abort, report where the error was created 2015-09-10 13:48:06 +02:00
vss-win32.h qga: Consistently name Error ** objects errp, and not err 2014-05-09 09:11:26 -04:00