[kvm-unit-tests PATCH v4 8/8] migration: add a migration selftest

Thomas Huth thuth at redhat.com
Fri Feb 16 03:15:35 PST 2024


On 09/02/2024 10.11, Nicholas Piggin wrote:
> Add a selftest for migration support in  guest library and test harness
> code. It performs migrations in a tight loop to irritate races and bugs
> in the test harness code.
> 
> Include the test in arm, s390, powerpc.
> 
> Acked-by: Claudio Imbrenda <imbrenda at linux.ibm.com> (s390x)
> Reviewed-by: Thomas Huth <thuth at redhat.com>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>   arm/Makefile.common          |  1 +
>   arm/selftest-migration.c     |  1 +
>   arm/unittests.cfg            |  6 ++++++

  Hi Nicholas,

I just gave the patches a try, but the arm test seems to fail for me: Only 
the first getchar() seems to wait for a character, all the subsequent ones 
don't wait anymore and just continue immediately ... is this working for 
you? Or do I need another patch on top?

  Thanks,
   Thomas





More information about the kvm-riscv mailing list