Skip to contentSkip to conversation

qemuzephyrrunner: allow to pass QB_GRAPHICS to qemu cmdline

PATCH In review Naveen Saini 2 participants 2 messages Sep 28, 2022 – Sep 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemuzephyrrunner: allow to pass QB_GRAPHICS to qemu cmdline

---
 meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py | 1 +
 1 file changed, 1 insertion(+)
meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py +1 -0
index 7b486ce..c0a9e0f 100644
@@ -157,6 +157,7 @@ class QemuZephyrRunner(QemuRunner):
             bb.error("Unsupported QEMU: %s" % self.machine)
             return False
 
+        self.qemuparams += " %s " %self.get('QB_GRAPHICS')
         self.qemuparams += " %s " %self.get('QB_OPT_APPEND')
         self.qemuparams += " %s " %self.get('QB_CPU')
 
Signature · 1 line
2.25.1
Tested-by on v1 1/1
#1 lore raw
Quoted 1 line · Naveen Saini

I wasn't seeing this issue. So, my "testing" isn't very valid for it, but it did work for me :)

Verified in a batch CI job. See https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/654231304

Quoted 20 lines
---
 meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py | 1 +
 1 file changed, 1 insertion(+)
meta-zephyr-core/lib/oeqa/utils/qemuzephyrrunner.py +1 -0
index 7b486ce..c0a9e0f 100644
@@ -157,6 +157,7 @@ class QemuZephyrRunner(QemuRunner):
             bb.error("Unsupported QEMU: %s" % self.machine)
             return False
 
+        self.qemuparams += " %s " %self.get('QB_GRAPHICS')
         self.qemuparams += " %s " %self.get('QB_OPT_APPEND')
         self.qemuparams += " %s " %self.get('QB_CPU')
 
Signature · 1 line
2.25.1