On Tue, Feb 3, 2026 at 7:00 AM Alexander Kanavin <[email protected]> wrote: > > nographic is an option that can be passed only as a command line > parameter to runqemu. It is also not the default: when you run runqemu > with no parameters, it will default to having graphical output if that > is detected to be supported (via trying 'qemu-system.. --help' and > seeing what is enabled), or no output otherwise: > > # If we have no display option, we autodetect based upon what > qemu supports. We > # need our font setup and show-cusor below so we need to see > what qemu --help says > # is supported so we can pass our correct config in. > if not self.nographic and not self.sdl and not self.gtk and > not self.publicvnc and not self.egl_headless == True: > output = subprocess.check_output([self.qemu_bin, > "--help"], universal_newlines=True, env=self.qemu_environ) > if "-display gtk" in output: > self.gtk = True > elif "-display sdl" in output: > self.sdl = True > else: > self.qemu_opt += ' -display none' > > Once again, it is not up to layers to force a decision where qemu > output goes. Maybe users want it in a graphical window. Maybe they > want it in a vnc server. Maybe they don't want it at all, because they > will ssh into the system. We can consider whether the above logic > makes sense, and if nographic should be the default (instead of the > above if..else block), but taking that choice altogether away from > users is not right. >
Hi Alex, Thanks for the clarification. I’ll drop this patch. Charles Dias
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#230451): https://lists.openembedded.org/g/openembedded-core/message/230451 Mute This Topic: https://lists.openembedded.org/mt/117568097/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
