Skip to contentSkip to conversation

qemu-x86: switch to generic q35 and document nographic

PATCH In review [email protected] 2 participants 4 messages Feb 3 – Feb 5

lore
Share & tools
lore
#0 lore raw

cover qemu-x86: switch to generic q35 and document nographic

From: Charles Dias <[email protected]>

This small series updates qemu-x86 to use the generic q35 machine type and documents how to request a terminal-only console via runqemu.

Context: https://lists.openembedded.org/g/openembedded-core/topic/patch_runqemu_parse/117568097

Charles Dias (2):
qemu-x86: update QEMU configuration
README: mention runqemu nographic

 README.md                                  | 5 ++++-
 meta-zephyr-bsp/conf/machine/qemu-x86.conf | 3 +--
 2 files changed, 5 insertions(+), 3 deletions(-)
#1 lore raw

PATCH 1/2 qemu-x86: update QEMU configuration

From: Charles Dias <[email protected]>

Remove QB_MACHINE and use generic q35 machine, type=pc-q35-2.10 is not supported.

---
 meta-zephyr-bsp/conf/machine/qemu-x86.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-zephyr-bsp/conf/machine/qemu-x86.conf +1 -2
index 9551523..288504f 100644
@@ -9,8 +9,7 @@ ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
 
 # For runqemu
 QB_SYSTEM_NAME = "qemu-system-i386"
-QB_MACHINE = "-machine type=pc-q35-2.10"
-QB_GRAPHICS = "-nographic -machine acpi=off"
+QB_MACHINE = "-machine type=q35,acpi=off"
 QB_CPU:x86 = "-cpu qemu32,+nx,+pae"
 QB_CPU_KVM:x86 = "-cpu kvm32"
 
#2 lore raw

PATCH 2/2 README: mention runqemu nographic

In reply to [email protected]

From: Charles Dias <[email protected]>

---
 README.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
README.md +4 -1
index 4094eb8..d360de1 100644
@@ -42,7 +42,7 @@ Initialize default build configuration with bitbake-setup:
 ```console
 ./bitbake/bin/bitbake-setup init --non-interactive \
   ./meta-zephyr/zephyr-master.conf.json \
-  zephyr-default distro/zephy machine/qemu-x86
+  zephyr-default distro/zephyr machine/qemu-x86
 ```
 
 Alternatively, run bitbake-setup with interactive mode to choose for
@@ -82,6 +82,9 @@ You can then run the created "philosophers" image in qemu:
 runqemu
 ```
 
+For a terminal-only console, pass `nographic` on the runqemu command line, for example
+`runqemu nographic`.
+
 The same sample can be built for other machines/boards, for example ARM Cortex-M3:
 
 ```console
Reviewed-by on the v1 series
#3 lore raw
In reply to [email protected]

Patch looks good to me.

Quoted 26 lines · Charles Dias via lists.yoctoproject.org

From: Charles Dias <[email protected]>

This small series updates qemu-x86 to use the generic q35 machine type and documents how to request a terminal-only console via runqemu.

Context: https://lists.openembedded.org/g/openembedded-core/topic/patch_runqemu_parse/117568097

Charles Dias (2):
qemu-x86: update QEMU configuration
README: mention runqemu nographic

  README.md                                  | 5 ++++-
  meta-zephyr-bsp/conf/machine/qemu-x86.conf | 3 +--
  2 files changed, 5 insertions(+), 3 deletions(-)

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3175): https://lists.yoctoproject.org/g/yocto-patches/message/3175
Mute This Topic: https://lists.yoctoproject.org/mt/117616207/3619217
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/14411013/3619217/657730681/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-