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