diff options
| author | Yuri Pudgorodskiy <yur@virtuozzo.com> | 2015-10-13 18:41:23 +0300 |
|---|---|---|
| committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2015-10-19 18:31:54 -0500 |
| commit | a1853dca74362551ec1434b2e15acfcdd53caa99 (patch) | |
| tree | 2a8ca7e59cfda1867ef3b77ca8f10c70e00848e8 /util/oslib-posix.c | |
| parent | f74df9bfce6d133fc64d6b878327849ed2b89b4b (diff) | |
| download | focaccia-qemu-a1853dca74362551ec1434b2e15acfcdd53caa99.tar.gz focaccia-qemu-a1853dca74362551ec1434b2e15acfcdd53caa99.zip | |
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>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions