* [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4
@ 2024-09-25 7:24 Thomas Huth
2024-09-26 10:24 ` Michael Tokarev
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2024-09-25 7:24 UTC (permalink / raw)
To: qemu-devel, Kevin Wolf, Hanna Reitz
Cc: qemu-block, qemu-trivial, Philippe Mathieu-Daudé,
Yoshinori Sato, Magnus Damm
Commit 0ea0538fae516f9b4 removed the default machine of the sh4
binaries, so a lot of iotests are failing now without such a default
machine. Teach the iotest harness to use the "r2d" machine instead
to fix this problem.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
v2: "r2d" only works on little endian, so don't try to use it for sh4eb
tests/qemu-iotests/testenv.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qemu-iotests/testenv.py b/tests/qemu-iotests/testenv.py
index 0b32eec119..8cd620c202 100644
--- a/tests/qemu-iotests/testenv.py
+++ b/tests/qemu-iotests/testenv.py
@@ -244,6 +244,7 @@ def __init__(self, source_dir: str, build_dir: str,
('riscv32', 'virt'),
('riscv64', 'virt'),
('rx', 'gdbsim-r5f562n8'),
+ ('sh4', 'r2d'),
('tricore', 'tricore_testboard')
)
for suffix, machine in machine_map:
--
2.46.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4
2024-09-25 7:24 [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4 Thomas Huth
@ 2024-09-26 10:24 ` Michael Tokarev
2024-09-26 10:55 ` Thomas Huth
0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2024-09-26 10:24 UTC (permalink / raw)
To: Thomas Huth, qemu-devel, Kevin Wolf, Hanna Reitz
Cc: qemu-block, qemu-trivial, Philippe Mathieu-Daudé,
Yoshinori Sato, Magnus Damm
25.09.2024 10:24, Thomas Huth wrote:
> Commit 0ea0538fae516f9b4 removed the default machine of the sh4
> binaries, so a lot of iotests are failing now without such a default
> machine. Teach the iotest harness to use the "r2d" machine instead
> to fix this problem.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> v2: "r2d" only works on little endian, so don't try to use it for sh4eb
Hm. The v1 of this patch (with sh4eb addition) has already been merged
to master.
I did a single pull request during my vacation (a week ago), and it contained
a very fresh patch which received further discussion after I picked it up, but
I haven't noticed.
So we should now remove the already added sh4eb from there, it looks like.. :(
I'll submit a patch doing that later today, hopefully.
Thanks,
/mjt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4
2024-09-26 10:24 ` Michael Tokarev
@ 2024-09-26 10:55 ` Thomas Huth
2024-09-26 12:52 ` Michael Tokarev
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2024-09-26 10:55 UTC (permalink / raw)
To: Michael Tokarev, qemu-devel, Kevin Wolf, Hanna Reitz
Cc: qemu-block, qemu-trivial, Philippe Mathieu-Daudé,
Yoshinori Sato, Magnus Damm
On 26/09/2024 12.24, Michael Tokarev wrote:
> 25.09.2024 10:24, Thomas Huth wrote:
>> Commit 0ea0538fae516f9b4 removed the default machine of the sh4
>> binaries, so a lot of iotests are failing now without such a default
>> machine. Teach the iotest harness to use the "r2d" machine instead
>> to fix this problem.
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> v2: "r2d" only works on little endian, so don't try to use it for sh4eb
>
> Hm. The v1 of this patch (with sh4eb addition) has already been merged
> to master.
>
> I did a single pull request during my vacation (a week ago), and it contained
> a very fresh patch which received further discussion after I picked it up, but
> I haven't noticed.
>
> So we should now remove the already added sh4eb from there, it looks like.. :(
>
> I'll submit a patch doing that later today, hopefully.
I'm planning to provide a patch to remove sh4eb-softmmu completely (since it
is useless nowadays) ... I can add it there, too.
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4
2024-09-26 10:55 ` Thomas Huth
@ 2024-09-26 12:52 ` Michael Tokarev
0 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2024-09-26 12:52 UTC (permalink / raw)
To: Thomas Huth, qemu-devel, Kevin Wolf, Hanna Reitz
Cc: qemu-block, qemu-trivial, Philippe Mathieu-Daudé,
Yoshinori Sato, Magnus Damm
26.09.2024 13:55, Thomas Huth wrote:
..
> I'm planning to provide a patch to remove sh4eb-softmmu completely (since it is useless nowadays) ... I can add it there, too.
That'll do it too, for sure.
Thanks,
/mjt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-26 12:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 7:24 [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4 Thomas Huth
2024-09-26 10:24 ` Michael Tokarev
2024-09-26 10:55 ` Thomas Huth
2024-09-26 12:52 ` Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).