projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a52f3
)
tests/vm: Do not use -enable-kvm if HOST != TARGET architecture
author
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Sat, 13 Oct 2018 00:40:32 +0000
(
02:40
+0200)
committer
Fam Zheng
<famz@redhat.com>
Fri, 26 Oct 2018 14:03:21 +0000
(22:03 +0800)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <
20181013004034
.6968-8-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/vm/basevm.py
patch
|
blob
|
history
diff --git
a/tests/vm/basevm.py
b/tests/vm/basevm.py
index b2e0de2022a28860fa26ca4058efa7c8eeaf7335..9f4794898a4d22c8ade03334695ed827101f8d2f 100755
(executable)
--- a/
tests/vm/basevm.py
+++ b/
tests/vm/basevm.py
@@
-74,7
+74,7
@@
class BaseVM(object):
"-serial", "file:%s" % os.path.join(self._tmpdir, "serial.out")]
if vcpus and vcpus > 1:
self._args += ["-smp", str(vcpus)]
- if kvm_available():
+ if kvm_available(
self.arch
):
self._args += ["-enable-kvm"]
else:
logging.info("KVM not available, not using -enable-kvm")