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

Nicholas Piggin npiggin at gmail.com
Sun Dec 17 00:42:35 AEDT 2023


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
-- 
2.42.0



More information about the Linuxppc-dev mailing list