pseries: fix migration-test and pxe-test
commit454590916caacef2c779351f6c79d1c448bb6f38
authorLaurent Vivier <lvivier@redhat.com>
Wed, 20 Nov 2019 14:25:39 +0000 (20 15:25 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Nov 2019 23:11:30 +0000 (26 10:11 +1100)
tree8c4dcd274dfdce982bf5c9caf03491e3e3ea0df0
parent65e05c82bdc6d348155e301c9d87dba7a08a5701
pseries: fix migration-test and pxe-test

Commit 29cb4187497d ("spapr: Set VSMT to smp_threads by default")
has introduced a new default value for VSMT that is not supported
by old kernels (before 4.13 kernel) and this breaks "make check"
on these kernels.

To fix that, explicitly set in the involved tests the value that was
used as the default value before the change.

Cc: Greg Kurz <groug@kaod.org>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20191120142539.236279-1-lvivier@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/migration-test.c
tests/pxe-test.c