| Message ID | 20260310233310.3364647-2-richard.purdie@linuxfoundation.org |
|---|---|
| State | New |
| Headers | show |
| Series | [1/2] scripts/runqemu: Allow VNC use as a fallback when there is no DISPLAY set | expand |
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 68e986150d6..57f86970fec 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -172,8 +172,6 @@ class QemuRunner: launch_cmd += ' kvm' else: self.logger.debug('Not using kvm for runqemu') - if not self.display: - launch_cmd += ' nographic' if self.use_slirp: launch_cmd += ' slirp' if self.use_ovmf:
Since runqemu now falls back to vnc or a none display if DISPLAY isn't set, we no longer need to pass nographic to the qemu commandline and can allow runqemu just to handle it. One challenge with nographic is that it changes more that just the display setting, it can affect the serial and parallel port mappings so this also makes settings slightly more consistent accross environments. Ultimately, this allows us to stop requiring X desktops whilst still having a way to connect to the display over VNC for debugging. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/lib/oeqa/utils/qemurunner.py | 2 -- 1 file changed, 2 deletions(-)