On the host side there are separate users named vm1, vm2, etc. who have permissions to manage their own VM. To start do ~/start. To send a shut-down-event do ~/stop stop
. There is a Qemu/KVM management console attached to a pseudo-terminal.
Find it with ls -l /dev/pts | grep vm12
(attention: ssh also has its terminals there)
Attach it with screen /dev/pts/27
help
should give you the list of available commands.
halt
command (if machine crashed/hangs you can always use unclean shutdown: killall kvm
)
and then let the vm user call ~/start
. For interactive booting add i=1 at the start. You can edit your ~/options file to include a line vnc=1
to enable a remote graphical access via VPN using vncviewer delta4.zq1.de:12
extra="-hdb /vm/vm12/swap"
and the like.
Ready to use rootfs images of Debian/Lenny (64-bit), Debian/Etch and openSUSE-11.1 are prepared in /no_backup/bernhard/uml/. Please note that KVM does not use copy-on-write so every VM will need its own writable copy of the rootfs.
DHCP and radvd(for IPv6) are provided for easy network configuration.
All VMs are connected to the VPN so that it is easy to communicate to them.
The following subnets and names are used: