]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Improve 'lkvm sandbox' syntax
authorSasha Levin <levinsasha928@gmail.com>
Fri, 13 Jan 2012 09:42:05 +0000 (11:42 +0200)
committerPekka Enberg <penberg@kernel.org>
Sun, 15 Jan 2012 13:01:33 +0000 (15:01 +0200)
commitf1a441f7fa50f78666618981bccbef551286097b
treefaa28f35245325f40b50abe29fcaff24de6d1b5f
parent1cf7f482b481942fb533d83a56057a2b564bb057
kvm tools: Improve 'lkvm sandbox' syntax

This patch adds the possibility to run commands using the default parameter
in 'lkvm sandbox'. For example, a user would now be able to run:

'lkvm sandbox firefox'

And have a sandboxed firefox instance start in the guest.

For commands with parameters, we still need to use dashdash to pass the
parameters (similar to 'git bisect run'). For example:

'lkvm sandbox -- ls -al /bin

Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c