Compare commits

...

22 Commits

Author SHA1 Message Date
David Abdurachmanov 1d003b9d3d
Merge remote-tracking branch 'up/main' into main-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-01-11 12:32:37 +02:00
Daniel P. Berrangé 22512f545b Fix source URL mistake
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-01-09 17:52:35 +00:00
Daniel P. Berrangé cb4378cf14 Add gpg verification of sources
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-01-09 17:49:01 +00:00
Daniel P. Berrangé e1b58db1d6 Fix glitches in SPICE + virtio-vga updates
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2256884
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-01-09 17:48:51 +00:00
Daniel P. Berrangé 1c471d38bc Update to 8.2.0 release
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-01-09 17:48:49 +00:00
Daniel P. Berrangé da8e31c4fc Trim changelogs older than 2 years
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-01-09 17:27:59 +00:00
Richard W.M. Jones c29054addb Further fix for Xen 4.18 2023-12-09 14:46:47 +00:00
Richard W.M. Jones d047f99265 Add patch to fix Xen build
See: https://lists.gnu.org/archive/html/qemu-devel/2023-12/msg01035.html
2023-12-08 09:09:11 +00:00
Richard W.M. Jones a93659c041 Bump and rebuild for xen 4.18.0 2023-12-05 12:26:13 +00:00
Cole Robinson deeb9357cb Rebase to qemu-8.2.0-rc2
+ Add device-display-virtio-gpu-pci-rutabaga subpackage
+ Add BuildRequires: libxdp-devel
+ Add BuildRequires: keytuils-libs-devel

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-12-04 12:09:35 -05:00
Richard W.M. Jones 2818b991c3 Bump and rebuild for xen 4.18.0 2023-11-29 20:10:47 +00:00
Adam Williamson e5cb9532c0 Backport patch from crobinso to fix build on Rawhide 2023-11-28 17:29:24 -08:00
Richard W.M. Jones 9e1191cbbc Bump and rebuild for capstone 5.0.1 2023-11-28 13:55:19 +00:00
Cole Robinson 63c8857a93 spec: Fix *.stp %files in -user and -user-static
-static packages were missing some .stp files, and qemu-user
wildcards were catching too much.

