]> git.proxmox.com Git - mirror_qemu.git/commit - qga/qapi-schema.json
qga: guest exec functionality
authorYuri Pudgorodskiy <yur@virtuozzo.com>
Tue, 13 Oct 2015 15:41:20 +0000 (18:41 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 23:31:53 +0000 (18:31 -0500)
commitd697e30cfff29a6a72e3197a218294ba52e7f0c6
tree5d7f98ac248f3fdde2cfc17ee346a1e04571893a
parentb4fe97c8230c34ebd407a9f23894b9c614807540
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>
qga/commands.c
qga/qapi-schema.json