[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 17/19] mac_newworld: Deprecate mac99 "via" option
From: |
BALATON Zoltan |
Subject: |
[PATCH v6 17/19] mac_newworld: Deprecate mac99 "via" option |
Date: |
Fri, 28 Oct 2022 13:56:33 +0200 (CEST) |
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 2bba29686d..4ca9ab3e03 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 v6 05/19] mac_newworld: Clean up creation of Uninorth devices, (continued)
- [PATCH v6 05/19] mac_newworld: Clean up creation of Uninorth devices, BALATON Zoltan, 2022/10/28
- [PATCH v6 14/19] mac_newworld: Turn CORE99_VIA_CONFIG defines into an enum, BALATON Zoltan, 2022/10/28
- [PATCH v6 16/19] mac_newworld: Deprecate mac99 with G5 CPU, BALATON Zoltan, 2022/10/28
- [PATCH v6 18/19] mac_newworld: Document deprecation, BALATON Zoltan, 2022/10/28
- [PATCH v6 09/19] hw/ppc/mac.h: Move grackle-pcihost type declaration out to a header, BALATON Zoltan, 2022/10/28
- [PATCH v6 12/19] mac_nvram: Use NVRAM_SIZE constant, BALATON Zoltan, 2022/10/28
- [PATCH v6 10/19] hw/ppc/mac.h: Move PROM and KERNEL defines to board code, BALATON Zoltan, 2022/10/28
- [PATCH v6 15/19] mac_newworld: Add machine types for different mac99 configs, BALATON Zoltan, 2022/10/28
- [PATCH v6 19/19] mac_{old, new}world: Pass MacOS VGA NDRV in card ROM instead of fw_cfg, BALATON Zoltan, 2022/10/28
- [PATCH v6 17/19] mac_newworld: Deprecate mac99 "via" option,
BALATON Zoltan <=
- [PATCH v6 07/19] hw/ppc/mac.h: Move newworld specific parts out from shared header, BALATON Zoltan, 2022/10/28
- [PATCH v6 11/19] hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h, BALATON Zoltan, 2022/10/28
- [PATCH v6 13/19] mac_{old|new}world: Code style fix adding missing braces to if-s, BALATON Zoltan, 2022/10/28
- [PATCH v6 08/19] hw/ppc/mac.h: Move macio specific parts out from shared header, BALATON Zoltan, 2022/10/28
- Re: [PATCH v6 00/19] Misc ppc/mac machines clean up, Mark Cave-Ayland, 2022/10/30