Drop wildcards and explicitly specify all .stp files for all
subpackages

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-11-21 10:43:54 -05:00
Cole Robinson 595e23bfb7 qemu-8.1.2-1
Update to version 8.1.2
2023-10-17 12:45:25 -04:00
Cole Robinson 547a9bc5ba spec: Point `Source` to modern qemu.org site
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-10-17 12:43:20 -04:00
Cole Robinson db8d68a5f9 spec: Update comment that ppc64 qtests are still flakey
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-10-17 12:40:40 -04:00
Cole Robinson 2f2f662015 spec: Use MTESTARGS to disable iotests, not a patch
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-10-17 11:31:50 -04:00
Cole Robinson 5c6b4486a8 Add rpminspect.yaml to exclude some CI false positives
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-09-28 12:39:29 -04:00
Daniel P. Berrangé 9a96ecbb25 Fix syntax for GCC exception reference
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-09-26 17:47:41 +01:00
Daniel P. Berrangé 43be60cdc4 Use correct syntax for public domain license reference
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-09-26 17:47:41 +01:00
Cole Robinson 7be0fd4310 Rebase to qemu 8.1.1
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-09-26 08:53:07 -04:00
8 changed files with 500 additions and 243 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/x86_64/
/*.src.rpm
/qemu-*.tar.xz
/qemu-*.tar.xz.sig

View File

@ -0,0 +1,36 @@
From 9d5b42beb6978dc6219d5dc029c9d453c6b8d503 Mon Sep 17 00:00:00 2001
From: Elen Avan <elen.avan@bk.ru>
Date: Fri, 22 Dec 2023 22:17:21 +0300
Subject: [PATCH] include/ui/rect.h: fix qemu_rect_init() mis-assignment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Elen Avan <elen.avan@bk.ru>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2051
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2050
Fixes: a200d53b1fde "virtio-gpu: replace PIXMAN for region/rect test"
Cc: qemu-stable@nongnu.org
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
include/ui/rect.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/ui/rect.h b/include/ui/rect.h
index 94898f92d0..68f05d78a8 100644
--- a/include/ui/rect.h
+++ b/include/ui/rect.h
@@ -19,7 +19,7 @@ static inline void qemu_rect_init(QemuRect *rect,
uint16_t width, uint16_t height)
{
rect->x = x;
- rect->y = x;
+ rect->y = y;
rect->width = width;
rect->height = height;
}
--
2.43.0

View File

@ -0,0 +1,35 @@
From 98287d67f3ea6c49795838beda4b020cf236fc20 Mon Sep 17 00:00:00 2001
From: Cole Robinson <crobinso@redhat.com>
Date: Mon, 27 Nov 2023 12:51:25 -0500
Subject: [PATCH] pc-bios/optionrom: Fix pvh.img ld build failure on fedora
rawhide
Content-type: text/plain
binutils 2.39 shows some warnings when building pvh.img
/usr/bin/ld: warning: pvh.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/usr/bin/ld: warning: pvh.img has a LOAD segment with RWX permissions
The latter of which is fatal on Fedora rawhide for some reason.
Add linker options to suppress the errors
Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
pc-bios/optionrom/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile
index 30d07026c7..f54ed39b54 100644
--- a/pc-bios/optionrom/Makefile
+++ b/pc-bios/optionrom/Makefile
@@ -36,7 +36,7 @@ config-cc.mak: Makefile
$(call cc-option,-Wno-array-bounds)) 3> config-cc.mak
-include config-cc.mak
-override LDFLAGS = -nostdlib -Wl,--build-id=none,-T,$(SRC_DIR)/flat.lds
+override LDFLAGS = -nostdlib -Wl,--build-id=none,-T,$(SRC_DIR)/flat.lds -Wl,--no-warn-rwx-segments -Wl,--no-warn-execstack
pvh.img: pvh.o pvh_main.o

View File

@ -1,58 +0,0 @@
From e4a112c75a02a789e7710e805f66211426087d55 Mon Sep 17 00:00:00 2001
Message-ID: <e4a112c75a02a789e7710e805f66211426087d55.1692544104.git.crobinso@redhat.com>
From: Cole Robinson <crobinso@redhat.com>
Date: Sun, 20 Aug 2023 10:49:12 -0400
Subject: [PATCH] tests: Disable iotests, like RHEL does
Content-type: text/plain
Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
tests/qemu-iotests/meson.build | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
index 44761e1e4d..78c5836325 100644
--- a/tests/qemu-iotests/meson.build
+++ b/tests/qemu-iotests/meson.build
@@ -51,21 +51,21 @@ foreach format, speed: qemu_iotests_formats
check: true,
)
- foreach item: rc.stdout().strip().split()
- args = [qemu_iotests_check_cmd,
- '-tap', '-' + format, item,
- '--source-dir', meson.current_source_dir(),
- '--build-dir', meson.current_build_dir()]
- # Some individual tests take as long as 45 seconds
- # Bump the timeout to 3 minutes for some headroom
- # on slow machines to minimize spurious failures
- test('io-' + format + '-' + item,
- python,
- args: args,
- depends: qemu_iotests_binaries,
- env: qemu_iotests_env,
- protocol: 'tap',
- timeout: 180,
- suite: suites)
- endforeach
+# foreach item: rc.stdout().strip().split()
+# args = [qemu_iotests_check_cmd,
+# '-tap', '-' + format, item,
+# '--source-dir', meson.current_source_dir(),
+# '--build-dir', meson.current_build_dir()]
+# # Some individual tests take as long as 45 seconds
+# # Bump the timeout to 3 minutes for some headroom
+# # on slow machines to minimize spurious failures
+# test('io-' + format + '-' + item,
+# python,
+# args: args,
+# depends: qemu_iotests_binaries,
+# env: qemu_iotests_env,
+# protocol: 'tap',
+# timeout: 180,
+# suite: suites)
+# endforeach
endforeach
--
2.41.0

Binary file not shown.

590
qemu.spec

File diff suppressed because it is too large Load Diff

20
rpminspect.yaml Normal file
View File

@ -0,0 +1,20 @@
# complains about qemu use of: gethostbyname, inet_aton, inet_ntoa
# but warning here isn't really accomplishing anything
badfuncs:
exclude_path: .*
# 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)$
# CryptoPkg fuzz tests have invalid unicode, but I assume that's intentional
unicode:
exclude: .*edk2/CryptoPkg.*

View File

@ -1 +1,2 @@
SHA512 (qemu-8.1.0.tar.xz) = c5f5e7ce2d8e3c93a02012b136c866e8577df07da4705a0045916c71caeaa21fa1b2d59a4b22a660789a4159b192e12a443e7cbb0724ee85fea258251731724c
SHA512 (qemu-8.2.0.tar.xz) = 92ec41196ff145cdbb98948f6b6e43214fa4b4419554a8a1927fb4527080c8212ccb703e184baf8ee0bdfa50ad7a84689e8f5a69eba1bd7bbbdfd69e3b91256c
SHA512 (qemu-8.2.0.tar.xz.sig) = 05412219ab0ff145f56708f99bc60b378b2b9ef6fbf3c48bffd32a2952188b2ee34a798949b09d6d8fc9f2483094fa0e3b488f52f69508604747ad4e2960f302