Go to file
Cole Robinson 566be371a3 spec: Drop pathfix.py usage
There's only one remaining ambiguous python shebang in qemu.git, and
it's not for anything we care about.

Also redhat-rpm-config brp-mangle-shebangs added in 2018 will do
/usr/bin/env python3 -> /usr/bin/python3 automatically for us

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-06-23 11:50:58 -04:00
.fmf tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
plans tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
tests tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
.gitignore
95-kvm-memlock.conf spec: More RHEL merging 2021-06-23 11:50:54 -04:00
99-qemu-guest-agent.rules
0001-vl-allow-not-specifying-size-in-m-when-using-M-memor.patch add missing patches 2021-06-01 09:35:27 +02:00
0002-qemu-config-load-modules-when-instantiating-option-g.patch add missing patches 2021-06-01 09:35:27 +02:00
0003-qemu-config-parse-configuration-files-to-a-QDict.patch add missing patches 2021-06-01 09:35:27 +02:00
0004-vl-plumb-keyval-based-options-into-readconfig.patch add missing patches 2021-06-01 09:35:27 +02:00
0005-vl-plug-object-back-into-readconfig.patch add missing patches 2021-06-01 09:35:27 +02:00
0006-qemu-option-support-accept-any-QemuOptsList-in-qemu_.patch add another patch to fix configuration files 2021-05-19 19:00:09 +02:00
bridge.conf
gating.yml tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
kvm-x86.modprobe.conf
qemu-ga.sysconfig
qemu-guest-agent.service
qemu.spec spec: Drop pathfix.py usage 2021-06-23 11:50:58 -04:00
README.tests spec: More RHEL merging 2021-06-23 11:50:54 -04:00
sources
vhost.conf spec: More RHEL merging 2021-06-23 11:50:54 -04:00

qemu-kvm-tests README
=====================

The qemu-kvm-tests rpm contains tests that can be used to verify the
functionality of the installed qemu-kvm package

When installed, the files from this rpm will be arranged in the following
directory structure

tests-src/
├── README
├── scripts
│   ├── qemu.py
│   └── qmp
└── tests
    ├── acceptance
    ├── Makefile.include
    └── qemu-iotests

The tests/ directory within the tests-src/ directory is setup to remain a copy
of a subset of the tests/ directory from the QEMU source tree

The avocado_qemu tests and qemu-iotests, along with files required for the
execution of the avocado_qemu tests (scripts/qemu.py and scripts/qmp/) will be
installed in a new location - /usr/lib64/qemu-kvm/tests-src/

avocado_qemu tests:
The avocado_qemu tests can be executed by running the following avocado command:
avocado run -p qemu_bin=/usr/libexec/qemu-kvm /usr/lib64/qemu-kvm/tests/acceptance/
Avocado needs to be installed separately using either pip or from source as
Avocado is not being packaged for RHEL-8.

qemu-iotests:
symlinks to corresponding binaries need to be created for QEMU_PROG,
QEMU_IO_PROG, QEMU_IMG_PROG, and QEMU_NBD_PROG before the iotests can be
executed.

The primary purpose of this package is to make these tests available to be
executed as gating tests for the virt module in the RHEL-8 OSCI environment.