aboutsummaryrefslogtreecommitdiff
path: root/scripts/qemu.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemu.py')
-rw-r--r--scripts/qemu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/qemu.py b/scripts/qemu.py
index 9fc0be4..bcd24aa 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -27,6 +27,8 @@ LOG = logging.getLogger(__name__)
def kvm_available(target_arch=None):
+ if target_arch and target_arch != os.uname()[4]:
+ return False
return os.access("/dev/kvm", os.R_OK | os.W_OK)