Go to file
David Abdurachmanov 6135d87da7
Merge remote-tracking branch 'up/f38' into f38-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-05-12 17:26:02 +03:00
.fmf tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
plans tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
tests tests: Add qemu-sanity-check fedora CI job 2021-06-22 11:46:52 -04:00
.gitignore Wildcard ignore the archive files 2020-11-19 14:09:40 +00:00
.rpmlintrc Add .rpmlintrc to exclude some .spec lint 2022-09-07 12:12:58 -04:00
0001-target-i386-the-sgx_epc_get_section-stub-is-reachabl.patch Fix rtl8139-test 2023-02-27 17:43:05 +00:00
0002-tests-Disable-pci_virtio_vga-for-ppc64.patch Fix rtl8139-test 2023-02-27 17:43:05 +00:00
0003-Revert-linux-user-add-more-compat-ioctl-definitions.patch Fix rtl8139-test 2023-02-27 17:43:05 +00:00
0004-Revert-linux-user-fix-compat-with-glibc-2.36-sys-mou.patch Fix rtl8139-test 2023-02-27 17:43:05 +00:00
0006-PATCH-test-vmstate-fix-bad-GTree-usage-use-after-fre.patch Fix rtl8139-test 2023-02-27 17:43:05 +00:00
0007-tests-Ensure-TAP-version-is-printed-before-other-mes.patch Fix rtl8139-test 2023-02-27 17:43:05 +00:00
0008-qga-win32-local-privilege-escalation.patch qga/win32: Fix local privilege escalation issue (CVE-2023-0664) 2023-04-21 18:09:41 +02:00
95-kvm-memlock.conf spec: More RHEL merging 2021-06-23 11:50:54 -04:00
99-qemu-guest-agent.rules Fix packaging of the QEMU guest agent 2011-10-05 17:33:58 +01:00
README.tests spec: More RHEL merging 2021-06-23 11:50:54 -04:00
bridge.conf fixes for -netdev bridge 2012-11-15 17:58:12 +01:00
gating.yaml Rename gating.yml -> gating.yaml 2021-07-15 11:22:56 -04:00
kvm-s390x.conf spec: Merge arch specific kvm.conf files from RHEL 2021-06-23 11:50:58 -04:00
kvm-x86.conf spec: Merge arch specific kvm.conf files from RHEL 2021-06-23 11:50:58 -04:00
kvm.conf spec: Merge arch specific kvm.conf files from RHEL 2021-06-23 11:50:58 -04:00
qemu-ga.sysconfig fix compilation, upgrade qemu-ga packaging based on RHEL 7 2017-11-28 18:07:46 +01:00
qemu-guest-agent.service fix compilation, upgrade qemu-ga packaging based on RHEL 7 2017-11-28 18:07:46 +01:00
qemu.spec Merge remote-tracking branch 'up/f38' into f38-riscv64 2023-05-12 17:26:02 +03:00
sources qemu-7.2.1-1 2023-04-19 11:12:17 -03:00
vhost.conf spec: More RHEL merging 2021-06-23 11:50:54 -04:00

README.tests

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.