Kernel KVM virtualization development
 help / color / mirror / Atom feed
* Serial console's using kvm -serial ?????
       [not found] ` <20080527145416.GA13609@netfirms.com>
@ 2008-05-27 14:55   ` Steve Shorter
  2008-05-27 15:08     ` Anthony Liguori
  2008-05-27 15:38     ` Alberto Treviño
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Shorter @ 2008-05-27 14:55 UTC (permalink / raw)
  To: kvm

  Howdy!
  
  	What is the correct way to obtain serial consoles on
  kvm instances..
  
  	kvm -serial ${SOME_DEV}
  
  	What should SOME_DEV be and then how can I access the
  serial console?
  
  	I am on Ubuntu Hardy, and tried various things like ptmx, ttyS2
  etc but couldn't get anything to work.
  
  	thanx - steve
  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Serial console's using kvm -serial ?????
  2008-05-27 14:55   ` Serial console's using kvm -serial ????? Steve Shorter
@ 2008-05-27 15:08     ` Anthony Liguori
  2008-05-27 15:38     ` Alberto Treviño
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2008-05-27 15:08 UTC (permalink / raw)
  To: Steve Shorter; +Cc: kvm

Steve Shorter wrote:
>   Howdy!
>   
>   	What is the correct way to obtain serial consoles on
>   kvm instances..
>   
>   	kvm -serial ${SOME_DEV}
>   
>   	What should SOME_DEV be and then how can I access the
>   serial console?

Look in the QEMU docs, there are a lot of possible options.  I imagine 
you probably want either stdio or you want to use the -nographic option.

Regards,

Anthony Liguori

>  
>   

>   	I am on Ubuntu Hardy, and tried various things like ptmx, ttyS2
>   etc but couldn't get anything to work.
>   
>   	thanx - steve
>   
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Serial console's using kvm -serial ?????
  2008-05-27 14:55   ` Serial console's using kvm -serial ????? Steve Shorter
  2008-05-27 15:08     ` Anthony Liguori
@ 2008-05-27 15:38     ` Alberto Treviño
  1 sibling, 0 replies; 3+ messages in thread
From: Alberto Treviño @ 2008-05-27 15:38 UTC (permalink / raw)
  To: Steve Shorter; +Cc: kvm

On Tuesday 27 May 2008 08:55:41 am Steve Shorter wrote:
>   	I am on Ubuntu Hardy, and tried various things like ptmx, ttyS2
>   etc but couldn't get anything to work.

If you are referring to using serial devices to connect to the Qemu 
monitor, I use the telnet option (-monitor telnet::5000,server,nowait).  
That option allows me to connect to the Qemu monitor via telnet to that 
port.  I also specify a different port for each different VM (5001, 
5002, etc.) and then I can run a very large number of VM's without any 
device conflicts.

For my telnet application, I prefer netcat, since it allows me to use 
Ctrl-C to exit without having to deal with telnet's escape sequences.

My answer may not be even close to what or why you were asking, but I 
hope that helps.

-- 
Alberto Treviño
alberto@byu.edu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-27 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080527145044.GA13556@netfirms.com>
     [not found] ` <20080527145416.GA13609@netfirms.com>
2008-05-27 14:55   ` Serial console's using kvm -serial ????? Steve Shorter
2008-05-27 15:08     ` Anthony Liguori
2008-05-27 15:38     ` Alberto Treviño

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox