From 16af1f0cc02a56b7c0b7e87af6dc52a239ec3dc8 Mon Sep 17 00:00:00 2001 From: Jasjeet Rangi Date: Thu, 7 Jul 2022 10:40:40 -0700 Subject: [PATCH] stdlib: Fix KVM required message typo Change word "unavaiable" to "unavailable". When kvm_required is set to True in requires() from gem5.utils.requires and KVM is not available on the host system, print "KVM is required but is unavailable on this system" instead of ""KVM is required but is unavaiable on this system". Change-Id: I483fb75a6a4781560ae338370ba2714fd8737cc6 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/61169 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/python/gem5/utils/requires.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/gem5/utils/requires.py b/src/python/gem5/utils/requires.py index f4322ca440..836cbdb8c4 100644 --- a/src/python/gem5/utils/requires.py +++ b/src/python/gem5/utils/requires.py @@ -118,6 +118,6 @@ def requires( if kvm_required and not kvm_available: raise Exception( _get_exception_str( - msg="KVM is required but is unavaiable on this system" + msg="KVM is required but is unavailable on this system" ) ) \ No newline at end of file