Commit Graph

1095 Commits

Author SHA1 Message Date
Daniel P. Berrangé
c59732e734 Fix compat with linux > 6.1 headers
In file included from /usr/include/linux/btrfs.h:29,
                 from ../linux-user/syscall.c:163:
/usr/include/linux/fs.h:50:8: error: redefinition of 'struct file_clone_range'
   50 | struct file_clone_range {
      |        ^~~~~~~~~~~~~~~~
../linux-user/syscall.c:129:8: note: originally defined here
  129 | struct file_clone_range {
      |        ^~~~~~~~~~~~~~~~

was caused by btrfs.h gaining an include of linux/fs.h,
which clashed with QEMU's workaround for glibc compat
with linux/mount.h.  GLibc huas fixed their sys/mount.h
so we can drop the QEMU workaround, thus fixing the
btrfs.h problem.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-01-10 13:03:55 -05:00
Daniel P. Berrangé
b47d99db35 Trim changelogs older than 2 years
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-01-09 10:43:01 +00:00
Richard W.M. Jones
6a1d35e912 Rebuild for xen-4.17.0 2023-01-03 08:24:36 +00:00
Eduardo Lima (Etrunko)
3ce4eaa6a2 qemu-7.2.0-1 2022-12-20 15:09:58 -03:00
Eduardo Lima (Etrunko)
d09d3961a3 Rebuild for libbpf 1.0.0 2022-11-11 15:02:07 -03:00
Eduardo Lima (Etrunko)
7539983f1e Fix changelog entries 2022-09-27 11:49:10 -03:00
Davide Cavalca
92a87311fd Unconditionally enable capstone-devel 2022-09-08 17:00:39 +01:00
Davide Cavalca
795912844a Bump required meson version 2022-09-08 14:12:47 +01:00
Cole Robinson
bd46f9571e Add .rpmlintrc to exclude some .spec lint
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-09-07 12:12:58 -04:00
Eduardo Lima (Etrunko)
64fe772650 Disable vfio-user for the moment
https://github.com/nutanix/libvfio-user/issues/707

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2022-09-02 11:58:00 -03:00
Eduardo Lima (Etrunko)
055837f300 qemu-7.1.0-1
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2022-09-02 11:07:59 -03:00
Cole Robinson
2874d70b6b Fix pcre-static dep on fedora < 37, for virt-preview
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-08-15 16:49:40 -04: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
57a0fd859a
Disable tests on riscv64 in the %check section
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-19 17:34:51 +02:00
a72423248e
Do not package qemu-riscv32-static.conf on riscv64
This files does not exist on riscv64 architecture:

[..]
Processing files: qemu-user-static-riscv-7.0.0-6.1.riscv64.fc33.riscv64
error: File not found: /builddir/build/BUILDROOT/qemu-7.0.0-6.1.riscv64.fc33.riscv64/usr/lib/binfmt.d/qemu-riscv32-static.conf
RPM build errors:
    File not found: /builddir/build/BUILDROOT/qemu-7.0.0-6.1.riscv64.fc33.riscv64/usr/lib/binfmt.d/qemu-riscv32-static.conf
Child return code was: 1
EXCEPTION: [Error()]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-19 07:44:54 +02:00
fd87d7e805
Disable tests on riscv64
This was tested on multiple boards with the latest stable kernel v5.18.8
and with two glibc version (incl. not yet released 2.36) with the same
result.

qtests hang on a couple exotic arches (e.g. hppa).

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-18 22:39:51 +02:00
122e9d3bd7
Disable capstone for riscv64; add BR libatomic
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-07-13 14:02:26 +03: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