[et-mgmt-tools] How to get virsh console working on KVM

David Huff dhuff at redhat.com
Thu Jul 23 19:05:09 UTC 2009


Rodrique Heron wrote:
> When consoling to my KVM guest, I'm not getting the expected result, which is to be placed on the login prompt, instead I get this:
> 
> [root at N1-I-FKVM-01 ~]# virsh list
>  Id Name                 State
> ----------------------------------
>   9 N1ICOB01             running
>  26 SPWALKTEST           running
>  29 N1IASMGT01           running
> 
> [root at N1-I-FKVM-01 ~]# virsh console 29
> Connected to domain N1IASMGT01
> Escape character is ^]
> 
> 
> I modified the /etc/inittab of the guest to include a ttyS0 terminal and I allowed it via /etc/securetty. What other steps are missing? I would especially like to get this working during the installation of the KVM guest, so that I don't have to resort to virt-manager.
> 
> Thanks

Add "console=tty0 console=ttyS0,115200" to kernel parameters of guest.

-D




More information about the et-mgmt-tools mailing list