All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Bibo Mao <maobibo@loongson.cn>
Cc: Fabiano Rosas <farosas@suse.de>,
	Laurent Vivier <lvivier@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Song Gao <gaosong@loongson.cn>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH v2] tests/qtest/migration: Add migration test on loongarch
Date: Thu, 11 Jun 2026 13:56:07 -0400	[thread overview]
Message-ID: <air2t3bsG19h_A86@x1.local> (raw)
In-Reply-To: <20260611084312.70042-1-maobibo@loongson.cn>

On Thu, Jun 11, 2026 at 04:43:12PM +0800, Bibo Mao wrote:
> Add migration qtest on loongarch64 system, the test passes to run with
> the following result:
>   qemu:qtest+qtest-loongarch64/qtest-loongarch64/migration-test OK 15.94s 9 subtests passed
> 
> Signed-off-by: Bibo Mao <maobibo@loongson.cn>
> ---
> v1 ... v2:
>   1. Add SPDX-License in __note in file tests/qtest/migration/Makefile
>   2. Regerate file tests/qtest/migration/loongarch64/a-b-kernel.h with
>      __note information
> ---
>  MAINTAINERS                                   |  1 +
>  tests/qtest/meson.build                       |  3 +-
>  tests/qtest/migration/Makefile                |  4 +-
>  tests/qtest/migration/bootfile.c              |  4 ++
>  tests/qtest/migration/bootfile.h              |  4 ++
>  tests/qtest/migration/framework.c             |  6 +++
>  tests/qtest/migration/loongarch64/Makefile    | 20 ++++++++
>  .../qtest/migration/loongarch64/a-b-kernel.S  | 46 +++++++++++++++++++
>  .../qtest/migration/loongarch64/a-b-kernel.h  | 20 ++++++++
>  9 files changed, 106 insertions(+), 2 deletions(-)
>  create mode 100644 tests/qtest/migration/loongarch64/Makefile
>  create mode 100644 tests/qtest/migration/loongarch64/a-b-kernel.S
>  create mode 100644 tests/qtest/migration/loongarch64/a-b-kernel.h
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 2b5b581e17..91d72feebe 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1359,6 +1359,7 @@ F: hw/intc/loongarch_*.c
>  F: hw/intc/loongson_ipi_common.c
>  F: hw/rtc/ls7a_rtc.c
>  F: gdbstub/gdb-xml/loongarch*.xml
> +F: tests/qtest/migration/loongarch64/
>  
>  M68K Machines
>  -------------
> diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
> index 45ea497fa5..1636b8616e 100644
> --- a/tests/qtest/meson.build
> +++ b/tests/qtest/meson.build
> @@ -154,7 +154,8 @@ qtests_loongarch64 = qtests_filter + \
>    (config_all_devices.has_key('CONFIG_LOONGARCH_VIRT') ? ['numa-test'] : []) + \
>    (unpack_edk2_blobs ? ['bios-tables-test'] : []) + \
>    ['boot-serial-test',
> -   'cpu-plug-test']
> +   'cpu-plug-test',
> +   'migration-test']
>  
>  qtests_m68k = ['boot-serial-test'] + \
>    qtests_filter
> diff --git a/tests/qtest/migration/Makefile b/tests/qtest/migration/Makefile
> index c183b69941..626e3974f7 100644
> --- a/tests/qtest/migration/Makefile
> +++ b/tests/qtest/migration/Makefile
> @@ -5,7 +5,7 @@
>  # See the COPYING file in the top-level directory.
>  #
>  
> -TARGET_LIST = i386 aarch64 s390x ppc64
> +TARGET_LIST = i386 aarch64 s390x ppc64 loongarch64
>  
>  SRC_PATH = ../../../..
>  
> @@ -23,6 +23,8 @@ help:
>  	@echo " Possible targets are: $(TARGET_LIST)"
>  
>  override define __note
> +/* SPDX-License-Identifier: GPL-2.0-or-later */

Maybe this'll need a regeneration of headers just to inject this line
all over.. I'll do that when I pick this up.

Thanks,

-- 
Peter Xu



      parent reply	other threads:[~2026-06-11 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-11  8:43 [PATCH v2] tests/qtest/migration: Add migration test on loongarch Bibo Mao
2026-06-11 12:18 ` Philippe Mathieu-Daudé
2026-06-11 17:27 ` Fabiano Rosas
2026-06-11 17:56 ` Peter Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=air2t3bsG19h_A86@x1.local \
    --to=peterx@redhat.com \
    --cc=farosas@suse.de \
    --cc=gaosong@loongson.cn \
    --cc=lvivier@redhat.com \
    --cc=maobibo@loongson.cn \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.