[kvm-unit-tests PATCH v5 08/29] powerpc: Require KVM for the TM test

Thomas Huth thuth at redhat.com
Tue Dec 19 16:59:13 AEDT 2023


On 16/12/2023 14.42, Nicholas Piggin wrote:
> QEMU TCG does not support TM. Skip this test gracefully when not on KVM.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>   powerpc/unittests.cfg | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
> index dd5f361c..e71140aa 100644
> --- a/powerpc/unittests.cfg
> +++ b/powerpc/unittests.cfg
> @@ -65,6 +65,7 @@ file = emulator.elf
>   
>   [h_cede_tm]
>   file = tm.elf
> +accel = kvm
>   smp = 2,threads=2
>   extra_params = -machine cap-htm=on -append "h_cede_tm"
>   groups = h_cede_tm

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



More information about the Linuxppc-dev mailing list