Go to file
Cole Robinson 63c8857a93 spec: Fix *.stp %files in -user and -user-static
-static packages were missing some .stp files, and qemu-user
wildcards were catching too much.

Drop wildcards and explicitly specify all .stp files for all
subpackages

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-11-21 10:43:54 -05:00
.fmf
plans
tests
.gitignore
.rpmlintrc Add .rpmlintrc to exclude some .spec lint 2022-09-07 12:12:58 -04:00
95-kvm-memlock.conf
99-qemu-guest-agent.rules 99-qemu-guest-agent.rules: fix warning reported by udevadm verify 2023-05-19 08:00:00 +00:00
bridge.conf
gating.yaml
kvm-s390x.conf
kvm-x86.conf
kvm.conf
qemu-ga.sysconfig
qemu-guest-agent.service
qemu.spec spec: Fix *.stp %files in -user and -user-static 2023-11-21 10:43:54 -05:00
README.tests
rpminspect.yaml Add rpminspect.yaml to exclude some CI false positives 2023-09-28 12:39:29 -04:00
sources qemu-8.1.2-1 2023-10-17 12:45:25 -04:00
vhost.conf

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.