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: Jim Jarvie
Subject: Re: serial console, no graphic card
Date: Mon, 16 Dec 2019 15:45:57 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1

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.



reply via email to

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