Re: [kvm-unit-tests PATCH 1/3] s390x: Don't run PV testcases under tcg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.03.21 13:50, Janosch Frank wrote:
The UV call facility is only available on hardware.

Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
---
  scripts/s390x/func.bash | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/scripts/s390x/func.bash b/scripts/s390x/func.bash
index b3912081..bf799a56 100644
--- a/scripts/s390x/func.bash
+++ b/scripts/s390x/func.bash
@@ -21,6 +21,9 @@ function arch_cmd_s390x()
  	"$cmd" "$testname" "$groups" "$smp" "$kernel" "$opts" "$arch" "$check" "$accel" "$timeout"
# run PV test case
+	if [ "$ACCEL" = 'tcg' ]; then
+		return
+	fi
  	kernel=${kernel%.elf}.pv.bin
  	testname=${testname}_PV
  	if [ ! -f "${kernel}" ]; then


Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux