Compare commits
255 Commits
master
...
main-riscv
Author | SHA1 | Date | |
---|---|---|---|
a973413f12 | |||
300c04fb9b | |||
00242a13a5 | |||
|
2d716294f1 | ||
|
5fde0b1627 | ||
|
6ca1975319 | ||
|
62fec653e4 | ||
|
ed3c308c72 | ||
|
19dabf8013 | ||
|
05f289c3f3 | ||
|
a2578065ff | ||
|
5206b67dbc | ||
|
e46b6fe585 | ||
|
971e984a4c | ||
|
5c2ab5c259 | ||
|
d5321c6ac0 | ||
08e997de9a | |||
|
fd6b74bccc | ||
|
d364afeef7 | ||
|
bd268d19cc | ||
|
fa9ecd2d1f | ||
|
7d58afccfc | ||
|
04c52c7c18 | ||
|
5dc33a7885 | ||
|
1bd1d083f3 | ||
|
3ab71e3cfb | ||
|
affe1791b7 | ||
|
cf84426a04 | ||
|
6b4bb5d4e2 | ||
|
2601a942ca | ||
|
be157516d8 | ||
|
409fcdb379 | ||
|
d67c7eef5f | ||
|
94ac31f9f7 | ||
|
c8c91351c0 | ||
|
93330a974c | ||
|
865331f395 | ||
|
9344a1bc56 | ||
|
60857dcd6f | ||
|
b7ea007094 | ||
1d003b9d3d | |||
|
22512f545b | ||
|
cb4378cf14 | ||
|
e1b58db1d6 | ||
|
1c471d38bc | ||
|
da8e31c4fc | ||
|
c29054addb | ||
|
d047f99265 | ||
|
a93659c041 | ||
|
deeb9357cb | ||
|
2818b991c3 | ||
|
e5cb9532c0 | ||
|
9e1191cbbc | ||
|
63c8857a93 | ||
|
595e23bfb7 | ||
|
547a9bc5ba | ||
|
db8d68a5f9 | ||
|
2f2f662015 | ||
|
5c6b4486a8 | ||
|
9a96ecbb25 | ||
|
43be60cdc4 | ||
|
7be0fd4310 | ||
71f792f01c | |||
05c11e868d | |||
|
e4bc25c09b | ||
|
f51053d48a | ||
|
98762f53f6 | ||
|
1ece14f33e | ||
|
28fd87d26a | ||
|
f36b5bbd6f | ||
|
9d0cc42919 | ||
|
66ae407ce2 | ||
|
9ce3d1e3ca | ||
|
9bdf4d356a | ||
|
fe9446c8aa | ||
|
44034e55c1 | ||
|
bc72c799c7 | ||
|
2ce5ca73a8 | ||
|
f53d48ae75 | ||
|
ef665a7199 | ||
|
9061c9345e | ||
|
589d3530fb | ||
|
cef9ee51c5 | ||
|
f2cb56a43c | ||
|
2b6515981a | ||
|
f3752caa84 | ||
|
493beb6043 | ||
|
27bca4038c | ||
|
d58272f92e | ||
|
b5541eb631 | ||
|
bd635cd85e | ||
|
0ef68abd71 | ||
|
f48e9e218c | ||
|
d8ea841ee8 | ||
|
fb1517ca3f | ||
|
650c8272f6 | ||
|
8d94f851ec | ||
|
4eb8ef11c1 | ||
|
8f629c7e0f | ||
|
3f79a68361 | ||
|
fcf47181da | ||
|
c59732e734 | ||
|
b47d99db35 | ||
|
6a1d35e912 | ||
|
3ce4eaa6a2 | ||
|
d09d3961a3 | ||
|
7539983f1e | ||
|
92a87311fd | ||
|
795912844a | ||
|
bd46f9571e | ||
|
64fe772650 | ||
|
055837f300 | ||
|
2874d70b6b | ||
|
34254733fe | ||
|
0eeaeaae15 | ||
|
2abd5d20f1 | ||
|
98276b3e5f | ||
|
22305b524e | ||
57a0fd859a | |||
a72423248e | |||
fd87d7e805 | |||
122e9d3bd7 | |||
|
9fda121878 | ||
|
72c46205a7 | ||
|
18240b2c2d | ||
|
c6215ce146 | ||
|
0d9e001957 | ||
|
e84a043f40 | ||
|
cb880e77f3 | ||
|
8d6927e8da | ||
|
467b991168 | ||
|
a3d41732e4 | ||
|
9439665b5a | ||
|
870630749a | ||
|
a575c5e346 | ||
|
01af37d608 | ||
|
230e4a2b0a | ||
|
ef9df8de89 | ||
|
a686537d26 | ||
|
4e789f984b | ||
|
8825298cc2 | ||
|
d8c4df3d29 | ||
|
0007b37337 | ||
|
af7430aef5 | ||
|
fdc9ebb862 | ||
|
148536a5a4 | ||
|
3f428d8457 | ||
|
82e1f8635e | ||
|
41fa2b0e3c | ||
|
c8164e8043 | ||
|
5b1d8f6b37 | ||
|
06a96ef6dd | ||
|
f38131b637 | ||
|
ffa629f31c | ||
|
6dc1a3e091 | ||
|
a640e151b2 | ||
|
2d6f694dd7 | ||
|
842e805475 | ||
|
f54452a157 | ||
|
f9f5de9994 | ||
|
69b8f67c7d | ||
|
eedf91107a | ||
|
1609e9b0cd | ||
|
b34716a4e7 | ||
|
59b417a5f3 | ||
|
9182556bd5 | ||
|
7be05bc02d | ||
|
1d93f5191e | ||
|
65ccb9e09a | ||
|
c5273992ba | ||
|
c1a37784f9 | ||
|
9eb1916f15 | ||
|
1ba242c778 | ||
|
96944e0b05 | ||
|
050829c2b7 | ||
|
79f4b0ef32 | ||
|
a06059bd4d | ||
|
7403595754 | ||
|
bf8d867e21 | ||
|
51980a6acd | ||
|
b048de05e7 | ||
|
6bb4bb52c7 | ||
|
f744b8b952 | ||
|
f806e664d9 | ||
|
38b1a6c732 | ||
|
b7cbd7e5e1 | ||
|
e3c05f4d3e | ||
|
1ac11e4877 | ||
|
2dc6f7395e | ||
|
0edf0fe9c8 | ||
|
e5d06dbc16 | ||
|
2825584364 | ||
|
6af1856936 | ||
|
d6b4a46932 | ||
|
ba7d6c0e41 | ||
|
7ae7935089 | ||
|
e1bf97d468 | ||
|
51821d35c5 | ||
|
180e0d8daf | ||
|
e0cb84627a | ||
|
f1ea3b69f7 | ||
|
d13afbee6a | ||
|
b013f94648 | ||
|
d5c2bbe293 | ||
|
05fedb21f6 | ||
|
0ae9d20128 | ||
|
183fcd911e | ||
|
e6c8eaee02 | ||
|
d4c8ff71ce | ||
|
f4c1719ae1 | ||
|
73149263f3 | ||
|
b2595a5449 | ||
|
d636452cba | ||
|
4a2d9a4c52 | ||
|
f54ac0f7d7 | ||
|
833342c627 | ||
|
ad860648fa | ||
|
91b70a682d | ||
|
4abd8de197 | ||
|
566be371a3 | ||
|
7a925b3802 | ||
|
443b083edd | ||
|
ec76e0bb54 | ||
|
ec4dab0a93 | ||
|
7e8e4ff4c0 | ||
|
6c55704061 | ||
|
09badc27ce | ||
|
1081205b84 | ||
|
658feedf3f | ||
|
5c8060d1bd | ||
|
9348aa0ea4 | ||
|
1ba19df591 | ||
|
d9c8b54b44 | ||
|
169bee2e2a | ||
|
610d93e5b9 | ||
|
66fde773e9 | ||
|
7e7be1c025 | ||
|
47a69fd3ce | ||
|
c0b65475ef | ||
|
ac27562f19 | ||
|
dcfe42be8d | ||
|
ba23d039c8 | ||
|
c7533d29df | ||
|
0ff75312ab | ||
|
8b5ba7c256 | ||
|
c996909a49 | ||
|
d1c4548bc8 | ||
|
74370c64ef | ||
|
130b985a3c | ||
|
fac3f007a0 | ||
|
1abc8e9bf0 | ||
|
a3063707fe | ||
|
18c8d565ff | ||
|
5a84bef82e | ||
|
d283ab8f84 |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/x86_64/
|
/x86_64/
|
||||||
/*.src.rpm
|
/*.src.rpm
|
||||||
/qemu-*.tar.xz
|
/qemu-*.tar.xz
|
||||||
|
/qemu-*.tar.xz.sig
|
||||||
|
6
.rpmlintrc
Normal file
6
.rpmlintrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Using _sourcedir makes the spec much more readable IMO.
|
||||||
|
# The Fedora wiki complaint is pretty obscure too.
|
||||||
|
addFilter(r'use-of-RPM_SOURCE_DIR')
|
||||||
|
|
||||||
|
# This is a virtual Provides: that should not contain any version info
|
||||||
|
addFilter(r'unversioned-explicit-provides vhostuser-backend\(fs\)')
|
49
0001-Disable-9p-local-tests-that-fail-on-copr-aarch64.patch
Normal file
49
0001-Disable-9p-local-tests-that-fail-on-copr-aarch64.patch
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
From 34acc8e0028bf059c9c4e725c653df56eac7c296 Mon Sep 17 00:00:00 2001
|
||||||
|
Message-ID: <34acc8e0028bf059c9c4e725c653df56eac7c296.1724767601.git.crobinso@redhat.com>
|
||||||
|
From: Cole Robinson <crobinso@redhat.com>
|
||||||
|
Date: Mon, 26 Aug 2024 14:06:14 -0400
|
||||||
|
Subject: [PATCH] Disable 9p `local` tests that fail on copr aarch64
|
||||||
|
Content-type: text/plain
|
||||||
|
|
||||||
|
Upstream issue:
|
||||||
|
https://gitlab.com/qemu-project/qemu/-/issues/2541
|
||||||
|
|
||||||
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
||||||
|
---
|
||||||
|
tests/qtest/virtio-9p-test.c | 20 ++++++++++----------
|
||||||
|
1 file changed, 10 insertions(+), 10 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/qtest/virtio-9p-test.c b/tests/qtest/virtio-9p-test.c
|
||||||
|
index 3c8cd235cf..1d550eafb1 100644
|
||||||
|
--- a/tests/qtest/virtio-9p-test.c
|
||||||
|
+++ b/tests/qtest/virtio-9p-test.c
|
||||||
|
@@ -748,16 +748,16 @@ static void register_virtio_9p_test(void)
|
||||||
|
/* 9pfs test cases using the 'local' filesystem driver */
|
||||||
|
opts.before = assign_9p_local_driver;
|
||||||
|
qos_add_test("local/config", "virtio-9p", pci_config, &opts);
|
||||||
|
- qos_add_test("local/create_dir", "virtio-9p", fs_create_dir, &opts);
|
||||||
|
- qos_add_test("local/unlinkat_dir", "virtio-9p", fs_unlinkat_dir, &opts);
|
||||||
|
- qos_add_test("local/create_file", "virtio-9p", fs_create_file, &opts);
|
||||||
|
- qos_add_test("local/unlinkat_file", "virtio-9p", fs_unlinkat_file, &opts);
|
||||||
|
- qos_add_test("local/symlink_file", "virtio-9p", fs_symlink_file, &opts);
|
||||||
|
- qos_add_test("local/unlinkat_symlink", "virtio-9p", fs_unlinkat_symlink,
|
||||||
|
- &opts);
|
||||||
|
- qos_add_test("local/hardlink_file", "virtio-9p", fs_hardlink_file, &opts);
|
||||||
|
- qos_add_test("local/unlinkat_hardlink", "virtio-9p", fs_unlinkat_hardlink,
|
||||||
|
- &opts);
|
||||||
|
+ /* qos_add_test("local/create_dir", "virtio-9p", fs_create_dir, &opts); */
|
||||||
|
+ /* qos_add_test("local/unlinkat_dir", "virtio-9p", fs_unlinkat_dir, &opts); */
|
||||||
|
+ /* qos_add_test("local/create_file", "virtio-9p", fs_create_file, &opts); */
|
||||||
|
+ /* qos_add_test("local/unlinkat_file", "virtio-9p", fs_unlinkat_file, &opts); */
|
||||||
|
+ /* qos_add_test("local/symlink_file", "virtio-9p", fs_symlink_file, &opts); */
|
||||||
|
+ /* qos_add_test("local/unlinkat_symlink", "virtio-9p", fs_unlinkat_symlink, */
|
||||||
|
+ /* &opts); */
|
||||||
|
+ /* qos_add_test("local/hardlink_file", "virtio-9p", fs_hardlink_file, &opts); */
|
||||||
|
+ /* qos_add_test("local/unlinkat_hardlink", "virtio-9p", fs_unlinkat_hardlink, */
|
||||||
|
+ /* &opts); */
|
||||||
|
}
|
||||||
|
|
||||||
|
libqos_init(register_virtio_9p_test);
|
||||||
|
--
|
||||||
|
2.46.0
|
||||||
|
|
@ -1,2 +1,2 @@
|
|||||||
SUBSYSTEM=="virtio-ports", ATTR{name}=="org.qemu.guest_agent.0", \
|
SUBSYSTEM=="virtio-ports", ATTR{name}=="org.qemu.guest_agent.0", \
|
||||||
TAG+="systemd" ENV{SYSTEMD_WANTS}="qemu-guest-agent.service"
|
TAG+="systemd", ENV{SYSTEMD_WANTS}="qemu-guest-agent.service"
|
||||||
|
39
README.tests
Normal file
39
README.tests
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
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.
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_context: bodhi_update_push_stable
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
BIN
gpgkey-CEACC9E15534EBABB82D3FA03353C9CEF108B584.gpg
Normal file
BIN
gpgkey-CEACC9E15534EBABB82D3FA03353C9CEF108B584.gpg
Normal file
Binary file not shown.
19
kvm-s390x.conf
Normal file
19
kvm-s390x.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# User changes in this file are preserved across upgrades.
|
||||||
|
#
|
||||||
|
# Setting "modprobe kvm nested=1" only enables Nested Virtualization until
|
||||||
|
# the next reboot or module reload. Uncomment the option below to enable
|
||||||
|
# the feature permanently.
|
||||||
|
#
|
||||||
|
#options kvm nested=1
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Setting "modprobe kvm hpage=1" only enables Huge Page Backing (1MB)
|
||||||
|
# support until the next reboot or module reload. Uncomment the option
|
||||||
|
# below to enable the feature permanently.
|
||||||
|
#
|
||||||
|
# Note: - Incompatible with "nested=1". Loading the module will fail.
|
||||||
|
# - Dirty page logging will be performed on a 1MB (not 4KB) basis,
|
||||||
|
# which can result in a lot of data having to be transferred during
|
||||||
|
# migration, and therefore taking very long to converge.
|
||||||
|
#
|
||||||
|
#options kvm hpage=1
|
12
kvm-x86.conf
Normal file
12
kvm-x86.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Setting modprobe kvm_intel/kvm_amd nested = 1
|
||||||
|
# only enables Nested Virtualization until the next reboot or
|
||||||
|
# module reload. Uncomment the option applicable
|
||||||
|
# to your system below to enable the feature permanently.
|
||||||
|
#
|
||||||
|
# User changes in this file are preserved across upgrades.
|
||||||
|
#
|
||||||
|
# For Intel
|
||||||
|
#options kvm_intel nested=1
|
||||||
|
#
|
||||||
|
# For AMD
|
||||||
|
#options kvm_amd nested=1
|
@ -1,11 +0,0 @@
|
|||||||
###
|
|
||||||
### This configuration file was provided by the qemu package.
|
|
||||||
### Feel free to update as needed.
|
|
||||||
###
|
|
||||||
|
|
||||||
###
|
|
||||||
### Set these options to enable nested virtualization
|
|
||||||
###
|
|
||||||
|
|
||||||
#options kvm_intel nested=1
|
|
||||||
#options kvm_amd nested=1
|
|
3
kvm.conf
Normal file
3
kvm.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#
|
||||||
|
# User changes in this file are preserved across upgrades.
|
||||||
|
#
|
8
plans/main.fmf
Normal file
8
plans/main.fmf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# toplevel plan boilerplate
|
||||||
|
summary: qemu tests
|
||||||
|
description:
|
||||||
|
Test qemu
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
10
qemu-kvm.sh
10
qemu-kvm.sh
@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Libvirt introspects the binary using -M none. In that case, don't try
|
|
||||||
# to init KVM, which will fail and be noisy if the host has kvm disabled
|
|
||||||
opts="-machine accel=kvm"
|
|
||||||
if echo "$@" | grep -q " -M none "; then
|
|
||||||
opts=
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec /usr/bin/qemu-system-x86_64 $opts "$@"
|
|
27
rpminspect.yaml
Normal file
27
rpminspect.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# These pre-compiled files have `.symtab`
|
||||||
|
debuginfo:
|
||||||
|
ignore:
|
||||||
|
- /usr/share/qemu/palcode-clipper
|
||||||
|
- /usr/share/qemu/hppa-firmware.img
|
||||||
|
|
||||||
|
# More pre-compiled rom warnings:
|
||||||
|
# - Program built without GNU_STACK: /usr/share/qemu/u-boot.e500
|
||||||
|
# - Stack is still executable: /usr/share/qemu/hppa-firmware.img
|
||||||
|
elf:
|
||||||
|
exclude_path: ^/usr/share/qemu/(u-boot.e500|hppa-firmware.img)$
|
||||||
|
|
||||||
|
|
||||||
|
inspections:
|
||||||
|
# complains about qemu use of: gethostbyname, inet_aton, inet_ntoa
|
||||||
|
# Warning here isn't really accomplishing anything
|
||||||
|
badfuncs: off
|
||||||
|
|
||||||
|
# bundled edk2 source CryptoPkg fuzz tests have invalid unicode,
|
||||||
|
# but I assume that's intentional
|
||||||
|
#
|
||||||
|
# We would exclude that path using `unicode:` section, but fedora CI
|
||||||
|
# doesn't allow it:
|
||||||
|
# rpminspect: *** ignoring 'unicode' section in ...rpminspect.yaml; only allowed in system-wide configuration
|
||||||
|
#
|
||||||
|
# So instead we fully disable the unicode check
|
||||||
|
unicode: off
|
3
sources
3
sources
@ -1 +1,2 @@
|
|||||||
SHA512 (qemu-5.2.0-rc4.tar.xz) = 47e918392609c34f904962e5759125485407ae52c273053729054300e10fc67fc7ed443c9af25d1d852a5f5c70eee125c703ce15d0e571068848f405de33db3b
|
SHA512 (qemu-9.1.0.tar.xz) = bf61d65e37945fa8ee8640712c719ace05164d86e6df700b98bdc5f79e0a8d5e8f85bd48e726edb62b2419db20673f63ec8b63a60393a914b09cb365621b35e2
|
||||||
|
SHA512 (qemu-9.1.0.tar.xz.sig) = d63144ef6d666f9e107cefadebcf89ede67027303d8cc43217e8454133adb6e9740fcc5f8a29cc7e24f052d9e685c7fe361b6e094dd0d607a1ce9161f6ed3b59
|
||||||
|
20
tests/main.fmf
Normal file
20
tests/main.fmf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# This is 'tmt' config format
|
||||||
|
# https://tmt.readthedocs.io/en/stable/spec.html
|
||||||
|
|
||||||
|
summary: Runtime test qemu
|
||||||
|
|
||||||
|
require:
|
||||||
|
- qemu
|
||||||
|
- qemu-sanity-check
|
||||||
|
|
||||||
|
/smoke:
|
||||||
|
# Make sure -help doesn't fail
|
||||||
|
test: |
|
||||||
|
set -eux
|
||||||
|
qemu-system-x86_64 -help
|
||||||
|
qemu-img -help
|
||||||
|
|
||||||
|
/qemu-sanity-check:
|
||||||
|
test: |
|
||||||
|
set -eux
|
||||||
|
qemu-sanity-check -v
|
3
vhost.conf
Normal file
3
vhost.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Increase default vhost memory map limit to match
|
||||||
|
# KVM's memory slot limit
|
||||||
|
options vhost max_mem_regions=509
|
Loading…
Reference in New Issue
Block a user