arch-x86, kvm: clean up x86 long regresion kvm code
authormupton <michaelupton@gmail.com>
Fri, 6 Nov 2020 19:14:49 +0000 (11:14 -0800)
committermike upton <michaelupton@gmail.com>
Sun, 8 Nov 2020 01:26:50 +0000 (01:26 +0000)
This commit cleans up the code for x86 kvm long regressions.
Somehow the old version went is as the last patchset.
This is the intended code, which should match the last comments.

Change-Id: I9af02a51ce8ed5098887fb0a6b9240db95227bc3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37120
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
tests/gem5/x86-boot-tests/test_linux_boot.py

index 94b6e7eff02c34474db9c9693e5bfa78e5a5edf0..3140595005f8b793c896793ebd59983b565b74af 100644 (file)
@@ -25,9 +25,7 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 import os
-import subprocess
 from testlib import *
-import platform
 
 
 if config.bin_path:
@@ -76,6 +74,6 @@ for cpu_type in cpu_types:
 test_boot('atomic', '4', 'systemd', constants.supported_hosts)
 
 #KVM
-if(support_kvm() and (platform.machine() == constants.host_x86_64_tag)):
+if(support_kvm()):
     test_boot('kvm', '1', 'init', (constants.host_x86_64_tag,))
     test_boot('kvm', '4', 'systemd', (constants.host_x86_64_tag,))