Hi Fam,
Few patches I added while testing the VM tests without KVM access.
I doubt many people want to suffer using TCG for VM testing, but
it was handy to debug/support aarch64 VM tests.
Also this could be a useful TCG stress test...?
Since v2: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg04084.html
- use default args.jobs (Fam)
- move kvm_available() to scripts/QEMU so it can be used by Avocado
- do not use -smp 1
- add a BaseVM::arch property to help cross vm testing
Since v1: http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg03411.html
- rebased on master
- added get_default_jobs (Fam)
- dropped 'When using TCG, wait longer for a VM to start'
Regards,
Phil.
Philippe Mathieu-Daudé (8):
tests/vm: Extract the kvm_available() handy function
tests/vm: Do not abuse parallelism when KVM is not available
tests/vm: Do not use the -smp option with a single cpu
tests/vm: Display remaining seconds to wait for a VM to start
tests/vm: Add a BaseVM::arch property
tests/vm: Let kvm_available() work in cross environments
tests/vm: Do not use -enable-kvm if HOST != TARGET architecture
tests/vm: Do not abuse parallelism when HOST != TARGET architecture
scripts/qemu.py | 6 ++++++
tests/vm/basevm.py | 30 +++++++++++++++++++++---------
tests/vm/centos | 1 +
tests/vm/freebsd | 1 +
tests/vm/netbsd | 1 +
tests/vm/openbsd | 1 +
tests/vm/ubuntu.i386 | 1 +
7 files changed, 32 insertions(+), 9 deletions(-)
--
2.19.1