qemu-kvm/kvm-x86-cpu-update-deprecation-string-to-match-lowest-un.patch

39 lines
1.3 KiB
Diff

From 03615078bc2e2f238e3eb00b11f697a7e68477df Mon Sep 17 00:00:00 2001
From: Ani Sinha <anisinha@redhat.com>
Date: Tue, 20 Aug 2024 13:32:49 +0530
Subject: [PATCH] x86/cpu: update deprecation string to match lowest
undeprecated model
RH-Author: Ani Sinha <anisinha@redhat.com>
RH-MergeRequest: 264: x86/cpu: update deprecation string to match lowest undeprecated model
RH-Jira: RHEL-54260
RH-Commit: [1/1] 834ef2694b441431c3da48fefde307eea96d90e4 (anisinha/centos-qemu-kvm)
Commit a581f2824dce64 ("x86/cpu: deprecate cpu models that do not support x86-64-v3")
deprecated a bunch of cpu models in RHEL-10 that do not support x86-64-v3. The
deprecation string was not updated to match what was the lowest model that was
still available and not deprecated. Update the string to reflect the new
reality.
Signed-off-by: Ani Sinha <anisinha@redhat.com>
---
target/i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 3eac3135a6..46f82974fb 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -2191,7 +2191,7 @@ static const CPUCaches epyc_genoa_cache_info = {
*/
#define RHEL_CPU_DEPRECATION \
- "use at least 'Nehalem' / 'Opteron_G4', or 'host' / 'max'"
+ "use at least 'Haswell' / 'EPYC', or 'host' / 'max'"
static const X86CPUDefinition builtin_x86_defs[] = {
{
--
2.39.3