[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/9] aspeed: Make the ast2600-a3 SoC not user creatable
From: |
Thomas Huth |
Subject: |
[PULL 4/9] aspeed: Make the ast2600-a3 SoC not user creatable |
Date: |
Mon, 25 Mar 2024 15:12:05 +0100 |
From: Cédric Le Goater <clg@redhat.com>
Aspeed SoCs are complex devices that can not be specified on the
command line. Fix that to avoid QEMU aborts.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2227
Fixes: f25c0ae1079d ("aspeed/soc: Add AST2600 support")
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240319150903.413662-1-clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/arm/aspeed_ast2600.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c
index 174be53770..31713de74a 100644
--- a/hw/arm/aspeed_ast2600.c
+++ b/hw/arm/aspeed_ast2600.c
@@ -656,6 +656,8 @@ static void aspeed_soc_ast2600_class_init(ObjectClass *oc,
void *data)
AspeedSoCClass *sc = ASPEED_SOC_CLASS(oc);
dc->realize = aspeed_soc_ast2600_realize;
+ /* Reason: The Aspeed SoC can only be instantiated from a board */
+ dc->user_creatable = false;
sc->name = "ast2600-a3";
sc->valid_cpu_types = valid_cpu_types;
--
2.44.0
- [PULL 0/9] Patches for QEMU 9.0-rc1, Thomas Huth, 2024/03/25
- [PULL 1/9] .travis.yml: Shorten the runtime of the problematic jobs, Thomas Huth, 2024/03/25
- [PULL 2/9] .travis.yml: Remove the unused xfslib-dev package, Thomas Huth, 2024/03/25
- [PULL 3/9] hw/microblaze: Do not allow xlnx-zynqmp-pmu-soc to be created by the user, Thomas Huth, 2024/03/25
- [PULL 4/9] aspeed: Make the ast2600-a3 SoC not user creatable,
Thomas Huth <=
- [PULL 7/9] libqos/virtio.c: Correct 'flags' reading in qvirtqueue_kick, Thomas Huth, 2024/03/25
- [PULL 5/9] aspeed: Make the ast1030-a1 SoC not user creatable, Thomas Huth, 2024/03/25
- [PULL 8/9] target/s390x: Use mutable temporary value for op_ts, Thomas Huth, 2024/03/25
- [PULL 9/9] tests/tcg/s390x: Test TEST AND SET, Thomas Huth, 2024/03/25
- [PULL 6/9] misc/pca955*: Move models under hw/gpio, Thomas Huth, 2024/03/25
- Re: [PULL 0/9] Patches for QEMU 9.0-rc1, Peter Maydell, 2024/03/25