One can create a quick and dirty set up to host and "daemonize" a bunch of kvm's without libvirt.
Which leads me to a thought....
Does anyone here see value in creating a distribution aimed specifically creating a very ligntweight virtualization hosting server? This doesnt seem to exist anywhere.
Building a fast lightweight, and easy to use server to host kvm's for the enterprise user may prove profitable especially since the documentation to do such things without libvirt is extremely limited.
Someone would just need to build the tools, which can for the most part be scripted with bash and ncurses.
Canonical appears to have a desire to be all over the virtualization market
I use this to launch my simple kvm
Code: Select all
#Windows XP QEMU KVM "daemonized" example
#
# connect with gvncviewer localhost:0
#
# helpful?: echo 1 > /sys/kernel/mm/ksm/run
#
# explanation line by line:
# screen backgrounds the processes kvm
# expose the guest to the host cpu
# guest has 2 threads/cpus
# guest has 768mb of ram
# primary disk has cache turned off and the image file is posready2009
# standard vga is enabled with no graphic output
# amd pcnet driver with user mode networking
# vnc is enabled on the loopback interface with compression
# samba server \\10.0.2.4\qemu given a directory to share to the guest
# redirect host on all interfaces port 5555 to guest port 22
# redirect host on all interfaces port 5556 to guest port 80
# use tablet input device to the mouse doesnt go crazy under vnc
# permanantly attach a specific usb device (from lsusb)
screen -dmS kvm-winxp kvm \
-cpu host \
-smp 2 \
-m 768 \
-drive cache=none,file=$HOME/qemu/posready2009 \
-vga std -nographic \
-vnc 127.0.0.1:0,lossy \
-net nic,model=pcnet -net user \
-smb $HOME \
-redir tcp:5555::22 \
-redir tcp:5556::80 \
-usbdevice tablet \
-usbdevice host:058f:6387