Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 844 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 844 Bytes

vm

The program to run virtual machines and run programs in their virtual environment. This is a wrapper for qemu that helps to have multiple configurations for qemu as a git-config-like file.

Require

Get started

To initialize home:

$ vm init

To create new profile:

$ vm setup kernel-linus

For kernel developers:

$ vm setup kernel-linus
$ git config -f ~/.vmconfig vm.kernel-linus.kernel find,/path/to/linux/source/tree
$ vm setup kernel-linus --kernel-requires >> /path/to/linux/source/tree/.config

Edit ~/.vmconfig if needed.

To run some useful script from your home:

$ vm sandbox kernel-linus /host/home/$USER/tmp/testcase.sh

or get shell inside:

$ vm sandbox kernel-linus