qemu/tests/vm
Philippe Mathieu-Daudé dcf7ea4a78 tests/vm: Only use -cpu 'host' if KVM is available
If KVM is not available, then use the 'max' cpu.

This fixes:

  ERROR:root:Log:
  ERROR:root:qemu-system-x86_64: CPU model 'host' requires KVM
  Failed to prepare guest environment
  error: [Errno 104] Connection reset by peer
  source/qemu/tests/vm/Makefile.include:25: recipe for target 'tests/vm/ubuntu.i386.img' failed
  make: *** [tests/vm/ubuntu.i386.img] Error 2

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180628153535.1411-4-f4bug@amsat.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
2018-08-15 10:12:35 +08:00
..
basevm.py tests/vm: Only use -cpu 'host' if KVM is available 2018-08-15 10:12:35 +08:00
freebsd tests: Add FreeBSD image 2017-09-22 14:51:35 +08:00
Makefile.include Makefile: Add rules to run vm tests 2017-09-22 14:51:42 +08:00
netbsd tests: Add NetBSD image 2017-09-22 14:51:42 +08:00
openbsd tests: Add OpenBSD image 2017-09-22 14:51:42 +08:00
README docs: Add docs/devel/testing.rst 2018-02-08 09:23:07 +08:00
ubuntu.i386

See docs/devel/testing.rst for help.