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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux