diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2025-06-04 14:55:01 +0800 |
|---|---|---|
| committer | Song Gao <gaosong@loongson.cn> | 2025-06-10 11:53:27 +0800 |
| commit | 9c55c03c05c1899521ff0c991b9296633d759890 (patch) | |
| tree | 3c189977c962c1312384f49f212fb2cfc0739322 /rust/qemu-api/src/lib.rs | |
| parent | bc98ffdc7577e55ab8373c579c28fe24d600c40f (diff) | |
| download | focaccia-qemu-9c55c03c05c1899521ff0c991b9296633d759890.tar.gz focaccia-qemu-9c55c03c05c1899521ff0c991b9296633d759890.zip | |
hw/loongarch/virt: Fix big endian support with MCFG table
With API build_mcfg(), it is not necessary with parameter structure
AcpiMcfgInfo to convert to little endian since it is directly used
with host native endian.
Here remove endian conversion before calling function build_mcfg().
With this patch, bios-tables-test passes to run on big endian host
machine S390.
Fixes: 735143f10d3e ("hw/loongarch: Add acpi ged support")
Cc: qemu-stable@nongnu.org
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20250604065502.1114098-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'rust/qemu-api/src/lib.rs')
0 files changed, 0 insertions, 0 deletions