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
..
2018-02-22 15:44:07 -08:00
2018-03-21 15:13:40 +01:00
2017-10-20 13:32:10 +02:00
2018-06-04 10:15:16 +01:00
2017-10-20 13:32:10 +02:00
2018-03-06 14:01:27 +01:00
2018-06-01 15:13:46 +02:00
2018-02-08 09:22:03 +08:00
2018-07-05 11:25:14 +01:00
2018-07-05 11:25:14 +01:00
2017-12-20 22:01:24 +08:00