From: mupton Date: Fri, 6 Nov 2020 19:14:49 +0000 (-0800) Subject: arch-x86, kvm: clean up x86 long regresion kvm code X-Git-Tag: develop-gem5-snapshot~494 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f7d7ac26fae9f1e70644bec200956470ec58666;p=gem5.git 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 --- 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,))