[meta-zephyr] qemu-x86: set new -machine value for QEMU

Submitted by Naveen Saini on May 21, 2021, 1:46 a.m. | Patch ID: 179737

Details

Message ID 20210521014623.5293-1-naveen.kumar.saini@intel.com
State New
Headers show

Commit Message

Naveen Saini May 21, 2021, 1:46 a.m.
-machine type=pc-1.3 is deprecated with QEMU 5.1.0

Error:
machine runqemu - ERROR - Failed
to run qemu: qemu-system-i386: unsupported machine type

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
 conf/machine/qemu-x86.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/conf/machine/qemu-x86.conf b/conf/machine/qemu-x86.conf
index ce79b5b..85b3f0d 100644
--- a/conf/machine/qemu-x86.conf
+++ b/conf/machine/qemu-x86.conf
@@ -9,7 +9,7 @@  ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
 
 # For runqemu
 QB_SYSTEM_NAME = "qemu-system-i386"
-QB_MACHINE = "-machine type=pc-1.3"
+QB_MACHINE = "-machine type=pc-q35-2.10"
 QB_OPT_APPEND = "-nographic -no-acpi"
 QB_CPU_x86 = "-cpu qemu32,+nx,+pae"
 QB_CPU_KVM_x86 = "-cpu kvm32"