FreeBSD virsh console hangs in "Escape character is ^]" \w KVM hypervisor any text console provider
Installing FreeBSD under KVM requires a little tick to access the serial console (text) from KVM virsh because FreeBSD redirects output to video if using graphic installation (vidconsole).
Code:
# virsh console VM2
Connected to domain VM2
Escape character is ^]
After the box is installed and running configure the "comconsole" under /boot/loader.conf and configure the serial con
Code:
# cat /boot/loader.conf
console="comconsole"
# grep ttyu0 /etc/ttys
ttyu0 "/usr/libexec/getty std.9600" vt100 on secure
Now reboot the box and enjoy the console:
Code:
...
Fri Jan 31 10:35:45 CET 2014
FreeBSD/amd64 (VM2) (ttyu0)
login: