Commit Graph

986 Commits

Author SHA1 Message Date
Daniel P. Berrangé
abc86a585d Re-enable tests on i686.
The broken GNUTLS ABI has been fixed

https://bugzilla.redhat.com/show_bug.cgi?id=2174758
https://src.fedoraproject.org/rpms/gnutls/pull-request/78
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-03-02 18:03:10 +00:00
Richard W.M. Jones
da4ef4b66e Disable the tests on i686 2023-03-01 17:26:36 -03:00
Eduardo Lima (Etrunko)
09bf21d16d qemu-7.0.0-14
block: Fix memory alignment of requests (rhbz#2174139)
2023-02-28 17:05:31 -03:00
Christophe Fergeau
ce7904b88e qemu-7.0.0-13
linux-user: default to -cpu max (rhbz#2121700)

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2023-01-19 15:23:13 +01:00
Mauro Matteo Cascella
a75c8ea61f qemu-7.0.0-12 (CVE fixes)
hcd-xhci: infinite loop in xhci_ring_chain_length (CVE-2020-14394) (rhbz#1908050)
ati-vga: out-of-bounds write in ati_2d_blt (CVE-2021-3638) (rhbz#1979882)
acpi erst: memory corruption issues (CVE-2022-4172) (rhbz#2149106)
qxl: qxl_phys2virt unsafe address translation (CVE-2022-4144) (rhbz#2148542)

Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
2022-12-06 23:18:51 +01:00
Richard W.M. Jones
daaab58bcb Fix "failed to set up stack guard page: Cannot allocate memory"
(rhbz#2143006)
2022-11-16 11:33:42 +00:00
Mauro Matteo Cascella
1176069249 qemu-7.0.0-10
vga: avoid crash if no default vga card (rhbz#2095639)
lsi53c895a: Fix use-after-free in lsi_do_msgout (CVE-2022-0216)
vnc-clipboard: fix integer underflow (CVE-2022-3165)

Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
2022-10-18 20:56:18 +02:00
Daniel P. Berrangé
34254733fe Fix compat with glibc 2.36
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-08-02 18:37:18 +01:00
Daniel P. Berrangé
0eeaeaae15 Get rid of patch numbering
RPM no longer requires use of numbered patches, a simple 'Patch' is
sufficient.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-08-02 17:43:44 +01:00
Daniel P. Berrangé
2abd5d20f1 Show config.log contents when configure fails
This will make it easier to debug future koji build failures

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-08-02 15:58:41 +01:00
Paolo Bonzini
98276b3e5f Replace pcre-static dependency with pcre2-static, to adjust for glib switching
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-07-26 07:48:27 +02:00
Fedora Release Engineering
22305b524e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:54:02 +00:00
Cole Robinson
9fda121878 Adjust for Xen dropping 32bit arches
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-11 16:28:18 -04:00
Eduardo Lima (Etrunko)
72c46205a7 Use git-am for patch handling 2022-06-07 09:37:12 -03:00
Cole Robinson
18240b2c2d user-static binfmt files aren't packaged on native archs
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-06 19:23:11 -04:00
Cole Robinson
c6215ce146 BuildRequires: (pipewire-jack-XXX or jack-XXX)
pipewire-jack-audio-connection-kit is a drop in replacement
for jack-audio-connection-kit, but they have package conflicts.

The former is pulled in by default for Fedora Workstation, so prefer
its matching -devel variant, so `dnf builddep` has a chance to work
and not error due to the conflict.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-06 13:39:42 -04:00
Daniel J Walsh
0d9e001957 Split qemu-user-static into per-arch subpackages (bz 2061584) 2022-06-06 13:20:24 -04:00
Cole Robinson
e84a043f40 spec: Stop unsetting smp_mflags for s390x
This was added over 12 years ago, in my testing it seem to be
required. Seems s390x builders only advertise -j2 anyways

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-06 08:56:35 -04:00
Cole Robinson
cb880e77f3 spec: ppc64le tests are still busted, but s390x are working now
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-06 08:55:24 -04:00
Cole Robinson
8d6927e8da Skip iotests entirely
Getting sporadic failures like described here:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg887683.html

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-05 12:50:08 -04:00
Cole Robinson
467b991168 Add some test fixes
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-05 11:00:55 -04:00
Cole Robinson
a3d41732e4 spec: Add explicit alsa and dbus-display ./configure options
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-04 20:31:31 -04:00
Cole Robinson
9439665b5a Disable dbus UI + audio on centos stream 8
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-04 20:31:06 -04:00
Cole Robinson
870630749a spec: Fix building without jack on centos stream
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-03 04:50:21 -04:00
Cole Robinson
a575c5e346 qemu-7.0.0-4
Fix virtio-scsi hang (bz #2079347)
Add dep on virtio-gpu-ccw (bz #2091964)
2022-06-02 10:45:19 -04:00
Cole Robinson
01af37d608 spec: Add dep on virtio-gpu-ccw (bz 2091964)
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-02 09:29:25 -04:00
Cole Robinson
230e4a2b0a qemu-7.0.0-3
Make qemu-common own /usr/share/qemu/vhost-user (bz 2086836)
Add virtiofsd to qemu-system-* deps (bz 2083155)
Add qemu-pr-helper to qemu-system-* deps

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-05-17 15:31:05 -04:00
Cole Robinson
ef9df8de89 spec: Move qemu-pr-helper dep from qemu to qemu-system-XXX
Similar to what was done for virtiofsd in the previous commit

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-05-17 14:25:45 -04:00
Cole Robinson
a686537d26 spec: Move virtiofsd dep from qemu to qemu-system-XXX
When we split virtiofsd out from qemu-common, the intention was it
would be installed with `qemu-system-XXX` but not
`qemu-system-XXX-core`, similar to how device modules are treated.

It was accidentally added to the `qemu` metapackage, which is rarely
used.

This fixes that mistake.

https://bugzilla.redhat.com/show_bug.cgi?id=2083155

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-05-17 14:24:36 -04:00
Cole Robinson
4e789f984b spec: Make qemu-common own /usr/share/qemu/vhost-user
https://bugzilla.redhat.com/show_bug.cgi?id=2086836

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-05-17 14:19:36 -04:00
Daniel P. Berrangé
8825298cc2 Remove qemu-common as a dep from qemu-user-static
qemu-common has a dep on python, and has nothing that is critical for
the operation of the userspace emulators. At most the qemu-trace-stap
tool is useful, but we shouldn't force install of qemu-common just for
that. qemu-user-static needs to be lightweight as its used to support
cross-arch execution in scenarios where container/image size matters.

In dropping qemu-common as a dep, we just need to ensure we still have
the license files present.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-05-04 11:57:10 +01:00
Daniel P. Berrangé
d8c4df3d29 Drop redundant qemu-trace-stap copy from qemu-user-static (rhbz#2061584)
The static build of QEMU installs a copy of 'qemu-trace-stap' python
script, which gets renamed to 'qemu-trace-stap-static' by an overly
enthusiastic wildcard. This ends up adding a python dependency to
the qemu-user-static RPM, which is unhelpful.

Anyone who wants to trace QEMU user binaries with the stap helper
can easily install qemu-common as desired.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-05-03 19:00:07 +01:00
Eduardo Lima (Etrunko)
0007b37337 qemu-7.0.0-1 2022-04-21 23:43:10 -03:00
Richard W.M. Jones
af7430aef5 acpi: fix QEMU crash when started with SLIC table (RHBZ#2072303) 2022-04-06 09:52:10 +01:00
Neal Gompa
fdc9ebb862 Backport virtiofsd changes to fix crashes on F36+
Resolves: rhbz#2070066
2022-04-01 18:22:21 -04:00
Richard W.M. Jones
148536a5a4 Bump and rebuild for SONAME change in libmpathpersist (RHBZ#2069778) 2022-04-01 17:00:38 +01:00
Cole Robinson
3f428d8457 Add edk-arm dep for system-arm
It's expected nowdays for -M virt

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-24 14:49:11 -05:00
Cole Robinson
82e1f8635e spec: Some fixes for centos9 stream virt-preview builds
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-24 14:48:16 -05:00
Cole Robinson
41fa2b0e3c Bump release to not conflict with f36
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-10 15:35:21 -05:00
Eduardo Lima (Etrunko)
c8164e8043 virtiofsd: Drop membership of all supplementary groups (CVE-2022-0358)
Resolves: rhbz#2044863
2022-02-10 15:27:55 -05:00
Cole Robinson
5b1d8f6b37 spec: break out qemu-virtiofsd subpackage
Pulled in by qemu-* but not qemu-*-core, like we do for device modules.

There's a virtual Provides: vhostuser-backend(fs) indicating this
packages is a vhost-user.json fs provider.

Use that for the qemu dep, as in the future there will be alternate
virtiofsd impl packages in Fedora

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-10 14:38:51 -05:00
Paolo Bonzini
06a96ef6dd Fix non-SGX builds 2022-02-02 10:47:02 +01:00
Fedora Release Engineering
f38131b637 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:56:00 +00:00
Cole Robinson
ffa629f31c spec: Fix build on centos 8 stream
* Drop use of %dnl which centos 8 RPM doesn't support
* Use internal capstone copy on centos8
* Don't try to use jack driver on centos

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-01-11 17:45:13 -05:00
Richard W.M. Jones
6dc1a3e091 Bump release and rebuild for new xen 2022-01-11 09:49:20 +00:00
Eduardo Lima (Etrunko)
a640e151b2 qemu-6.2.0 2021-12-15 12:22:07 -03:00
Eduardo Lima (Etrunko)
2d6f694dd7 qemu-6.2.0-rc4
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2021-12-09 13:21:24 -03:00
Eduardo Lima (Etrunko)
842e805475 qemu-6.2.0-rc3
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2021-12-04 13:36:50 -03:00
Daniel P. Berrangé
f54452a157 Fix iovec limits with scsi-generic 2021-11-25 21:29:35 +00:00
Richard W.M. Jones
f9f5de9994 Define STAP_SDT_ARG_CONSTRAINT=g on %%{arm}, workaround for:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395

See also /usr/include/sys/sdt.h
2021-11-24 17:42:43 +00:00