summary refs log tree commit diff stats
path: root/tests/qtest/endianness-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-10-24 10:27:34 +0200
committerThomas Huth <thuth@redhat.com>2024-11-04 14:16:11 +0100
commit51cdb6806f405062c2bda3f527e98aaf259d6116 (patch)
tree5edbd15b3aa0add54888e4a000862f59bd7df5fe /tests/qtest/endianness-test.c
parent786bc2255256c11efa4c0e689cc9ae3351f2405d (diff)
downloadfocaccia-qemu-51cdb6806f405062c2bda3f527e98aaf259d6116.tar.gz
focaccia-qemu-51cdb6806f405062c2bda3f527e98aaf259d6116.zip
Revert "Remove the unused sh4eb target"
This reverts commit 73ceb12960e686b763415f0880cc5171ccce01cf.

The "r2d" machine can work in big endian mode, see:

 https://lore.kernel.org/qemu-devel/d6755445-1060-48a8-82b6-2f392c21f9b9@landley.net/

So the reasoning for removing sh4eb was wrong.

Message-ID: <20241024082735.42324-2-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Rob Landley <rob@landley.net>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/endianness-test.c')
-rw-r--r--tests/qtest/endianness-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/endianness-test.c b/tests/qtest/endianness-test.c
index f4872b0283..222d116fae 100644
--- a/tests/qtest/endianness-test.c
+++ b/tests/qtest/endianness-test.c
@@ -41,6 +41,7 @@ static const TestCase test_cases[] = {
     { "ppc64", "pseries-2.7", 0x10080000000ULL,
       .bswap = true, .superio = "i82378" },
     { "sh4", "r2d", 0xfe240000, .superio = "i82378" },
+    { "sh4eb", "r2d", 0xfe240000, .bswap = true, .superio = "i82378" },
     { "sparc64", "sun4u", 0x1fe02000000LL, .bswap = true },
     { "x86_64", "pc", -1 },
     {}