qemu-discuss
[Top][All Lists]
Advanced

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

RE: terminal line wraps to the same line, not openning a new line when i


From: ckim
Subject: RE: terminal line wraps to the same line, not openning a new line when it reaches the bottom of terminal..
Date: Mon, 26 Jul 2021 23:01:06 +0900

 

If I run the VM as below, where does the printf output from the qemu go?

I can see the prinfs from qemu cdoe but once linux boot starts, I can’t see printfs coming from qemu code.

Hope to hear any advice.

Thanks

Chan Kim

 

From: ckim@etri.re.kr <ckim@etri.re.kr>
Sent: Tuesday, July 13, 2021 1:22 PM
To: 'qemu-discuss' <qemu-discuss@nongnu.org>
Subject: terminal line wraps to the same line, not openning a new line when it reaches the bottom of terminal..

 

Hi all,

 

Ive installed ubuntu 20.04 on an aarch64 virtual machine.

(using qemu-5.1.0, and referencing https://futurewei-cloud.github.io/ARM-Datacenter/qemu/how-to-launch-aarch64-vm/).

This is the launch command to boot with installed ubuntu..

 

./qemu-system-aarch64 -nographic -machine virt,gic-version=max -m 512M -cpu max -smp 4 \

-netdev user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device virtio-net-pci,netdev=vnet \

-drive file=virt-ubuntu-20.04-image.img,if=none,id=drive0,cache=writeback -device virtio-blk,drive=drive0,bootindex=0 \

-drive file=flash0.img,format=raw,if=pflash -drive file=flash1.img,format=raw,if=pflash

 

The login prompt comes up and I can login and use the shell.

But when the shell prompt reaches the bottom of my terminal, the input characters wrap to the beginning of the same line, not opening a new line below, overwriting the start of line characters.

And it looks like the column width is set to 80 (the wrap position).

How can I make the terminal work correctly?

Any comment will be appreciated.

Thanks!

 

Chan Kim

 


reply via email to

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