-
Notifications
You must be signed in to change notification settings - Fork 8.3k
runners: add and improve QEMU runner (Python-based replacement for qemu.cmake) #99170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
runners: add and improve QEMU runner (Python-based replacement for qemu.cmake) #99170
Conversation
|
Please fix compliance and CI issues, also since you considerately modified the file, remove it from the ruff excludes file and format it using Line 1415 in 13daf24
|
7ef3765 to
100ca60
Compare
100ca60 to
ff8dfb9
Compare
995f3dc to
d4d7316
Compare
please take a look |
- Add scripts/west_commands/runners/qemu.py: starter ZephyrBinaryRunner for QEMU. - Add cmake/emu/qemu.cmake shim that warns about deprecation. - Add short note doc/contrib/qemu_runner_note.rst. Fixes: zephyrproject-rtos#5501 Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
d4d7316 to
a8e0305
Compare
|
| list(APPEND QEMU_FLAGS | ||
| -icount shift=${CONFIG_QEMU_ICOUNT_SHIFT},align=off,sleep=on | ||
| -rtc clock=vm) | ||
| -icount shift=${CONFIG_QEMU_ICOUNT_SHIFT},align=off,sleep=on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these changes are not valid with this alignment



This PR introduces a Python-based QEMU runner (
scripts/west_commands/runners/qemu.py)as part of the effort to deprecate the legacy
cmake/emu/qemu.cmake.Key points:
west runintegrationTested on:
qemu_x86board runningsamples/hello_world(successful boot and output)This addresses part of zephyrproject-rtos/zephyr#5501
and sets the foundation for full migration from CMake to Python-based QEMU runner.