]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Make 'vm sandbox' more user-friendly
authorPekka Enberg <penberg@kernel.org>
Wed, 7 Mar 2012 18:49:54 +0000 (20:49 +0200)
committerPekka Enberg <penberg@kernel.org>
Thu, 8 Mar 2012 06:25:13 +0000 (08:25 +0200)
commit708adc547162256f4df69b3971e3e494c205f776
tree49431827f0aca102e79d7a30a1afa9d32d4c9330
parent402e97596a43d61f7d0dff58e6bda5fb18196589
kvm tools: Make 'vm sandbox' more user-friendly

This patch changes 'vm sandbox' to automatically prefix a program path with
"/host" in the guest side making this, for example, work as expected:

  $ ./vm sandbox -- ~/trinity/trinity --mode=random --dangerous

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c