hw/arm: Re-enable the MAX78000FTHR machine in qemu-system-arm/aarch64
PATCH 1/1 hw/arm: Re-enable the MAX78000FTHR machine in qemu-system-arm/aarch64
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit 38c5ab40031 ("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit 51eb283dd0e. Correct that.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
--- hw/arm/max78000fthr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hw/arm/max78000fthr.c +2 -1
@@ -12,6 +12,7 @@#include "hw/qdev-properties.h" #include "hw/qdev-clock.h" #include "qemu/error-report.h" +#include "hw/arm/machines-qom.h" #include "hw/arm/max78000_soc.h" #include "hw/arm/boot.h"
@@ -47,4 +48,4 @@ static void max78000_machine_init(MachineClass *mc) mc->valid_cpu_types = valid_cpu_types; } -DEFINE_MACHINE ("max78000fthr" , max78000_machine_init) +DEFINE_MACHINE_ARM ("max78000fthr" , max78000_machine_init)
Signature · 1 line
2.52.0
Quoted 10 lines · Philippe Mathieu-Daudé
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit51eb283dd0e. Correct that.Reported-by Thomas Huth <[email protected]>Tested-by Thomas Huth <[email protected]>Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
We have a functional test for this machine
(tests/functional/arm/test_max78000fthr.py)
so I don't understand how we missed this.
Quoted 5 lines
Fixes 38c5ab40031 ("hw/arm: Filter machine types for single binary")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/max78000fthr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 8 lines · Philippe Mathieu-Daudé
Quoted 7 lines · Philippe Mathieu-Daudé
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit51eb283dd0e. Correct that.
Quoted 7 lines
Quoted 3 lines
Reported-by Thomas Huth <[email protected]>Tested-by Thomas Huth <[email protected]>Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
We have a functional test for this machine
(tests/functional/arm/test_max78000fthr.py)
so I don't understand how we missed this.
The functional tests are skipped if a machine is not available in the binary, otherwise the test would fail if you'd configure your QEMU with less machines.
Thomas
Quoted 7 lines · Philippe Mathieu-Daudé
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit51eb283dd0e. Correct that.
Quoted 8 lines
Reported-by Thomas Huth <[email protected]>Tested-by Thomas Huth <[email protected]>Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
Fixes 38c5ab40031 ("hw/arm: Filter machine types for single binary")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/max78000fthr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Per https://lore.kernel.org/qemu-devel/[email protected]/:
Quoted 17 lines · Philippe Mathieu-Daudé
Quoted 7 lines · Philippe Mathieu-Daudé
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit51eb283dd0e. Correct that.Quoted 8 lines
Reported-by Thomas Huth <[email protected]>Tested-by Thomas Huth <[email protected]>Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
Fixes 38c5ab40031 ("hw/arm: Filter machine types for single binary")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/max78000fthr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 2 lines
Per https://lore.kernel.org/qemu-devel/[email protected]/:
Tested-by Markus Armbruster <[email protected]>
Fair :)
Peter Maydell
AppliedQuoted 8 lines · Philippe Mathieu-Daudé
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit51eb283dd0e. Correct that.
Quoted 8 lines
Reported-by Thomas Huth <[email protected]>Tested-by Thomas Huth <[email protected]>Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
Fixes 38c5ab40031 ("hw/arm: Filter machine types for single binary")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/max78000fthr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to target-arm.next, thanks.
Should we cc stable? (My feeling is 'yes'.)
-- PMM
Quoted 18 lines · Peter Maydell
Quoted 8 lines · Philippe Mathieu-Daudé
Unfortunately while rebasing the series registering the ARM/Aarch64 machine interfaces and getting it merged as commit
38c5ab40031("hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries") we missed the recent addition of the MAX78000FTHR machine in commit51eb283dd0e. Correct that.Quoted 8 lines
Reported-by Thomas Huth <[email protected]>Tested-by Thomas Huth <[email protected]>Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3248
Fixes 38c5ab40031 ("hw/arm: Filter machine types for single binary")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/max78000fthr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 3 lines
Applied to target-arm.next, thanks.
Should we cc stable? (My feeling is 'yes'.)
The bug went into 10.2, so I'd say "yes".
Thomas