I get a weird behavior when I use use virsh console to access a virtual machine.
Say I have a virtual machine.
So I go ahead and access its console since it doesn't have any network interfaces configured yet, I won't be able to use ssh.Code:nerdtron@kvmhost:~$ virsh list Id Name State ---------------------------------- 31 template running
Looks good so far.Code:nerdtron@kvmhost:~$ virsh console template Connected to domain template Escape character is ^] [ 0.189353] serial82 Ubuntu 12.04.2 LTS ubuntu12042 ttyS0 ubuntu12042 login: user password:
The problem occurs when another user also tries to login using virsh console on the same virtual machine. I thought we would have two different console sessions on the virtual machine but it doesn't appear to be the case. Anything he types on the second virsh console window appears on my virsh console windows. Even key press like the enter key will make my console enter to the new line.
Virsh console with multiple sessions doesn't work or is this really by design? Any help would be much appreciated.