On 2/20/21 11:20 AM, Alexander Kanavin wrote:
I don't think this is right. You might want to use -nographic, but still
keep an emulated graphical device inside the guest for testing the
userspace applications without seeing their output. It's better to set
-vga none via a dedicated runqemu option.
using -display none is better way to control this kind of behaviour
where you still want graphic card to be emulated but not display the
output. perhaps such an option would be better suited and nographic
runqemu option can be used for qemu being a simple cmdline app.
Alex
On Sat, 20 Feb 2021 at 20:09, Khem Raj <raj.k...@gmail.com
<mailto:raj.k...@gmail.com>> wrote:
When using nographic, explicitly disable vga since some qemu firmware (
OpenFirmware ) defaults to std vga, and when vga is enabled then it
disables output to serial and redirects that to vga which is by design,
hwoever we expect the console output to go to serial when using
nographic, therefore its important to disable vga with nographic
especially on qemu based ppc platforms
Signed-off-by: Khem Raj <raj.k...@gmail.com <mailto:raj.k...@gmail.com>>
---
scripts/runqemu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index dd92a64553..2e31338d8e 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -462,7 +462,7 @@ class BaseConfig(object):
raise RunQemuError('Option nographic makes no
sense alongside the sdl option.' % (arg))
if ('gtk' in sys.argv):
raise RunQemuError('Option nographic makes no
sense alongside the gtk option.' % (arg))
- self.qemu_opt_script += ' -nographic'
+ self.qemu_opt_script += ' -nographic -vga none'
self.kernel_cmdline_script += ' console=ttyS0'
elif arg == 'sdl':
if 'gl' in sys.argv[1:]:
--
2.30.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148381):
https://lists.openembedded.org/g/openembedded-core/message/148381
Mute This Topic: https://lists.openembedded.org/mt/80785823/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-