Thread (53 messages) 53 messages, 2 authors, 2023-12-22
STALE910d

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

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2023-12-16 13:50:43
Also in: kvm
Subsystem: the rest · Maintainer: Linus Torvalds

QEMU TCG does not support TM. Skip this test gracefully when not on KVM.

Signed-off-by: Nicholas Piggin <npiggin@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help