From: Richard Purdie Date: Tue, 11 May 2021 09:50:10 +0000 (+0100) Subject: qemuboot-x86: Switch to IvyBridge and q35 instead of pc X-Git-Tag: uninative-3.2~82 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6d9f25782bd585e89c5aaf7046266c848f1e581b;p=openembedded-core.git qemuboot-x86: Switch to IvyBridge and q35 instead of pc Move from 1996 to 2009 by swapping machine 'pc' for 'q35'. Also move to a CPU which is SMP capable and doesn't have tsc bugs. IvyBridge matches what we're using on the autobuilder. The intent here is to try and improve on some of the intermittent autobuilder issues we're seeing. I'm told that nobody else runs with config this old and it could well be contributing to our issues. Having reliable testing is key to the project and justifies updating this IMO. Signed-off-by: Richard Purdie --- diff --git a/meta/conf/machine/include/qemuboot-x86.inc b/meta/conf/machine/include/qemuboot-x86.inc index 9b1e1c4975..0038540027 100644 --- a/meta/conf/machine/include/qemuboot-x86.inc +++ b/meta/conf/machine/include/qemuboot-x86.inc @@ -1,11 +1,11 @@ # For runqemu IMAGE_CLASSES += "qemuboot" QB_SMP = "-smp 4" -QB_CPU_x86 = "-cpu core2duo" -QB_CPU_KVM_x86 = "-cpu core2duo" +QB_CPU_x86 = "-cpu IvyBridge -machine q35" +QB_CPU_KVM_x86 = "-cpu IvyBridge -machine q35" -QB_CPU_x86-64 = "-cpu core2duo" -QB_CPU_KVM_x86-64 = "-cpu core2duo" +QB_CPU_x86-64 = "-cpu IvyBridge -machine q35" +QB_CPU_KVM_x86-64 = "-cpu IvyBridge -machine q35" QB_AUDIO_DRV = "alsa" QB_AUDIO_OPT = "-soundhw ac97,es1370"