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.
Alex On Sat, 20 Feb 2021 at 20:09, Khem Raj <[email protected]> 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 <[email protected]> > --- > 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 (#148380): https://lists.openembedded.org/g/openembedded-core/message/148380 Mute This Topic: https://lists.openembedded.org/mt/80785823/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
