On 20/02/2024 13.41, Bibo Mao wrote:
This patch adds migration test support for loongarch64. The test code
comes from aarch64 mostly, only that it it booted as bios in qemu since
kernel requires elf format and bios uses binary format.

In addition to providing the binary, this patch also includes the source
code and the build script in tests/migration/loongarch64. So users can
change the source and/or re-compile the binary as they wish.

Signed-off-by: Bibo Mao <maob...@loongson.cn>
---
  tests/migration/Makefile                 |  2 +-
  tests/migration/loongarch64/Makefile     | 18 ++++++++++
  tests/migration/loongarch64/a-b-kernel.S | 46 ++++++++++++++++++++++++
  tests/migration/loongarch64/a-b-kernel.h | 13 +++++++
  tests/migration/migration-test.h         |  3 ++
  tests/qtest/meson.build                  |  4 +++
  tests/qtest/migration-test.c             | 10 ++++++
  7 files changed, 95 insertions(+), 1 deletion(-)
  create mode 100644 tests/migration/loongarch64/Makefile
  create mode 100644 tests/migration/loongarch64/a-b-kernel.S
  create mode 100644 tests/migration/loongarch64/a-b-kernel.h

FWIW:
Acked-by: Thomas Huth <th...@redhat.com>


Reply via email to