It's possible using virtual terminals for KVM VM.
You need (keep in mind all my examples for Debian 6/7):
- Run Linux kernel inside KVM VM with kernel param: console=tty0.
it can be done editing /etc/default/grub :
GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0"
- Add to KVM VM file /etc/inittab this line:
T0:23:respawn:/sbin/getty -l /usr/local/bin/autologin -n -L ttyS0 115200 vt102
- Create file /usr/local/bin/autologin with following content:
#!/bin/sh
exec /bin/login -f root
- reboot the VM
- Use virsh console kvm_vm_name and work with it like vzctl enter $CTID
If you need any help please comment here :)