From 0b7cd51861d444ba8b1abf189efb7ffd496831a9 Mon Sep 17 00:00:00 2001 From: Maksim Fedotov Date: Mon, 18 May 2026 15:19:17 +0300 Subject: [PATCH] remove patch from nehalem Signed-off-by: Maksim Fedotov --- .../qemu/patches/002-remove-nehalem-ht.patch | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 images/qemu/patches/002-remove-nehalem-ht.patch diff --git a/images/qemu/patches/002-remove-nehalem-ht.patch b/images/qemu/patches/002-remove-nehalem-ht.patch deleted file mode 100644 index e1b5b492b7..0000000000 --- a/images/qemu/patches/002-remove-nehalem-ht.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/target/i386/cpu.c b/target/i386/cpu.c -index 78308a82a0..d5f3f5276e 100644 ---- a/target/i386/cpu.c -+++ b/target/i386/cpu.c -@@ -2213,6 +2213,7 @@ typedef struct X86CPUDefinition { - int stepping; - uint8_t avx10_version; - FeatureWordArray features; -+ FeatureWordArray filtered_features; - const char *model_id; - const CPUCaches *const cache_info; - /* -@@ -3708,6 +3709,7 @@ static const X86CPUDefinition builtin_x86_defs[] = { - CPUID_PGE | CPUID_MTRR | CPUID_SEP | CPUID_APIC | CPUID_CX8 | - CPUID_MCE | CPUID_PAE | CPUID_MSR | CPUID_TSC | CPUID_PSE | - CPUID_DE | CPUID_FP87, -+ .filtered_features[FEAT_1_EDX] = CPUID_HT, - .features[FEAT_1_ECX] = - CPUID_EXT_POPCNT | CPUID_EXT_SSE42 | CPUID_EXT_SSE41 | - CPUID_EXT_CX16 | CPUID_EXT_SSSE3 | CPUID_EXT_SSE3, -@@ -7735,6 +7737,7 @@ static void x86_cpu_load_model(X86CPU *cpu, const X86CPUModel *model) - &error_abort); - for (w = 0; w < FEATURE_WORDS; w++) { - env->features[w] = def->features[w]; -+ cpu->filtered_features[w] |= def->filtered_features[w]; - } - - /* legacy-cache defaults to 'off' if CPU model provides cache info */