[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.0] tests/acpi-test: do not run iasl on big end
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-devel] [PATCH for-2.0] tests/acpi-test: do not run iasl on big endian machines |
Date: |
Thu, 20 Mar 2014 19:47:32 +0200 |
There is an issue with iasl on big endian machines: It
cannot disassemble acpi tables taken from little endian
machines, so we cannot check the expected tables.
Do not run iasl on those machines until this
problem is solved by the acpica community.
Signed-off-by: Marcel Apfelbaum <address@hidden>
---
tests/acpi-test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/acpi-test.c b/tests/acpi-test.c
index 249fe03..af44e47 100644
--- a/tests/acpi-test.c
+++ b/tests/acpi-test.c
@@ -145,8 +145,10 @@ static uint8_t boot_sector[0x7e000] = {
static const char *disk = "tests/acpi-test-disk.raw";
static const char *data_dir = "tests/acpi-test-data";
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
#ifdef CONFIG_IASL
static const char *iasl = stringify(CONFIG_IASL);
+#endif
#else
static const char *iasl;
#endif
--
1.8.3.1
- [Qemu-devel] [PATCH for-2.0] tests/acpi-test: do not run iasl on big endian machines,
Marcel Apfelbaum <=