Re: [kvm-unit-tests PATCH v1 2/4] s390x: add support for migration tests

Thomas Huth
2022-04-12T10:12:07Z

On 11/04/2022 12.07, Nico Boehr wrote:
> Now that we have SCLP console read support, run our tests with migration_cmd, so
> we can get migration support on s390x.
>
> Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
> ---
> s390x/run | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/s390x/run b/s390x/run
> index 064ecd1b337a..2bcdabbaa14f 100755
> --- a/s390x/run
> +++ b/s390x/run
> @@ -25,7 +25,7 @@ M+=",accel=$ACCEL"
> command="$qemu -nodefaults -nographic $M"
> command+=" -chardev stdio,id=con0 -device sclpconsole,chardev=con0"
> command+=" -kernel"
> -command="$(timeout_cmd) $command"
> +command="$(migration_cmd) $(timeout_cmd) $command"
>
> # We return the exit code via stdout, not via the QEMU return code
> run_qemu_status $command "$@"

Reviewed-by: Thomas Huth <thuth@redhat.com>