KVM, serial console and screen
There is no manager with KVM like with Xen. You cannot start virtual machine and attach a console with simple commands like xm. KVM/QEMU use SDL to create a window with a graphical console. You can use VNC too but it's not very practical.
Here is how to get kvm output in GNU Screen.
The kvm command have a -nographic option for deactivating graphical output. We just need to tell to the guest system to use serial output.
First, start with Grub by adding this to the top of menu.lst :
serial --unit=0 --speed=9600 --word=8 --parity =no --stop=1 terminal --timeout=10 --dumb serial console
We want to use serial 9600 8N1 console. In this file too, just add some arguments on the kernel line :
console=tty0 console=ttyS0,9600n8
Next boot, Grub will display everything on the serial console (ugly, no menu). Same for the kernel. Now we need to configure the guest system to get a serial console. This is managed by getty in /etc/inittab :
T0:123:respawn:/sbin/getty -L ttyS0 9600 vt100
This line is already in the file. Just uncomment and change runlevel from 23 to 123. Last thing, check your configuration, ttyS0 must be a secure TTY :
% cat /etc/securetty | grep ttyS0 ttyS0
Ok, stop the guest and restart it in screen :
% screen kvm -hda disk.cow -m 512 -net nic -net tap,ifname=tap10 -nographic
Job done.