Commit Graph

967 Commits

Author SHA1 Message Date
Cole Robinson a2a0690100 Adjust for Xen dropping 32bit arches
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-11 18:35:48 -04:00
Cole Robinson 6097c1e928 More qemu-user-static binfmt arch exclusions
Need to handle armv7hl for f36

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-07 14:19:08 -04:00
Cole Robinson 485f0df965 qemu-6.2.0-11
Split qemu-user-static into per-arch subpackages (bz 2061584)
Drop redundant qemu-trace-stap copy from qemu-user-static (rhbz#2061584)
Remove qemu-common dep from qemu-user-static (rhbz#2061584

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-07 10:29:02 -04:00
Cole Robinson 9b9d774b4c user-static binfmt files aren't packaged on native archs
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-06-07 10:26:15 -04:00
Cole Robinson 993dac8a6a 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-07 10:26:07 -04:00
Daniel J Walsh 8148e20353 Split qemu-user-static into per-arch subpackages (bz 2061584) 2022-06-07 10:25:58 -04:00
Daniel P. Berrangé 01be77e650 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-06-07 10:25:21 -04:00
Daniel P. Berrangé 7a2cfc0dc9 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-06-07 10:24:43 -04:00
Cole Robinson 29db26f008 qemu-6.2.0-10
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
Fix ACPI SLIC table passthrough (bz 2020186)

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-05-17 15:55:34 -04:00
Cole Robinson bc9be573e5 Another attempt at SLIC bug fix
https://bugzilla.redhat.com/show_bug.cgi?id=2020186

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-05-17 15:55:12 -04:00
Cole Robinson d1ec89a9b6 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 15:21:25 -04:00
Cole Robinson 73b18a62cc 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 15:21:18 -04:00
Cole Robinson 86885a407c 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 15:21:13 -04:00
Richard W.M. Jones ccf23d4e53 Revert "Add further fix for SLIC table parsing (RHBZ#2020186)"
Fixing this properly requires backporting several other patches and a
very complicated binary patch.  See details in the bug.

This reverts commit 7f59bf8f07.
2022-05-13 13:16:29 +01:00
Richard W.M. Jones 7f59bf8f07 Add further fix for SLIC table parsing (RHBZ#2020186) 2022-05-12 20:49:55 +01:00
Richard W.M. Jones a9028c06ad Fix for s390x emulation breaking Python (RHBZ#2080519) 2022-05-05 13:15:36 +01:00
Richard W.M. Jones de31087629 acpi: fix QEMU crash when started with SLIC table (RHBZ#2072303)
(cherry picked from commit af7430aef5)
2022-04-06 09:55:12 +01:00
Neal Gompa 9cb11a192e Backport virtiofsd changes to fix crashes on F36+
Resolves: rhbz#2070066
2022-04-01 18:18:13 -04:00
Cole Robinson eef9c627be 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 15:05:13 -05:00
Cole Robinson 28427057d8 spec: Some fixes for centos9 stream virt-preview builds
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-24 15:05:13 -05:00
Cole Robinson 13f29f2869 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 15:36:04 -05:00
Eduardo Lima (Etrunko) d73434f02c virtiofsd: Drop membership of all supplementary groups (CVE-2022-0358)
Resolves: rhbz#2044863
2022-02-09 13:59:58 -03: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
Richard W.M. Jones 69b8f67c7d Revert "ExcludeArch armv7 temporarily"
This reverts commit eedf91107a.
2021-11-23 17:58:27 +00:00
Richard W.M. Jones eedf91107a ExcludeArch armv7 temporarily 2021-11-22 16:56:46 +00:00
Richard W.M. Jones 1609e9b0cd Add support for qemu-nbd --selinux-relabel option (RHBZ#1984938) 2021-11-22 15:07:08 +00:00
Adam Williamson b34716a4e7 Fix snapshot creation with qxl graphics 2021-11-08 10:18:35 -08:00
Cole Robinson 59b417a5f3 spec: Add `--without check` for skipping tests
Makes it easier to skip tests for copr builds

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-10-08 16:17:17 -04:00
Cole Robinson 9182556bd5 spec: Update test skip comment
s390x and ppc64le tests are still busted. I think s390x is koji
build OS related, so maybe a rebase to new fedora will fix it.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-10-08 16:17:17 -04:00
Cole Robinson 7be05bc02d Fix tcg PVH test with binutils 2.36+
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-10-08 16:17:17 -04:00
Cole Robinson 1d93f5191e Fix qemu crash with vnc + libvirt virDomainOpenConsole
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-10-06 12:16:27 -04:00
Richard W.M. Jones 65ccb9e09a Alternate fix for assertion on armv7hl (RHBZ#1999878) 2021-09-12 20:45:17 +01:00
Richard W.M. Jones c5273992ba Fix assertion on armv7hl
https://bugzilla.redhat.com/show_bug.cgi?id=1999878
2021-09-01 17:48:27 +01:00
Richard W.M. Jones c1a37784f9 Fix -cpu max (RHBZ#1999700) 2021-08-31 18:59:35 +01:00
Richard W.M. Jones 9eb1916f15 Disable gcrypt (for real this time).
This will use gnutls's internal implementation as the
default crypto engine:

  Crypto
    TLS priority                 : "@QEMU,SYSTEM"
    GNUTLS support               : YES
    GNUTLS crypto                : YES
    libgcrypt                    : NO
    nettle                       : NO
    crypto afalg                 : NO
    rng-none                     : NO
    Linux keyring                : YES

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1998452
2021-08-27 13:19:13 +01:00
Richard W.M. Jones 1ba242c778 Revert "Disable gcrypt" which seems to disable gnutls (RHBZ#1998452)
This reverts commit a06059bd4d.
2021-08-27 10:23:34 +01:00
Richard W.M. Jones 96944e0b05 Fix dependency pci_gl -> pci-gl and vga_gl -> vga-gl (RHBZ#1997855) 2021-08-26 08:10:11 +01:00
Eduardo Lima (Etrunko) 050829c2b7 qemu-6.1.0 2021-08-24 21:21:19 -03:00
Eduardo Lima (Etrunko) 79f4b0ef32 qemu-6.1.0-rc4
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2021-08-18 15:15:26 -03:00
Eduardo Lima (Etrunko) a06059bd4d Disable gcrypt
Use gnutls as the default crypto backend to match latest upstream defaults

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2021-08-12 13:53:38 -03:00
Eduardo Lima (Etrunko) 7403595754 Update sources with latest tarball
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2021-08-12 12:43:32 -03:00
Eduardo Lima (Etrunko) bf8d867e21 qemu-6.1.0-rc3
- Static build works again.
- Remove --enable-block-drv-whitelist-in-tools option causing iotests
  049 134 158 to fail.

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
2021-08-12 12:32:20 -03:00