Connecting to the console of a virtual server

Open a console when you start a virtual server, or connect to the console of a running virtual server.

Procedure

Connect to a pty console of a running virtual server by using the virsh console command (see console):
# virsh console <VS>
However, if you want to be sure that you do not miss any console message, connect to the console when you start a virtual server by using the --console option (see start):
# virsh start <VS> --console

What to do next

To leave the console, press Control and Right bracket (Ctrl+]) when using the US keyboard layout.