[kvm-unit-tests PATCH v5 07/29] powerpc: Add a migration stress tester

Thomas Huth thuth at redhat.com
Tue Dec 19 16:58:20 AEDT 2023


On 16/12/2023 14.42, Nicholas Piggin wrote:
> This performs 1000 migrations a tight loop to flush out simple issues
> in the multiple-migration code.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>   powerpc/Makefile.common |  1 +
>   powerpc/migrate.c       | 64 +++++++++++++++++++++++++++++++++++++++++
>   2 files changed, 65 insertions(+)
>   create mode 100644 powerpc/migrate.c

You should likely add an entry to powerpc/unittests.cfg ...
also, wouldn't it be better to extend the sprs.elf test for this, so that it 
e.g. changes some stuff for each migration?

  Thomas



More information about the Linuxppc-dev mailing list