qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Acceptance tests: boot Linux with KVM test
@ 2019-06-28 15:02 Wainer dos Santos Moschetta
  2019-06-28 15:02 ` [Qemu-devel] [PATCH 1/3] python/qemu: Allow to launch the VM without qmp Wainer dos Santos Moschetta
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Wainer dos Santos Moschetta @ 2019-06-28 15:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: philmd, jsnow, ehabkost, crosa

Hi all!

This series introduce a simple test case which boots Linux with
KVM enabled aiming to exercise qemu-kvm integration. No other
acceptance test does that as far as I know.

The patch 02 allows the test writter to mark (by means of Avocado tag)
the test require a given accelerator that if not present will end up
on skipping its run. It uses `qemu -accel help` to determine if accel
is enabled in binary and in some cases (e.g. kvm) it can check the host
support too. Because `qemu -accel help` needs to execute without the
qmp machinery, the patch 01 is needed. The patch 01 allows to boot qemu
with no qmp which can also be used on LinuxInitrd test for instance.

Depends on '[PATCH 1/2] Acceptance tests: exclude "flaky" tests'
which bumps Avocado version to 69.1.

Conflicts with '[RFC PATCH v2 1/3] python/qemu: split QEMUMachine out
from underneath __init__.py'. Upon merge of John's patch I can then
rebase this.

Git: https://github.com/wainersm/qemu
Branch: acceptance_kvm_test 
Travis: https://travis-ci.org/wainersm/qemu/jobs/551455876

Wainer dos Santos Moschetta (3):
  python/qemu: Allow to launch the VM without qmp
  tests/acceptance: Introduce the "accel" tag
  tests/acceptance: Add boot linux with kvm test

 python/qemu/__init__.py                   | 72 +++++++++++++++--------
 tests/acceptance/avocado_qemu/__init__.py |  5 ++
 tests/acceptance/avocado_qemu/accel.py    | 60 +++++++++++++++++++
 tests/acceptance/kvm.py                   | 58 ++++++++++++++++++
 4 files changed, 171 insertions(+), 24 deletions(-)
 create mode 100644 tests/acceptance/avocado_qemu/accel.py
 create mode 100644 tests/acceptance/kvm.py

-- 
2.21.0



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

end of thread, other threads:[~2019-07-05 15:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 15:02 [Qemu-devel] [PATCH 0/3] Acceptance tests: boot Linux with KVM test Wainer dos Santos Moschetta
2019-06-28 15:02 ` [Qemu-devel] [PATCH 1/3] python/qemu: Allow to launch the VM without qmp Wainer dos Santos Moschetta
2019-06-28 15:02 ` [Qemu-devel] [PATCH 2/3] tests/acceptance: Introduce the "accel" tag Wainer dos Santos Moschetta
2019-06-28 15:02 ` [Qemu-devel] [PATCH 3/3] tests/acceptance: Add boot linux with kvm test Wainer dos Santos Moschetta
2019-06-28 20:18   ` Eduardo Habkost
2019-06-30 17:39     ` Cleber Rosa
2019-07-01 18:34       ` Eduardo Habkost
2019-07-01 20:29         ` Cleber Rosa
2019-07-05 15:43           ` Wainer dos Santos Moschetta

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).