Message ID | 20250429140825.25964-1-philmd@linaro.org |
---|---|
Headers | show |
Series | hw/i386/pc: Remove deprecated 2.4 and 2.5 PC machines | expand |
On 29/04/2025 16.08, Philippe Mathieu-Daudé wrote: > Since v1: > - Fixed issues noticed by Thomas > > The versioned 'pc' and 'q35' machines up to 2.12 been marked > as deprecated two releases ago, and are older than 6 years, > so according to our support policy we can remove them. > > This series only includes the 2.4 and 2.5 machines removal, > as it is a big enough number of LoC removed. Rest will > follow. Highlight is the legacy fw_cfg API removal :) There is one more occurance of "pc-i440fx-2.4" in tests/qtest/test-x86-cpuid-compat.c which could get removed now, too. But this can also be done in a separate patch later, this patch series here should now be good to go, I think. Thomas
On 5/5/25 10:23, Thomas Huth wrote: > On 29/04/2025 16.08, Philippe Mathieu-Daudé wrote: >> Since v1: >> - Fixed issues noticed by Thomas >> >> The versioned 'pc' and 'q35' machines up to 2.12 been marked >> as deprecated two releases ago, and are older than 6 years, >> so according to our support policy we can remove them. >> >> This series only includes the 2.4 and 2.5 machines removal, >> as it is a big enough number of LoC removed. Rest will >> follow. Highlight is the legacy fw_cfg API removal :) > > There is one more occurance of "pc-i440fx-2.4" in tests/qtest/test-x86- > cpuid-compat.c which could get removed now, too. But this can also be > done in a separate patch later, this patch series here should now be > good to go, I think. Thanks! Paolo, Michael, if you Ack I can post a PR squashing in patch #1: -- >8 -- diff --git a/tests/qtest/test-x86-cpuid-compat.c b/tests/qtest/test-x86-cpuid-compat.c index c9de47bb269..456e2af6657 100644 --- a/tests/qtest/test-x86-cpuid-compat.c +++ b/tests/qtest/test-x86-cpuid-compat.c @@ -368,14 +367,0 @@ int main(int argc, char **argv) - /* - * xlevel doesn't have any feature that triggers auto-level - * code on old machine-types. Just check that the compat code - * is working correctly: - */ - if (qtest_has_machine("pc-i440fx-2.4")) { - add_cpuid_test("x86/cpuid/xlevel-compat/pc-i440fx-2.4/npt-off", - "SandyBridge", NULL, "pc-i440fx-2.4", - "xlevel", 0x80000008); - add_cpuid_test("x86/cpuid/xlevel-compat/pc-i440fx-2.4/npt-on", - "SandyBridge", "svm=on,npt=on", "pc-i440fx-2.4", - "xlevel", 0x80000008); - } - --- Otherwise I can also respin. Thanks, Phil.