26ba25
qemu-kvm-tests README
26ba25
=====================
26ba25
26ba25
The qemu-kvm-tests rpm contains tests that can be used to verify the
26ba25
functionality of the installed qemu-kvm package
26ba25
26ba25
When installed, the files from this rpm will be arranged in the following
26ba25
directory structure
26ba25
26ba25
tests-src/
26ba25
├── README
26ba25
├── scripts
26ba25
│   ├── qemu.py
26ba25
│   └── qmp
26ba25
└── tests
26ba25
    ├── acceptance
26ba25
    ├── Makefile.include
26ba25
    └── qemu-iotests
26ba25
26ba25
The tests/ directory within the tests-src/ directory is setup to remain a copy
26ba25
of a subset of the tests/ directory from the QEMU source tree
26ba25
26ba25
The avocado_qemu tests and qemu-iotests, along with files required for the
26ba25
execution of the avocado_qemu tests (scripts/qemu.py and scripts/qmp/) will be
26ba25
installed in a new location - /usr/lib64/qemu-kvm/tests-src/
26ba25
26ba25
avocado_qemu tests:
26ba25
The avocado_qemu tests can be executed by running the following avocado command:
26ba25
avocado run -p qemu_bin=/usr/libexec/qemu-kvm /usr/lib64/qemu-kvm/tests/acceptance/
26ba25
Avocado needs to be installed separately using either pip or from source as
26ba25
Avocado is not being packaged for RHEL-8.
26ba25
26ba25
qemu-iotests:
26ba25
symlinks to corresponding binaries need to be created for QEMU_PROG,
26ba25
QEMU_IO_PROG, QEMU_IMG_PROG, and QEMU_NBD_PROG before the iotests can be
26ba25
executed.
26ba25
26ba25
The primary purpose of this package is to make these tests available to be
26ba25
executed as gating tests for the virt module in the RHEL-8 OSCI environment.