From: Wainer dos Santos Moschetta <wainersm@redhat.com>
To: qemu-devel@nongnu.org
Cc: philmd@redhat.com, jsnow@redhat.com, ehabkost@redhat.com,
crosa@redhat.com
Subject: [Qemu-devel] [PATCH 0/3] Acceptance tests: boot Linux with KVM test
Date: Fri, 28 Jun 2019 11:02:14 -0400 [thread overview]
Message-ID: <20190628150217.32659-1-wainersm@redhat.com> (raw)
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
next reply other threads:[~2019-06-28 16:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-28 15:02 Wainer dos Santos Moschetta [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190628150217.32659-1-wainersm@redhat.com \
--to=wainersm@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=jsnow@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).