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