[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option
From: |
BALATON Zoltan |
Subject: |
[PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option |
Date: |
Wed, 4 Jan 2023 22:59:41 +0100 (CET) |
Setting emulated machine type with a property called "via" is
confusing users so deprecate the "via" option in favour of newly added
explicit machine types. The default via=cuda option is not a valid
config (no real Mac has this combination of hardware) so no machine
type could be defined for that therefore it is kept for backwards
compatibility with older QEMU versions for now but other options
resembling real machines are deprecated.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
hw/ppc/mac_newworld.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c
index f07c37328b..adf185bd3a 100644
--- a/hw/ppc/mac_newworld.c
+++ b/hw/ppc/mac_newworld.c
@@ -169,6 +169,15 @@ static void ppc_core99_init(MachineState *machine)
if (PPC_INPUT(env) == PPC_FLAGS_INPUT_970) {
warn_report("mac99 with G5 CPU is deprecated, "
"use powermac7_3 instead");
+ } else {
+ if (core99_machine->via_config == CORE99_VIA_CONFIG_PMU) {
+ warn_report("mac99,via=pmu is deprecated, "
+ "use powermac3_1 instead");
+ }
+ if (core99_machine->via_config == CORE99_VIA_CONFIG_PMU_ADB) {
+ warn_report("mac99,via=pmu-adb is deprecated, "
+ "use powerbook3_2 instead");
+ }
}
}
/* allocate RAM */
--
2.30.6
- [PATCH v7 0/7] Misc ppc/mac machines clean up, BALATON Zoltan, 2023/01/04
- [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option,
BALATON Zoltan <=
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, Philippe Mathieu-Daudé, 2023/01/05
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, Mark Cave-Ayland, 2023/01/10
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, BALATON Zoltan, 2023/01/10
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, Howard Spoelstra, 2023/01/12
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, BALATON Zoltan, 2023/01/12
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, Howard Spoelstra, 2023/01/13
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, BALATON Zoltan, 2023/01/13
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, Mark Cave-Ayland, 2023/01/22
- Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option, BALATON Zoltan, 2023/01/22