Michael Vogt 0cab459137 spec: cherry pick openat2 qemu-user support from usptream 9651cea
This commit adds support for the openat2 syscall to qemu-user. It
is done via cherry picking upstream 9651cea and adding a extra
commit with a bunch of `#ifdef TARGET_NR_openat2` so that this
commit compiles on the `cris-linux-user` target which does not
have this syscall. Cris is removed in upstream qemu after v9.1.0
so the ifdefs were not needed there but are needed here until
cris is also removed from the RPM.
2024-10-24 08:16:13 +01:00
2024-01-09 17:49:01 +00:00
2021-06-23 11:50:54 -04:00
2012-11-15 17:58:12 +01:00
2021-07-15 11:22:56 -04:00
2021-06-23 11:50:54 -04:00
2024-10-16 13:33:46 +01:00
2024-09-05 13:49:58 -04:00
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.
Languages
RPM Spec 99.6%
Shell 0.4%