[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/5] tests/vm: Use -cpu max rather than -cpu host
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 1/5] tests/vm: Use -cpu max rather than -cpu host |
Date: |
Fri, 3 Aug 2018 09:52:26 +0100 |
Currently attempting to run the vm-build-* tests on a system
where the user does not have access to KVM will fail, because
although they avoid using -enable-kvm, they use "-cpu host",
which only works with KVM. Switch to "-cpu max" instead, which
works with any accelerator.
Signed-off-by: Peter Maydell <address@hidden>
---
tests/vm/basevm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 36431178161..ae9ab128c7b 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -65,7 +65,7 @@ class BaseVM(object):
self._stdout = self._devnull
self._args = [ \
"-nodefaults", "-m", "2G",
- "-cpu", "host",
+ "-cpu", "max",
"-netdev", "user,id=vnet,hostfwd=:127.0.0.1:0-:22",
"-device", "virtio-net-pci,netdev=vnet",
"-vnc", "127.0.0.1:0,to=20",
--
2.17.1
- [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements, Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 1/5] tests/vm: Use -cpu max rather than -cpu host,
Peter Maydell <=
- [Qemu-devel] [PATCH 4/5] tests/vm: Bump guest RAM up from 2G to 4G, Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 5/5] tests/vm: Use make's --output-sync option, Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 2/5] tests/vm: Pass the jobs parallelism setting to 'make check', Peter Maydell, 2018/08/03
- [Qemu-devel] [PATCH 3/5] tests/vm: Propagate V=1 down into the make inside the VM, Peter Maydell, 2018/08/03
- Re: [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements, Fam Zheng, 2018/08/03
- Re: [Qemu-devel] [PATCH 0/5] tests/vm: various minor improvements, Fam Zheng, 2018/08/03