zerovm/zerovm
{ "createdAt": "2011-11-25T16:37:46Z", "defaultBranch": "master", "description": "Open-source lightweight virtualization platform", "fullName": "zerovm/zerovm", "homepage": "zerovm.org", "language": "C++", "name": "zerovm", "pushedAt": "2015-01-20T15:34:47Z", "stargazersCount": 827, "topics": [], "updatedAt": "2025-11-05T02:59:59Z", "url": "https://github.com/zerovm/zerovm"}ZeroVM
Section titled “ZeroVM”ZeroVM is a simple virtual machine. ZeroVM can run (and isolate) 64-bit x86 applications in a 32-bit address space. ZeroVM works under Linux x86_64. For more information check out ZeroVM.org
Installation:
Section titled “Installation:”Everything has been tested on Ubuntu 10.04 and Ubuntu 12.04. No issues with VMWare Player. VirtualBox doesn’t support SSE4.1, which is used by several of the provided samples.
Installing ZeroVM
Section titled “Installing ZeroVM”From Ubuntu packages:
Packages for ZeroVM are available for Ubuntu 12.04. Choose from the following PPAs.
Latest: https://launchpad.net/~zerovm-ci/+archive/zerovm-latest Stable: https://launchpad.net/~zerovm-ci/+archive/zerovm-stable
Installing from Latest:
sudo apt-get install python-software-propertiessudo add-apt-repository ppa:zerovm-ci/zerovm-latestsudo apt-get updatesudo apt-get install zerovm-zmqInstalling from Stable:
sudo apt-get install python-software-propertiessudo add-apt-repository ppa:zerovm-ci/zerovm-stablesudo apt-get updatesudo apt-get install zerovm-zmqManually:
To install ZeroVM build environment see the [toolchain installation guide][toolchain].
Proceeed only after checking the link above.
Eclipse CDT installation
Section titled “Eclipse CDT installation”- If your system doesn’t have JRE, install a recent JRE.
- Download Eclipse CDT from the [Eclipse download site][eclipse-dl]. No installation necessary, just unpack and run executable.
- Download and install [EGit plugin][egit-plugin] for Eclipse
- Point EGit to
git://github.com/zerovm/zerovm.gitand pull the most recent ZeroVM sources. - Select ‘create C/C++ project from makefile” to create a new Eclipse project.
- Run the makefile to build the project and run unit tests.
If everything is ok you will see output of the unit tests. Now if
you’ve got RUN OK PASSED messages, you have successfully compiled
ZeroVM for your platform! You’ll find the zerovm executable in
the project root directory.
[eclipse-dl] !: http://www.eclipse.org/downloads/ [egit-plugin] !: http://www.eclipse.org/egit/download/
Running ZeroVM and samples
Section titled “Running ZeroVM and samples”$ cd ~/zerovm$ ./zerovmZeroVM tag1 lightweight VM manager, build 2013-10-08Usage: <manifest> [-l#] [-v#] [-T#] [-stFPQ]
-l <gigabytes> file size limit (default 4Gb) -s skip validation -t <0..2> report to stdout/log/fast (default 0) -v <0..3> log verbosity (default 0) -F quit right before starting user session -P disable channels space preallocation -Q disable platform qualification -T enable time/call tracingYou should see a usage message similar to the one above. If not check out the [troubleshooting]!(#troubleshooting) section below.
Some samples can be found in the tests/functional/ directory.
More can be found in the
zerovm/zrt project.
Troubleshooting:
Section titled “Troubleshooting:”error: expected specifier-qualifier-list before ‘AES_KEY’Solution: missing libssl-dev library. Check the [system prerequisites][prerequisites].
/usr/bin/ld: cannot find -lvalidatorcollect2: error: ld returned 1 exit statusmake: *** [zerovm] Error 1[prerequisites] !: https://github.com/zerovm/toolchain/#install-prerequisites
Solution: Install the [validator][zerovm-validator] by following the [toolchain installation instructions][toolchain].
[zerovm-validator] !: https://github.com/zerovm/validator [toolchain] !: https://github.com/zerovm/toolchain/blob/master/README.md