]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: add HOME env var to hostfs
authorSasha Levin <levinsasha928@gmail.com>
Fri, 31 Aug 2012 08:20:20 +0000 (10:20 +0200)
committerPekka Enberg <penberg@kernel.org>
Fri, 31 Aug 2012 08:25:36 +0000 (11:25 +0300)
commitecd036b58ac975731ba1c712c126171e9f538639
tree496e8e8547e9b6dcf4e93e015478593a3d92fe5e
parenta87baa4a1834c37b19b8a35f1cdd5b4b5b111240
kvm tools: add HOME env var to hostfs

Add a HOME env var when booting a hostfs guest. This will point out to a home
dir within the given guest name.

This will make several apps happier when being run under hostfs.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-setup.c
tools/kvm/guest/init.c