qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: serial console, no graphic card


From: Pierre Dupond
Subject: Re: serial console, no graphic card
Date: Wed, 8 Apr 2020 16:32:45 +0200

Hi,

Thanks for this tip. It was very useful.
However with linux as a host and Netbsd 9.0 as a guest the telnet
command is not very pratical since the arrow keys do not work.

This makes the navigation through the menus quite uncomfortable.

I have used kermit with the following kermit command:
     set host localhost 10023 /raw-socket
and in the conditions described above I was able to play
nicely in the installation program of NetBSD.

I hope this could be useful,

Best regards
  
On Mon, 16 Dec 2019 15:45:57 +0000
Jim Jarvie <address@hidden> wrote:

> For my SunOS VMs, I redirect the serial console on the VM to an IPv4 
> Socket with :
> 
> -serial tcp::10023,server,nowait
> 
> I can then telnet to the serial console (telnet <VMHOST-IP> 10023) and 
> don't need to worry about the speed etc.
> 
> SunOS looks for a graphic device and if it is not found, it will then 
> treat the first serial port as a serial console.
> 
> What you need to do will depend on your OS and how it directs to the 
> serial port, but the appropriate variation on the -serial option for 
> your guest OS should work.
> 
> Jim
> 
> 
> On 16/12/2019 15:10, Ottavio Caruso wrote:
> > On Mon, 16 Dec 2019 at 14:56, Pierre Dupond <address@hidden> wrote:
> >>
> >> Hi All,
> >>        I plan to emulate with qemu a machine without graphic card
> >> and with only a serial console.
> >>
> >> To achieve that goal I have two problems to solve:
> >>          1) to have an emulation without a graphic card and a serial
> >>             console running at 115200 baud
> >> To solve the point 1, one should probably use the instruction «qemu 
> >> -nographic ...»
> > Yes.
> >
> >
> >> My second problem is how to use a terminal program (kermit, putty or cu) 
> >> to communicate
> >> with the serial port of the emulated machine.
> > If you are using xterm or equivalent to start qemu, then you'll have
> > the serial console output redirected to the terminal and you don't
> > need any external software. It's not clear what OS you're running on
> > the host and the guest. The guest needs to be instructed to redirect
> > output to serial console, not vga.
> >
> >


-- 
Pierre Dupond <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]