qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Acceptance tests: boot Linux with KVM test
@ 2020-01-22  1:27 Wainer dos Santos Moschetta
  2020-01-22  1:27 ` [PATCH v3 1/4] tests/acceptance: avocado_qemu: Introduce the 'accel' test parameter Wainer dos Santos Moschetta
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Wainer dos Santos Moschetta @ 2020-01-22  1:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: philmd, thuth, alex.bennee, ehabkost, crosa

This adds boot Linux tests for x86_64, aarch64, ppc64, and s390x
targets which, unlike others, enable the KVM acceleration. Likewise
it was added test cases for tcg.

It is introduced an infraestructure on avocado_qemu framework
so that:
a) simply tagging the test with `accel:kvm` (or `accel:tcg`) will
automatically set the corresponding '-accel' on the launched
QEMU;
b) test is canceled if the accelerator is not enabled on the QEMU
binary or not available in the host.

The acceptance builder on Travis was changed too in order to make
the test run.

Changes v2 -> v3:
- Uses '-accel kvm' rather than '-enable-kvm' when automatically setting
  the accelerator [thuth]
- Added patch 04 which enable the KVM acceptance tests to run on
  Travis [thuth]
v2: [PATCH v2 0/3] Acceptance tests: boot Linux with KVM test
- https://www.mail-archive.com/qemu-devel@nongnu.org/msg666238.html
v1: [PATCH 0/3] Acceptance tests: boot Linux with KVM test
- https://www.mail-archive.com/qemu-devel@nongnu.org/msg627498.html

Tree:
- Git: https://github.com/wainersm/qemu
- Branch: acceptance_kvm_test-v3

CI:
- Travis (PASS): https://travis-ci.org/wainersm/qemu/builds/640172969

Wainer dos Santos Moschetta (4):
  tests/acceptance: avocado_qemu: Introduce the 'accel' test parameter
  tests/acceptance: boot_linux_console: Add boot Linux with kvm tests
  tests/acceptance: avocado_qemu: Refactor the handler of 'machine'
    parameter
  travis.yml: Enable acceptance KVM tests

 .travis.yml                               |  7 +-
 docs/devel/testing.rst                    | 16 +++++
 tests/acceptance/avocado_qemu/__init__.py | 27 ++++++-
 tests/acceptance/boot_linux_console.py    | 88 +++++++++++++++++------
 4 files changed, 115 insertions(+), 23 deletions(-)

-- 
2.23.0



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-02-04 21:32 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22  1:27 [PATCH v3 0/4] Acceptance tests: boot Linux with KVM test Wainer dos Santos Moschetta
2020-01-22  1:27 ` [PATCH v3 1/4] tests/acceptance: avocado_qemu: Introduce the 'accel' test parameter Wainer dos Santos Moschetta
2020-01-24  9:36   ` Philippe Mathieu-Daudé
2020-01-27 19:28     ` Wainer dos Santos Moschetta
2020-01-30 22:51       ` Philippe Mathieu-Daudé
2020-02-04 21:30         ` Wainer dos Santos Moschetta
2020-01-22  1:27 ` [PATCH v3 2/4] tests/acceptance: boot_linux_console: Add boot Linux with kvm tests Wainer dos Santos Moschetta
2020-01-22  9:02   ` Andrew Jones
2020-01-23 21:47     ` Wainer dos Santos Moschetta
2020-01-24  7:54       ` Andrew Jones
2020-01-24 15:45   ` Philippe Mathieu-Daudé
2020-01-24 15:47     ` Thomas Huth
2020-02-04 21:25     ` Wainer dos Santos Moschetta
2020-01-22  1:27 ` [PATCH v3 3/4] tests/acceptance: avocado_qemu: Refactor the handler of 'machine' parameter Wainer dos Santos Moschetta
2020-01-30 23:23   ` Philippe Mathieu-Daudé
2020-01-22  1:27 ` [PATCH v3 4/4] travis.yml: Enable acceptance KVM tests Wainer dos Santos Moschetta
2020-01-22  9:11   ` Thomas Huth
2020-01-22  9:22   ` Thomas Huth
2020-01-24 21:15     ` Wainer dos Santos Moschetta
2020-01-27  9:34       ` Thomas Huth
2020-01-24  9:38   ` Philippe Mathieu-Daudé
2020-01-24  9:44     ` Thomas Huth
2020-01-24  9:54       ` Philippe Mathieu-Daudé
2020-01-24 19:55         ` Wainer dos Santos Moschetta
2020-01-27  9:51           ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).