[one-users] how to attach a "console" to the VM and access the console via "virsh"

Jeff Lee jafelee at gmail.com
Sun Apr 3 04:15:24 PDT 2011


Hi, all, I have put this section in my vm definition file :

RAW = [ type = "kvm",
         data = "<devices><serial type=\"pty\"><source
         path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console
type=\"pty\"
         tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
         port=\"0\"/></console></devices>"
]

the ttylinux instance runs normally. When I ssh to the host  and try to open
the console of it, by the command "virsh console <domain>", it is just stuck
in the screen with only one line of message:

Connected to domain one-19
Escape character is ^]

Can anybody help me ?
Best Regards,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110403/33791407/attachment.htm>


More information about the Users mailing list