Skip to contentSkip to conversation

kvm tools: Add 'kvm sandbox'

tip:tools/kvm Sasha Levin 1 participant 1 message Dec 11, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · tip-bot for Sasha Levin
Commit-ID:  dfb7f58f43dab84882d206e8ff2b478a94357191
Gitweb:     http://git.kernel.org/tip/dfb7f58f43dab84882d206e8ff2b478a94357191
Author:     Sasha Levin <[email protected]>
AuthorDate: Mon, 5 Dec 2011 16:16:36 +0200
Committer:  Pekka Enberg <[email protected]>
CommitDate: Sun, 11 Dec 2011 11:15:51 +0200

kvm tools: Add 'kvm sandbox'

Quoted 7 lines

This patch adds 'kvm sandbox' which is a wrapper on top of 'kvm run' which allows the user to easily specify sandboxed command to run in a custom rootfs guest.

Example usage:

kvm sandbox -d test_guest -k some_kernel -- do_something_in_guest

Maybe to make it clearer, the '-d' and '-k' are optional, not required.

For example, to do my trinity tests, I simply run:

	./kvm sandbox -- /trinity/trinity --mode=random -i
Signature · 1 line
Sasha.