diff options
author | Simone Weiß <simone.p.weiss@posteo.com> | 2024-01-17 20:29:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-21 12:27:12 +0000 |
commit | 97fd704adcfcad439c5e4af390916434da07da98 (patch) | |
tree | 8ad1beaff44bd9cf1c24156f3df22763a5195e16 /meta/conf/machine | |
parent | d3b109684ac8cd79a8b148dcc0147d0843c0776c (diff) | |
download | poky-97fd704adcfcad439c5e4af390916434da07da98.tar.gz |
tune-core2: Update qemu cpu to supported model
Fixes [YOCTO #12388]
QEMUs documentation does recommend to not use n270 and core2duo as
an argument to -cpu anymore. See also the QEMU documentation for this at
[0].
Update therefore the QEMU cpu option for the core2duo tune to Nehalam.
Tested it locally with QEMU and KVM.
[0]: https://qemu-project.gitlab.io/qemu/system/qemu-cpu-models.html#other-non-recommended-x86-cpus
(From OE-Core rev: f2383a2bff3eb756740ecaf48147bea89303e443)
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/x86/tune-core2.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/conf/machine/include/x86/tune-core2.inc b/meta/conf/machine/include/x86/tune-core2.inc index 97b7c1b188..082fd4efc3 100644 --- a/meta/conf/machine/include/x86/tune-core2.inc +++ b/meta/conf/machine/include/x86/tune-core2.inc | |||
@@ -21,18 +21,18 @@ TUNE_FEATURES:tune-core2-32 = "${TUNE_FEATURES:tune-x86} core2" | |||
21 | BASE_LIB:tune-core2-32 = "lib" | 21 | BASE_LIB:tune-core2-32 = "lib" |
22 | TUNE_PKGARCH:tune-core2-32 = "core2-32" | 22 | TUNE_PKGARCH:tune-core2-32 = "core2-32" |
23 | PACKAGE_EXTRA_ARCHS:tune-core2-32 = "${PACKAGE_EXTRA_ARCHS:tune-i686} core2-32" | 23 | PACKAGE_EXTRA_ARCHS:tune-core2-32 = "${PACKAGE_EXTRA_ARCHS:tune-i686} core2-32" |
24 | QEMU_EXTRAOPTIONS_core2-32 = " -cpu n270" | 24 | QEMU_EXTRAOPTIONS_core2-32 = " -cpu Nehalem,check=false" |
25 | 25 | ||
26 | AVAILTUNES += "core2-64" | 26 | AVAILTUNES += "core2-64" |
27 | TUNE_FEATURES:tune-core2-64 = "${TUNE_FEATURES:tune-x86-64} core2" | 27 | TUNE_FEATURES:tune-core2-64 = "${TUNE_FEATURES:tune-x86-64} core2" |
28 | BASE_LIB:tune-core2-64 = "lib64" | 28 | BASE_LIB:tune-core2-64 = "lib64" |
29 | TUNE_PKGARCH:tune-core2-64 = "core2-64" | 29 | TUNE_PKGARCH:tune-core2-64 = "core2-64" |
30 | PACKAGE_EXTRA_ARCHS:tune-core2-64 = "${PACKAGE_EXTRA_ARCHS:tune-x86-64} core2-64" | 30 | PACKAGE_EXTRA_ARCHS:tune-core2-64 = "${PACKAGE_EXTRA_ARCHS:tune-x86-64} core2-64" |
31 | QEMU_EXTRAOPTIONS_core2-64 = " -cpu core2duo" | 31 | QEMU_EXTRAOPTIONS_core2-64 = " -cpu Nehalem,check=false" |
32 | 32 | ||
33 | AVAILTUNES += "core2-64-x32" | 33 | AVAILTUNES += "core2-64-x32" |
34 | TUNE_FEATURES:tune-core2-64-x32 = "${TUNE_FEATURES:tune-x86-64-x32} core2" | 34 | TUNE_FEATURES:tune-core2-64-x32 = "${TUNE_FEATURES:tune-x86-64-x32} core2" |
35 | BASE_LIB:tune-core2-64-x32 = "libx32" | 35 | BASE_LIB:tune-core2-64-x32 = "libx32" |
36 | TUNE_PKGARCH:tune-core2-64-x32 = "core2-64-x32" | 36 | TUNE_PKGARCH:tune-core2-64-x32 = "core2-64-x32" |
37 | PACKAGE_EXTRA_ARCHS:tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS:tune-x86-64-x32} core2-64-x32" | 37 | PACKAGE_EXTRA_ARCHS:tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS:tune-x86-64-x32} core2-64-x32" |
38 | QEMU_EXTRAOPTIONS_core2-64-x32 = " -cpu core2duo" | 38 | QEMU_EXTRAOPTIONS_core2-64-x32 = " -cpu Nehalem,check=false" |