VMNetX - Virtual Machine Network Execution
VMNetX allows KVM-based virtual machines to be stored on a web server and executed on-demand on a client system. The entire disk and memory state are not downloaded before starting the VM; instead, disk and memory chunks are retrieved on demand from the web server and then cached on the client.
VMNetX allows a user to quickly try out some software without needing to install it. The software runs on their own computer, so performance is better than a thin client. Unlike a traditional virtual machine image, the user does not need to download gigabytes of data before they can run the software.
VMNetX is licensed under the GNU General Public License, version 2.
Binary packages are available for Debian, Fedora, Red Hat Enterprise Linux, and Ubuntu.
Installing from source
You will need:
- QEMU and KVM
- spice-gtk Python bindings
- libvirt Python bindings
If building from the Git repository, you will also need:
- If building from Git, run
./configure && make && sudo make install
Executing a virtual machine image
Click a link to a VMNetX virtual machine. Your system should launch VMNetX and start the VM. When finished, close the virtual machine window or click the Quit button.
Generating a virtual machine image
vmnetx-generate -a VM-NAMEto create an empty virtual machine with an appropriate configuration for VMNetX.
Use virt-manager to install software into the virtual machine. The VM is registered under the "QEMU Usermode" libvirt connection, and can be accessed with
virt-manager -c qemu:///session. You may need to add a virtual floppy or CD-ROM drive to the VM in order to install software. Depending on the operating system running in the guest, you may also need to adjust the emulated virtual hardware. (Note that only certain models of virtual hardware will work.)
Shut down the virtual machine and delete any virtual CD-ROM or floppy drives that you have added. If a suspended VM is desired, restart and then "Save" the virtual machine.
vmnetx-generateto create a VMNetX virtual machine package from the libvirt domain XML file. For example, if you named your virtual machine "test", you can use:
vmnetx-generate -n "Test Machine" ~/.config/libvirt/qemu/test.xml package.nxpk
Test the virtual machine:
Publishing a virtual machine image
.nxpkpackage to a web server.
To enable users to execute the virtual machine by clicking a hyperlink, without downloading the entire package, you must prepend
vmnetx+to the target of the link. For example, if the URL to your package is
http://www.example.com/test.nxpk, the link must point to