On 2011-04-26,at 13:58:04, wuyu8242 wrote: >发送日期:2011-04-26 13:58:04 >收件人:Amos Kong >抄送:autotest >主题:Re: [Autotest] log_into_'vm1'_via_serial_console >> >On 2011-04-26,at 13:24:24, Amos Kong wrote: > >>发送日期:2011-04-26 13:24:24 >>收件人:wuyu8242 >>抄送:autotest >>主题:Re: [Autotest] log into 'vm1' via serial console >>> >>On Tue, Apr 26, 2011 at 01:15:22PM +0800, wuyu8242 wrote: >>> hi all, >>> >>> There are some cases failed beacause of >>> "Attempting to log into 'vm1' via serial console (timeout 360s) ", how to >>> setup >>> serial console? >> >>Autotest only support serial login of linux guest. >>Try to add 'console=tty0 console=ttyS0,115200' in guest kernel cmdline. >>http://www.vanemery.com/Linux/Serial/serial-console.txt >Okay, I try it. > >>You can test with this cmd: >># qemu-kvm .... -serial stdio This test with this cmd failed. I midify the sentence of ''' return " -serial unix:'%s',server,nowait" % filename ''' to ''' return " -serial stdio,server,nowait" ''' in kvm_vm.py, but failed. >>Amos. >> > > >------------------ >wuyu8242 >2011-04-26 >_______________________________________________ >Autotest mailing list >[email protected] >http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >
------------------ wuyu8242 2011-04-26 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
