It is very easy to access vm console in KVM QEMU but, as all the things, if you don’t know how to do it, it is difficult to do.
First of all, my environment is Centos 7. We assume we have a physical server with 1, 2 or more vm created using KVM QEMU.
Now, using virsh list command we can see the list of running VM in my server:
The first column is ID, you need to take this ID value to access vm console in kvm qemu
The comand to use is
virsh console ID
If we need to access console in virtual-server3 we have to do:
[root@mykvm ~]# virsh console 3
CentOS Linux 7 (Core)
afl-cpe03 login: ostrich
Perfect! Now you are connected in console into your Virtual Server.
But… How can I exit from console? What does it mean Escape character is ^] ?
It is easy, it mean only to type CTRL + ] on your keyboard and you will be back on your kvm server.