summary refs log tree commit diff stats
path: root/util/coroutine-gthread.c
diff options
context:
space:
mode:
authorYuri Pudgorodskiy <yur@virtuozzo.com>2015-10-13 18:41:20 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-10-19 18:31:53 -0500
commitd697e30cfff29a6a72e3197a218294ba52e7f0c6 (patch)
tree5d7f98ac248f3fdde2cfc17ee346a1e04571893a /util/coroutine-gthread.c
parentb4fe97c8230c34ebd407a9f23894b9c614807540 (diff)
downloadfocaccia-qemu-d697e30cfff29a6a72e3197a218294ba52e7f0c6.tar.gz
focaccia-qemu-d697e30cfff29a6a72e3197a218294ba52e7f0c6.zip
qga: guest exec functionality
Guest-exec rewritten in platform-independent style with glib spawn.

Child process is spawn asynchronously and exit status can later
be picked up by guest-exec-status command.

stdin/stdout/stderr of the child now is redirected to /dev/null
Later we will add ability to specify stdin in guest-exec command
and to get collected stdout/stderr with guest-exec-status.

Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Michael Roth <mdroth@linux.vnet.ibm.com>
* use g_new0 in place of g_malloc for GuestExec struct
* commit msg spelling fixes
* s/inp-data/input-data
* document capture-input mode as false by default
* use GetProcessId() for pids on w32 instead of casting HANDLE
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'util/coroutine-gthread.c')
0 files changed, 0 insertions, 0 deletions