From 9f7d7ac26fae9f1e70644bec200956470ec58666 Mon Sep 17 00:00:00 2001 From: mupton Date: Fri, 6 Nov 2020 11:14:49 -0800 Subject: [PATCH] arch-x86, kvm: clean up x86 long regresion kvm code 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 Maintainer: Jason Lowe-Power Tested-by: kokoro --- tests/gem5/x86-boot-tests/test_linux_boot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/gem5/x86-boot-tests/test_linux_boot.py b/tests/gem5/x86-boot-tests/test_linux_boot.py index 94b6e7eff..314059500 100644 --- a/tests/gem5/x86-boot-tests/test_linux_boot.py +++ b/tests/gem5/x86-boot-tests/test_linux_boot.py @@ -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,)) -- 2.30.2