]> git.proxmox.com Git - mirror_qemu.git/commit - qga/commands.c
qga: fix for default env processing for guest-exec
authorYuri Pudgorodskiy <yur@virtuozzo.com>
Thu, 12 Nov 2015 13:36:20 +0000 (16:36 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Nov 2015 22:24:18 +0000 (16:24 -0600)
commit02a4d82e8c19267ad06b08389b5e914ba668450e
tree7562959cecd09ab5ab98854c702d5502ebad239e
parentc27e9014d56fa4880e7d741275d887c3a5949997
qga: fix for default env processing for guest-exec

envp == NULL must be passed inside gspawn() if it was not passed with
the command line. Original code inherits environment from the QGA,
which is wrong.

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>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands.c