On Sat, 31 Jan 2026 at 22:12, charles.embedded via lists.openembedded.org <[email protected]> wrote: > The setup_vga() function was ignoring -nographic in QB_GRAPHICS > because it only checked the command-line self.nographic flag. > This caused QB_GRAPHICS to be appended after display autodetection, > resulting in conflicting options like "-device virtio-vga -display sdl" > and "-nographic" in the same command. > > Add a check after reading qemuboot.conf to detect -nographic in > QB_GRAPHICS and set self.nographic accordingly. This prevents > unnecessary display autodetection for BSPs that specify -nographic > in their machine configuration, as happens in meta-zephyr layer.
I'm not sure specifying -nographic in a BSP layer via QB_GRAPHICS is correct. QB_GRAPHICS is intended for what emulated hardware should be present in the guest machine. -nographic is a host option that tells qemu what to do with the graphical output (in case of -nographic, discard it). I don't think it's up to the BSP layer to make that decision. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#230378): https://lists.openembedded.org/g/openembedded-core/message/230378 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]] -=-=-=-=-=-=-=-=-=-=-=-
