render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone
59b417
# Provide a way to skip tests via rpmbuild `--without`
59b417
# This makes it easier to skip tests in copr repos, where
59b417
# the qemu test suite is historically flakey
59b417
%bcond_without check
59b417
6c5570
%global libfdt_version 1.6.0
6c5570
%global libseccomp_version 2.4.0
6c5570
%global libusbx_version 1.0.23
Eduardo Lima (Etrunko) 3ce4ea
%global meson_version 0.61.3
6c5570
%global usbredir_version 0.7.1
e0cb84
%global ipxe_version 20200823-5.git4bd064de
6c5570
7a925b
%global have_memlock_limits 0
7a925b
%global need_qemu_kvm 0
Paolo Bonzini 2803fc
%ifarch %{ix86}
Paolo Bonzini 2803fc
%global kvm_package   system-x86
b26fb5
# need_qemu_kvm should only ever be used by x86
Paolo Bonzini 2803fc
%global need_qemu_kvm 1
Paolo Bonzini 2803fc
%endif
Paolo Bonzini 2803fc
%ifarch x86_64
Paolo Bonzini 2803fc
%global kvm_package   system-x86
b26fb5
# need_qemu_kvm should only ever be used by x86
Paolo Bonzini 2803fc
%global need_qemu_kvm 1
Paolo Bonzini 2803fc
%endif
8dd6b5
%ifarch %{power64}
7a925b
%global have_memlock_limits 1
Paolo Bonzini 2803fc
%global kvm_package   system-ppc
Paolo Bonzini 2803fc
%endif
Paolo Bonzini 31c633
%ifarch s390x
Paolo Bonzini 31c633
%global kvm_package   system-s390x
Paolo Bonzini 31c633
%endif
Peter Robinson 441340
%ifarch armv7hl
Peter Robinson 441340
%global kvm_package   system-arm
Peter Robinson 441340
%endif
21cd6f
%ifarch aarch64
21cd6f
%global kvm_package   system-aarch64
d43799
%endif
Michal Toman 504e25
%ifarch %{mips}
Michal Toman 504e25
%global kvm_package   system-mips
Michal Toman 504e25
%endif
d283ab
%ifarch riscv64
d283ab
%global kvm_package   system-riscv
d283ab
%endif
d43799
4abd8d
%global modprobe_kvm_conf %{_sourcedir}/kvm.conf
4abd8d
%ifarch s390x
4abd8d
    %global modprobe_kvm_conf %{_sourcedir}/kvm-s390x.conf
4abd8d
%endif
4abd8d
%ifarch %{ix86} x86_64
4abd8d
    %global modprobe_kvm_conf %{_sourcedir}/kvm-x86.conf
4abd8d
%endif
4abd8d
7a925b
%global tools_only 0
7a925b
Eduardo Lima (Etrunko) bf8d86
%global user_static 1
Daniel P. Berrangé 0b61e5
%if 0%{?rhel}
7a925b
# EPEL/RHEL do not have required -static builddeps
Daniel P. Berrangé 0b61e5
%global user_static 0
Daniel P. Berrangé 0b61e5
%endif
Daniel P. Berrange 083532
d43799
%global have_kvm 0
d43799
%if 0%{?kvm_package:1}
d43799
%global have_kvm 1
21cd6f
%endif
Paolo Bonzini 2803fc
3930e8
# Matches numactl ExcludeArch
3930e8
%global have_numactl 1
Daniel P. Berrangé 3c0f9e
%ifarch %{arm}
3930e8
%global have_numactl 0
3930e8
%endif
3930e8
3930e8
# Matches spice ExclusiveArch
7da5fc
%global have_spice 1
82e1f8
%ifnarch %{ix86} x86_64 %{arm} aarch64
82e1f8
%global have_spice 0
82e1f8
%endif
82e1f8
%if 0%{?rhel} >= 9
cb35d2
# TODO(Hyperscale): enable when RHBZ#2233161 is resolved
82e1f8
%global have_spice 0
b26fb5
%endif
b26fb5
3930e8
# Matches xen ExclusiveArch
7da5fc
%global have_xen 0
efaa1c
%if 0%{?fedora}
9fda12
%ifarch x86_64 aarch64
b26fb5
%global have_xen 1
b26fb5
%endif
efaa1c
%endif
efaa1c
efaa1c
%global have_liburing 0
9d1981
%if 0%{?fedora} || 0%{?centos_hs}
efaa1c
%ifnarch %{arm}
efaa1c
%global have_liburing 1
efaa1c
%endif
efaa1c
%endif
efaa1c
efaa1c
%global have_virgl 0
efaa1c
%if 0%{?fedora}
efaa1c
%global have_virgl 1
efaa1c
%endif
efaa1c
efaa1c
%global have_pmem 0
efaa1c
%ifarch x86_64 %{power64}
efaa1c
%global have_pmem 1
efaa1c
%endif
efaa1c
dcfe42
%global have_jack 1
dcfe42
%if 0%{?rhel}
cb35d2
%global have_jack %{defined centos_hs}
dcfe42
%endif
dcfe42
943966
%global have_dbus_display 1
943966
%if %{defined rhel} && 0%{?rhel} < 9
943966
# RHEL/Centos 8 glib is not new enough
943966
%global have_dbus_display 0
943966
%endif
943966
650c82
%global have_libblkio 0
cb35d2
# TODO(Hyperscale): enable when RHBZ#2232766 is resolved
650c82
%if 0%{?fedora} >= 37
650c82
%global have_libblkio 1
650c82
%endif
650c82
9bdf4d
%global have_gvnc_devel %{defined fedora}
d4c8ff
%global have_sdl_image %{defined fedora}
6c5570
%global have_fdt 1
6c5570
%global have_opengl 1
6c5570
%global have_usbredir 1
7e8e4f
%global enable_werror 0
6c5570
b26fb5
57dbb7
# Matches edk2.spec ExclusiveArch
7da5fc
%global have_edk2 0
57dbb7
%ifarch %{ix86} x86_64 %{arm} aarch64
57dbb7
%global have_edk2 1
57dbb7
%endif
57dbb7
3c6a0c
# All modules should be listed here.
6c5570
%define have_block_rbd 1
Daniel P. Berrangé a4b3db
%ifarch %{ix86} %{arm}
6c5570
%define have_block_rbd 0
Daniel P. Berrangé a4b3db
%endif
Daniel P. Berrangé e1923c
82e1f8
6c5570
%global have_block_gluster 1
82e1f8
%if 0%{?rhel} >= 9
82e1f8
%global have_block_gluster 0
82e1f8
%endif
6c5570
6c5570
%define have_block_nfs 0
9d1981
%if 0%{?fedora} || 0%{?centos_hs}
6c5570
%define have_block_nfs 1
8b5ba7
%endif
8b5ba7
6c5570
%define have_librdma 1
Daniel P. Berrangé e6e2c6
%ifarch %{arm}
6c5570
%define have_librdma 0
Daniel P. Berrangé e6e2c6
%endif
Daniel P. Berrangé e6e2c6
82e1f8
%define have_libcacard 1
82e1f8
%if 0%{?rhel} >= 9
cb35d2
# TODO(Hyperscale): enable when RHBZ#2233160 is resolved
82e1f8
%define have_libcacard 0
82e1f8
%endif
82e1f8
38b1a6
# LTO still has issues with qemu on armv7hl and aarch64
38b1a6
# https://bugzilla.redhat.com/show_bug.cgi?id=1952483
7e8e4f
%global _lto_cflags %{nil}
7e8e4f
Daniel P. Berrangé 9061c9
%global firmwaredirs "%{_datadir}/qemu-firmware:%{_datadir}/ipxe/qemu:%{_datadir}/seavgabios:%{_datadir}/seabios"
6c5570
7a925b
%global qemudocdir %{_docdir}/%{name}
Daniel P. Berrangé f1fa58
%define evr %{epoch}:%{version}-%{release}
Daniel P. Berrangé f1fa58
650c82
%if %{have_libblkio}
Stefan Hajnoczi 4eb8ef
%define requires_block_blkio Requires: %{name}-block-blkio = %{evr}
650c82
%else
650c82
%define requires_block_blkio %{nil}
650c82
%endif
Daniel P. Berrangé f1fa58
%define requires_block_curl Requires: %{name}-block-curl = %{evr}
Daniel P. Berrangé f1fa58
%define requires_block_dmg Requires: %{name}-block-dmg = %{evr}
6c5570
%if %{have_block_gluster}
Daniel P. Berrangé f1fa58
%define requires_block_gluster Requires: %{name}-block-gluster = %{evr}
Daniel P. Berrangé e1923c
%define obsoletes_block_gluster %{nil}
Daniel P. Berrangé e1923c
%else
Daniel P. Berrangé e1923c
%define requires_block_gluster %{nil}
Daniel P. Berrangé e1923c
%define obsoletes_block_gluster Obsoletes: %{name}-block-gluster < %{evr}
Daniel P. Berrangé e1923c
%endif
Daniel P. Berrangé f1fa58
%define requires_block_iscsi Requires: %{name}-block-iscsi = %{evr}
6c5570
%if %{have_block_nfs}
Daniel P. Berrangé f1fa58
%define requires_block_nfs Requires: %{name}-block-nfs = %{evr}
8b5ba7
%define obsoletes_block_nfs %{nil}
8b5ba7
%else
8b5ba7
%define requires_block_nfs %{nil}
8b5ba7
%define obsoletes_block_nfs Obsoletes: %{name}-block-nfs < %{evr}
8b5ba7
%endif
6c5570
%if %{have_block_rbd}
Daniel P. Berrangé f1fa58
%define requires_block_rbd Requires: %{name}-block-rbd = %{evr}
Daniel P. Berrangé a60ad6
%define obsoletes_block_rbd %{nil}
Daniel P. Berrangé a4b3db
%else
Daniel P. Berrangé f1fa58
%define requires_block_rbd %{nil}
Daniel P. Berrangé a60ad6
%define obsoletes_block_rbd Obsoletes: %{name}-block-rbd < %{evr}
Daniel P. Berrangé f1fa58
%endif
Daniel P. Berrangé f1fa58
%define requires_block_ssh Requires: %{name}-block-ssh = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_alsa Requires: %{name}-audio-alsa = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_oss Requires: %{name}-audio-oss = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_pa Requires: %{name}-audio-pa = %{evr}
Daniel P. Berrangé f1fa58
%define requires_audio_sdl Requires: %{name}-audio-sdl = %{evr}
d20fa7
%define requires_char_baum Requires: %{name}-char-baum = %{evr}
Eduardo Lima (Etrunko) b048de
%define requires_device_usb_host Requires: %{name}-device-usb-host = %{evr}
d20fa7
%define requires_device_usb_redirect Requires: %{name}-device-usb-redirect = %{evr}
Daniel P. Berrangé 941a4c
%define requires_ui_curses Requires: %{name}-ui-curses = %{evr}
Daniel P. Berrangé f1fa58
%define requires_ui_gtk Requires: %{name}-ui-gtk = %{evr}
Daniel P. Berrangé f1fa58
%define requires_ui_sdl Requires: %{name}-ui-sdl = %{evr}
28222c
%define requires_ui_egl_headless Requires: %{name}-ui-egl-headless = %{evr}
28222c
%define requires_ui_opengl Requires: %{name}-ui-opengl = %{evr}
28222c
%define requires_device_display_virtio_gpu Requires: %{name}-device-display-virtio-gpu = %{evr}
28222c
%define requires_device_display_virtio_gpu_pci Requires: %{name}-device-display-virtio-gpu-pci = %{evr}
c7533d
%define requires_device_display_virtio_gpu_ccw Requires: %{name}-device-display-virtio-gpu-ccw = %{evr}
28222c
%define requires_device_display_virtio_vga Requires: %{name}-device-display-virtio-vga = %{evr}
96944e
%define requires_device_display_virtio_vga_gl Requires: %{name}-device-display-virtio-vga-gl = %{evr}
ef9df8
%define requires_package_qemu_pr_helper Requires: qemu-pr-helper
Daniel P. Berrangé f2cb56
%ifnarch %{ix86}
cb35d2
%if 0%{?fedora} || 0%{?rhel} > 9
a68653
%define requires_package_virtiofsd Requires: vhostuser-backend(fs)
cb35d2
%else
cb35d2
%define requires_package_virtiofsd Requires: virtiofsd
cb35d2
%endif
Daniel P. Berrangé f2cb56
%define obsoletes_package_virtiofsd %{nil}
Daniel P. Berrangé f2cb56
%else
Daniel P. Berrangé f2cb56
%define requires_package_virtiofsd %{nil}
Daniel P. Berrangé f2cb56
%define obsoletes_package_virtiofsd Obsoletes: %{name}-virtiofsd < %{evr}
Daniel P. Berrangé f2cb56
%endif
993f41
1ba19d
%if %{have_virgl}
1ba19d
%define requires_device_display_vhost_user_gpu Requires: %{name}-device-display-vhost-user-gpu = %{evr}
Yaakov Selkowitz cef9ee
%define requires_device_display_virtio_gpu_gl Requires: %{name}-device-display-virtio-gpu-gl = %{evr}
Yaakov Selkowitz cef9ee
%define requires_device_display_virtio_gpu_pci_gl Requires: %{name}-device-display-virtio-gpu-pci-gl = %{evr}
1ba19d
%else
1ba19d
%define requires_device_display_vhost_user_gpu %{nil}
Yaakov Selkowitz cef9ee
%define requires_device_display_virtio_gpu_gl %{nil}
Yaakov Selkowitz cef9ee
%define requires_device_display_virtio_gpu_pci_gl %{nil}
1ba19d
%endif
1ba19d
dcfe42
%if %{have_jack}
ffa629
%define jack_drv jack,
dcfe42
%define requires_audio_jack Requires: %{name}-audio-jack = %{evr}
dcfe42
%else
dcfe42
%define requires_audio_jack %{nil}
dcfe42
%endif
dcfe42
943966
%if %{have_dbus_display}
943966
%define requires_audio_dbus Requires: %{name}-audio-dbus = %{evr}
943966
%define requires_ui_dbus Requires: %{name}-ui-dbus = %{evr}
943966
%else
943966
%define requires_audio_dbus %{nil}
943966
%define requires_ui_dbus %{nil}
943966
%endif
943966
993f41
%if %{have_spice}
fddfbd
%define requires_ui_spice_app Requires: %{name}-ui-spice-app = %{evr}
28222c
%define requires_ui_spice_core Requires: %{name}-ui-spice-core = %{evr}
a840dd
%define requires_device_display_qxl Requires: %{name}-device-display-qxl = %{evr}
28222c
%define requires_audio_spice Requires: %{name}-audio-spice = %{evr}
28222c
%define requires_char_spice Requires: %{name}-char-spice = %{evr}
993f41
%else
ff9bb1
%define requires_ui_spice_app %{nil}
28222c
%define requires_ui_spice_core %{nil}
2b132a
%define requires_device_display_qxl %{nil}
28222c
%define requires_audio_spice %{nil}
28222c
%define requires_char_spice %{nil}
993f41
%endif
Daniel P. Berrangé f1fa58
82e1f8
%if %{have_libcacard}
82e1f8
%define requires_device_usb_smartcard Requires: %{name}-device-usb-smartcard = %{evr}
82e1f8
%else
82e1f8
%define requires_device_usb_smartcard %{nil}
82e1f8
%endif
82e1f8
Daniel P. Berrangé f1fa58
%global requires_all_modules \
Stefan Hajnoczi 4eb8ef
%{requires_block_blkio} \
Daniel P. Berrangé f1fa58
%{requires_block_curl} \
Daniel P. Berrangé f1fa58
%{requires_block_dmg} \
Daniel P. Berrangé f1fa58
%{requires_block_gluster} \
Daniel P. Berrangé f1fa58
%{requires_block_iscsi} \
Daniel P. Berrangé f1fa58
%{requires_block_nfs} \
Daniel P. Berrangé f1fa58
%{requires_block_rbd} \
Daniel P. Berrangé f1fa58
%{requires_block_ssh} \
Daniel P. Berrangé f1fa58
%{requires_audio_alsa} \
Eduardo Lima (Etrunko) 0007b3
%{requires_audio_dbus} \
Daniel P. Berrangé f1fa58
%{requires_audio_oss} \
Daniel P. Berrangé f1fa58
%{requires_audio_pa} \
Daniel P. Berrangé f1fa58
%{requires_audio_sdl} \
c7533d
%{requires_audio_jack} \
28222c
%{requires_audio_spice} \
Daniel P. Berrangé f1fa58
%{requires_ui_curses} \
Daniel P. Berrangé f1fa58
%{requires_ui_gtk} \
Thierry Vignaud 167698
%{requires_ui_sdl} \
28222c
%{requires_ui_egl_headless} \
28222c
%{requires_ui_opengl} \
d20fa7
%{requires_ui_spice_app} \
28222c
%{requires_ui_spice_core} \
d20fa7
%{requires_char_baum} \
28222c
%{requires_char_spice} \
d20fa7
%{requires_device_display_qxl} \
1ba19d
%{requires_device_display_vhost_user_gpu} \
28222c
%{requires_device_display_virtio_gpu} \
01af37
%{requires_device_display_virtio_gpu_ccw} \
Eduardo Lima (Etrunko) b048de
%{requires_device_display_virtio_gpu_gl} \
28222c
%{requires_device_display_virtio_gpu_pci} \
Eduardo Lima (Etrunko) b048de
%{requires_device_display_virtio_gpu_pci_gl} \
28222c
%{requires_device_display_virtio_vga} \
Eduardo Lima (Etrunko) b048de
%{requires_device_display_virtio_vga_gl} \
Eduardo Lima (Etrunko) b048de
%{requires_device_usb_host} \
d20fa7
%{requires_device_usb_redirect} \
d20fa7
%{requires_device_usb_smartcard} \
ef9df8
%{requires_package_qemu_pr_helper} \
a68653
%{requires_package_virtiofsd} \
ecbe00
Daniel P. Berrangé a60ad6
# Modules which can be conditionally built
Daniel P. Berrangé a60ad6
%global obsoletes_some_modules \
Daniel P. Berrangé e1923c
%{obsoletes_block_gluster} \
8b5ba7
%{obsoletes_block_rbd} \
Daniel P. Berrangé f2cb56
%{obsoletes_package_virtiofsd} \
7a925b
Obsoletes: %{name}-system-lm32 <= %{epoch}:%{version}-%{release} \
7a925b
Obsoletes: %{name}-system-lm32-core <= %{epoch}:%{version}-%{release} \
7a925b
Obsoletes: %{name}-system-moxie <= %{epoch}:%{version}-%{release} \
7a925b
Obsoletes: %{name}-system-moxie-core <= %{epoch}:%{version}-%{release} \
7a925b
Obsoletes: %{name}-system-unicore32 <= %{epoch}:%{version}-%{release} \
Daniel P. Berrangé 589d35
Obsoletes: %{name}-system-unicore32-core <= %{epoch}:%{version}-%{release} \
Daniel P. Berrangé 9061c9
Obsoletes: sgabios-bin <= 1:0.20180715git-10.fc38
Daniel P. Berrangé a60ad6
409720
# Release candidate version tracking
ffa629
# global rcver rc4
1a4355
%if 0%{?rcver:1}
1a4355
%global rcrel .%{rcver}
1a4355
%global rcstr -%{rcver}
1a4355
%endif
409720
Neal Gompa fdc9eb
# To prevent rpmdev-bumpspec breakage
bc72c7
%global baserelease 4
3400e7
9d1981
# Hyperscale release
9d1981
%global hsrel .1
9d1981
David Woodhouse 5c3734
Summary: QEMU is a FAST! processor emulator
David Woodhouse 5c3734
Name: qemu
Camilla Conte 9d0cc4
Version: 8.0.3
9d1981
Release: %{baserelease}%{?rcrel}%{?hsrel}%{?dist}
Glauber Costa 9235f9
Epoch: 2
Daniel P. Berrangé f53d48
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND FSFAP AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-2.0-or-later with GCC-exception-2.0 exception AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only and LGPL-2.1-or-later AND MIT and public-domain and CC-BY-3.0
Matthias Saou 67348d
URL: http://www.qemu.org/
Dan Horák 330491
1c7073
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}%{?rcstr}.tar.xz
Daniel P. Berrangé dc03f3
Daniel P. Berrange 1ad1f9
Source10: qemu-guest-agent.service
Daniel P. Berrange 1ad1f9
Source11: 99-qemu-guest-agent.rules
Paolo Bonzini 773d5b
Source12: bridge.conf
7a925b
Source17: qemu-ga.sysconfig
7a925b
Source21: 95-kvm-memlock.conf
7a925b
Source26: vhost.conf
4abd8d
Source27: kvm.conf
4abd8d
Source30: kvm-s390x.conf
4abd8d
Source31: kvm-x86.conf
7a925b
Source36: README.tests
Daniel P. Berrangé b91dae
a575c5
# Fix SGX assert
Daniel P. Berrangé 0eeaea
Patch: 0001-target-i386-the-sgx_epc_get_section-stub-is-reachabl.patch
Eduardo Lima (Etrunko) 493beb
Patch: 0002-hw-pci-bridge-Make-PCIe-and-CXL-PXB-Devices-inherit-.patch
Paolo Bonzini 06a96e
6c5570
BuildRequires: meson >= %{meson_version}
Eduardo Lima (Etrunko) 493beb
BuildRequires: bison
Eduardo Lima (Etrunko) 493beb
BuildRequires: flex
6c5570
BuildRequires: zlib-devel
6c5570
BuildRequires: glib2-devel
1ba242
BuildRequires: gnutls-devel
1609e9
BuildRequires: libselinux-devel
6c5570
BuildRequires: cyrus-sasl-devel
6c5570
BuildRequires: libaio-devel
6c5570
BuildRequires: python3-devel
6c5570
BuildRequires: libiscsi-devel
6c5570
BuildRequires: libattr-devel
6c5570
BuildRequires: libusbx-devel >= %{libusbx_version}
6c5570
%if %{have_usbredir}
6c5570
BuildRequires: usbredir-devel >= %{usbredir_version}
6c5570
%endif
6c5570
BuildRequires: texinfo
6c5570
BuildRequires: python3-sphinx
Eduardo Lima (Etrunko) b048de
BuildRequires: python3-sphinx_rtd_theme
6c5570
BuildRequires: libseccomp-devel >= %{libseccomp_version}
6c5570
# For network block driver
6c5570
BuildRequires: libcurl-devel
6c5570
BuildRequires: libssh-devel
6c5570
%if %{have_block_rbd}
6c5570
BuildRequires: librbd-devel
6c5570
%endif
6c5570
# We need both because the 'stap' binary is probed for by configure
6c5570
BuildRequires: systemtap
6c5570
BuildRequires: systemtap-sdt-devel
6c5570
# For VNC PNG support
6c5570
BuildRequires: libpng-devel
6c5570
# For virtiofs
6c5570
BuildRequires: libcap-ng-devel
6c5570
# Hard requirement for version >= 1.3
6c5570
BuildRequires: pixman-devel
6c5570
# For rdma
6c5570
%if %{have_librdma}
6c5570
BuildRequires: rdma-core-devel
6c5570
%endif
6c5570
%if %{have_fdt}
6c5570
BuildRequires: libfdt-devel >= %{libfdt_version}
6c5570
%endif
6c5570
# For compressed guest memory dumps
6c5570
BuildRequires: lzo-devel snappy-devel
6c5570
# For NUMA memory binding
6c5570
%if %{have_numactl}
6c5570
BuildRequires: numactl-devel
6c5570
%endif
6c5570
# qemu-pr-helper multipath support (requires libudev too)
6c5570
BuildRequires: device-mapper-multipath-devel
6c5570
BuildRequires: systemd-devel
6c5570
%if %{have_pmem}
6c5570
BuildRequires: libpmem-devel
6c5570
%endif
6c5570
# qemu-keymap
6c5570
BuildRequires: pkgconfig(xkbcommon)
6c5570
%if %{have_opengl}
6c5570
BuildRequires: pkgconfig(epoxy)
6c5570
BuildRequires: pkgconfig(libdrm)
6c5570
BuildRequires: pkgconfig(gbm)
6c5570
%endif
6c5570
BuildRequires: perl-Test-Harness
6c5570
BuildRequires: libslirp-devel
Eduardo Lima (Etrunko) d09d39
BuildRequires: libbpf-devel >= 1.0.0
650c82
%if %{have_libblkio}
Stefan Hajnoczi 4eb8ef
BuildRequires: libblkio-devel
650c82
%endif
6c5570
6c5570
6c5570
# Fedora specific
d13afb
%if "%{toolchain}" == "clang"
d13afb
BuildRequires: clang
d13afb
%else
Tom Stellard 3fa99d
BuildRequires: gcc
d13afb
%endif
d13afb
BuildRequires: make
Eduardo Lima (Etrunko) 72c462
# For autosetup git_am
Eduardo Lima (Etrunko) 72c462
BuildRequires: git
837eb7
# -display sdl support
b44086
BuildRequires: SDL2-devel
837eb7
# pulseaudio audio output
Mark McLoughlin 6d887b
BuildRequires: pulseaudio-libs-devel
Daniel P. Berrange ecee1e
# alsa audio output
Daniel P. Berrange ecee1e
BuildRequires: alsa-lib-devel
7e8e4f
%if %{have_block_nfs}
837eb7
# NFS drive support
409720
BuildRequires: libnfs-devel
8b5ba7
%endif
Daniel P. Berrangé 744e70
# curses display backend
Mark McLoughlin 62fb37
BuildRequires: ncurses-devel
7da5fc
%if %{have_spice}
837eb7
# spice graphics support
Daniel P. Berrangé 744e70
BuildRequires: spice-protocol
Daniel P. Berrangé 744e70
BuildRequires: spice-server-devel
Paolo Bonzini 2803fc
%endif
Daniel P. Berrangé 744e70
# VNC JPEG support
Daniel P. Berrange eaebe4
BuildRequires: libjpeg-devel
Daniel P. Berrangé 744e70
# Braille device support
Daniel P. Berrange eaebe4
BuildRequires: brlapi-devel
6c5570
%if %{have_block_gluster}
Daniel P. Berrangé 744e70
# gluster block driver
Daniel P. Berrangé 744e70
BuildRequires: glusterfs-api-devel
Daniel P. Berrangé e1923c
%endif
7fae7f
# GTK frontend
7fae7f
BuildRequires: gtk3-devel
6f5575
BuildRequires: vte291-devel
b9a8d0
# GTK translations
b9a8d0
BuildRequires: gettext
7da5fc
%if %{have_xen}
837eb7
# Xen support
3400e7
BuildRequires: xen-devel
3400e7
%endif
Daniel P. Berrangé 744e70
# reading bzip2 compressed dmg images
8055ee
BuildRequires: bzip2-devel
Daniel P. Berrangé 744e70
# TLS test suite
88b379
BuildRequires: libtasn1-devel
82e1f8
%if %{have_libcacard}
Daniel P. Berrangé 744e70
# smartcard device
Daniel P. Berrangé 744e70
BuildRequires: libcacard-devel
82e1f8
%endif
efaa1c
%if %{have_virgl}
Daniel P. Berrangé 744e70
# virgl 3d support
88b379
BuildRequires: virglrenderer-devel
748c8c
%endif
Daniel P. Berrangé 744e70
# preferred disassembler for TCG
700f12
BuildRequires: capstone-devel
Daniel P. Berrangé 744e70
# qemu-ga
007776
BuildRequires: libudev-devel
Daniel P. Berrangé 744e70
# qauth infrastructure
d3ff78
BuildRequires: pam-devel
efaa1c
%if %{have_liburing}
Daniel P. Berrangé 744e70
# liburing support. Library isn't built for arm
8833af
BuildRequires: liburing-devel
176558
%endif
Daniel P. Berrangé 744e70
# zstd compression support
8833af
BuildRequires: libzstd-devel
76b4bc
# `hostname` used by test suite
76b4bc
BuildRequires: hostname
Daniel P. Berrangé 744e70
# nvdimm dax
f4bee9
BuildRequires: daxctl-devel
c7533d
# fuse block device
c7533d
BuildRequires: fuse-devel
dcfe42
%if %{have_jack}
c7533d
# jack audio driver
c6215c
BuildRequires: (pipewire-jack-audio-connection-kit-devel or jack-audio-connection-kit-devel)
dcfe42
%endif
ec4dab
BuildRequires: fuse3-devel
d4c8ff
%if %{have_sdl_image}
ec4dab
BuildRequires: SDL2_image-devel
d4c8ff
%endif
9bdf4d
%if %{have_gvnc_devel}
9bdf4d
# Used by vnc-display-test
Eduardo Lima (Etrunko) 493beb
BuildRequires: pkgconfig(gvnc-1.0)
9bdf4d
%endif
8055ee
Daniel P. Berrangé 0b61e5
%if %{user_static}
2874d7
BuildRequires: glibc-static glib2-static zlib-static
2874d7
%if 0%{?fedora} >= 37
2874d7
BuildRequires: pcre2-static
2874d7
%else
2874d7
BuildRequires: pcre-static
2874d7
%endif
Daniel P. Berrangé 0b61e5
%endif
Daniel P. Berrange 083532
Eduardo Lima (Etrunko) 055837
7a925b
# Requires for the Fedora 'qemu' metapackage
c27704
Requires: %{name}-user = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-aarch64 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-alpha = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
f4bee9
Requires: %{name}-system-avr = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) 055837
Requires: %{name}-system-loongarch64 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-microblaze = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-nios2 = %{epoch}:%{version}-%{release}
1c7073
Requires: %{name}-system-or1k = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-riscv = %{epoch}:%{version}-%{release}
e1b832
Requires: %{name}-system-rx = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-s390x = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release}
3c6a0c
Requires: %{name}-system-tricore = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-img = %{epoch}:%{version}-%{release}
ba7d6c
Requires: %{name}-tools = %{epoch}:%{version}-%{release}
5b1d8f
Glauber Costa 8571d0
e5d06d
%description
e5d06d
%{name} is an open source virtualizer that provides hardware
e5d06d
emulation for the KVM hypervisor. %{name} acts as a virtual
e5d06d
machine monitor together with the KVM kernel modules, and emulates the
e5d06d
hardware for a full system such as a PC and its associated peripherals.
Glauber Costa 485711
7a925b
%package common
Glauber Costa 9235f9
Summary: QEMU common files needed by all QEMU targets
Mark McLoughlin 6d739f
Requires(post): /usr/bin/getent
Mark McLoughlin 6d739f
Requires(post): /usr/sbin/groupadd
Mark McLoughlin 6d739f
Requires(post): /usr/sbin/useradd
5439f9
Requires(post): systemd-units
5439f9
Requires(preun): systemd-units
5439f9
Requires(postun): systemd-units
Daniel P. Berrangé a60ad6
%{obsoletes_some_modules}
e0cb84
Requires: ipxe-roms-qemu >= %{ipxe_version}
Glauber Costa 9235f9
%description common
7a925b
%{name} is an open source virtualizer that provides hardware emulation for
7a925b
the KVM hypervisor.
7a925b
7a925b
This package provides documentation and auxiliary programs used with %{name}.
Glauber Costa 485711
c27704
9348aa
%package docs
7a925b
Summary: %{name} documentation
9348aa
%description docs
7a925b
%{name}-docs provides documentation files regarding %{name}.
7a925b
7a925b
7a925b
%package -n qemu-img
7a925b
Summary: QEMU command line tool for manipulating disk images
7a925b
%description -n qemu-img
7a925b
This package provides a command line tool for manipulating disk images.
9348aa
9348aa
7a925b
%package -n qemu-guest-agent
Daniel P. Berrange 1ad1f9
Summary: QEMU guest agent
Daniel P. Berrange 1ad1f9
Requires(post): systemd-units
Daniel P. Berrange 1ad1f9
Requires(preun): systemd-units
Daniel P. Berrange 1ad1f9
Requires(postun): systemd-units
7a925b
%description -n qemu-guest-agent
7a925b
%{name} is an open source virtualizer that provides hardware emulation for
7a925b
the KVM hypervisor.
7a925b
Daniel P. Berrange 1ad1f9
This package provides an agent to run inside guests, which communicates
Daniel P. Berrange 1ad1f9
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
This package does not need to be installed on the host OS.
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
ba7d6c
%package tools
ba7d6c
Summary: %{name} support tools
ba7d6c
%description tools
ba7d6c
%{name}-tools provides various tools related to %{name} usage.
ba7d6c
ba7d6c
7ae793
%package -n qemu-pr-helper
7ae793
Summary: qemu-pr-helper utility for %{name}
7ae793
%description -n qemu-pr-helper
7ae793
This package provides the qemu-pr-helper utility that is required for certain
7ae793
SCSI features.
7ae793
7ae793
7a925b
%package tests
7a925b
Summary: tests for the %{name} package
7a925b
Requires: %{name} = %{epoch}:%{version}-%{release}
7a925b
7a925b
%define testsdir %{_libdir}/%{name}/tests-src
7a925b
7a925b
%description tests
7a925b
The %{name}-tests rpm contains tests that can be used to verify
7a925b
the functionality of the installed %{name} package
7a925b
7a925b
Install this package if you want access to the avocado_qemu
7a925b
tests, or qemu-iotests.
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
650c82
%if %{have_libblkio}
Stefan Hajnoczi 4eb8ef
%package  block-blkio
Stefan Hajnoczi 4eb8ef
Summary: QEMU blkio block driver
Stefan Hajnoczi 4eb8ef
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Stefan Hajnoczi 4eb8ef
%description block-blkio
Stefan Hajnoczi 4eb8ef
This package provides the additional blkio block driver for QEMU.
Stefan Hajnoczi 4eb8ef
Stefan Hajnoczi 4eb8ef
Install this package if you want to access disks over vhost-user-blk, vdpa-blk,
Stefan Hajnoczi 4eb8ef
and other transports using the libblkio library.
650c82
%endif
Stefan Hajnoczi 4eb8ef
Stefan Hajnoczi 4eb8ef
ecbe00
%package  block-curl
ecbe00
Summary: QEMU CURL block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-curl
ecbe00
This package provides the additional CURL block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote disks over
ecbe00
http, https, ftp and other transports provided by the CURL library.
ecbe00
ecbe00
7a925b
%package  block-iscsi
7a925b
Summary: QEMU iSCSI block driver
7a925b
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
7a925b
%description block-iscsi
7a925b
This package provides the additional iSCSI block driver for QEMU.
7a925b
7a925b
Install this package if you want to access iSCSI volumes.
7a925b
7a925b
7a925b
%if %{have_block_rbd}
7a925b
%package  block-rbd
7a925b
Summary: QEMU Ceph/RBD block driver
7a925b
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
7a925b
%description block-rbd
7a925b
This package provides the additional Ceph/RBD block driver for QEMU.
7a925b
7a925b
Install this package if you want to access remote Ceph volumes
7a925b
using the rbd protocol.
7a925b
%endif
7a925b
7a925b
7a925b
%package  block-ssh
7a925b
Summary: QEMU SSH block driver
7a925b
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
7a925b
%description block-ssh
7a925b
This package provides the additional SSH block driver for QEMU.
7a925b
7a925b
Install this package if you want to access remote disks using
7a925b
the Secure Shell (SSH) protocol.
7a925b
7a925b
7a925b
%if %{have_opengl}
7a925b
%package  ui-opengl
7a925b
Summary: QEMU opengl support
7a925b
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
7a925b
Requires: mesa-libGL
7a925b
Requires: mesa-libEGL
7a925b
Requires: mesa-dri-drivers
7a925b
%description ui-opengl
7a925b
This package provides opengl support.
7a925b
%endif
7a925b
7a925b
7a925b
# Fedora specific
ecbe00
%package  block-dmg
ecbe00
Summary: QEMU block driver for DMG disk images
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-dmg
ecbe00
This package provides the additional DMG block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to open '.dmg' files.
ecbe00
ecbe00
6c5570
%if %{have_block_gluster}
ecbe00
%package  block-gluster
ecbe00
Summary: QEMU Gluster block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-gluster
ecbe00
This package provides the additional Gluster block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote Gluster storage.
Daniel P. Berrangé e1923c
%endif
ecbe00
ecbe00
6c5570
%if %{have_block_nfs}
151958
%package  block-nfs
151958
Summary: QEMU NFS block driver
151958
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
151958
151958
%description block-nfs
151958
This package provides the additional NFS block driver for QEMU.
151958
151958
Install this package if you want to access remote NFS storage.
8b5ba7
%endif
151958
3c6a0c
3c6a0c
%package  audio-alsa
3c6a0c
Summary: QEMU ALSA audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-alsa
3c6a0c
This package provides the additional ALSA audio driver for QEMU.
3c6a0c
943966
%if %{have_dbus_display}
Eduardo Lima (Etrunko) 0007b3
%package  audio-dbus
Eduardo Lima (Etrunko) 0007b3
Summary: QEMU D-Bus audio driver
Eduardo Lima (Etrunko) 0007b3
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) 0007b3
%description audio-dbus
Eduardo Lima (Etrunko) 0007b3
This package provides the additional D-Bus audio driver for QEMU.
943966
%endif
Eduardo Lima (Etrunko) 0007b3
3c6a0c
%package  audio-oss
3c6a0c
Summary: QEMU OSS audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-oss
3c6a0c
This package provides the additional OSS audio driver for QEMU.
3c6a0c
3c6a0c
%package  audio-pa
3c6a0c
Summary: QEMU PulseAudio audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-pa
fe9446
This package provides the additional PulseAudio audio driver for QEMU.
3c6a0c
3c6a0c
%package  audio-sdl
3c6a0c
Summary: QEMU SDL audio driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description audio-sdl
3c6a0c
This package provides the additional SDL audio driver for QEMU.
3c6a0c
dcfe42
%if %{have_jack}
c7533d
%package  audio-jack
c7533d
Summary: QEMU Jack audio driver
c7533d
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
c7533d
%description audio-jack
c7533d
This package provides the additional Jack audio driver for QEMU.
dcfe42
%endif
c7533d
3c6a0c
3c6a0c
%package  ui-curses
3c6a0c
Summary: QEMU curses UI driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description ui-curses
3c6a0c
This package provides the additional curses UI for QEMU.
3c6a0c
943966
%if %{have_dbus_display}
Eduardo Lima (Etrunko) 0007b3
%package  ui-dbus
Eduardo Lima (Etrunko) 0007b3
Summary: QEMU D-Bus UI driver
Eduardo Lima (Etrunko) 0007b3
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) 0007b3
%description ui-dbus
Eduardo Lima (Etrunko) 0007b3
This package provides the additional D-Bus UI for QEMU.
943966
%endif
Eduardo Lima (Etrunko) 0007b3
3c6a0c
%package  ui-gtk
3c6a0c
Summary: QEMU GTK UI driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description ui-gtk
3c6a0c
This package provides the additional GTK UI for QEMU.
3c6a0c
3c6a0c
%package  ui-sdl
3c6a0c
Summary: QEMU SDL UI driver
3c6a0c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release}
3c6a0c
%description ui-sdl
3c6a0c
This package provides the additional SDL UI for QEMU.
3c6a0c
28222c
%package  ui-egl-headless
28222c
Summary: QEMU EGL headless driver
0038f8
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description ui-egl-headless
28222c
This package provides the additional egl-headless UI for QEMU.
28222c
3c6a0c
f4bee9
%package  char-baum
f4bee9
Summary: QEMU Baum chardev driver
f4bee9
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
f4bee9
%description char-baum
f4bee9
This package provides the Baum chardev driver for QEMU.
f4bee9
f4bee9
28222c
%package device-display-virtio-gpu
28222c
Summary: QEMU virtio-gpu display device
f4bee9
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description device-display-virtio-gpu
28222c
This package provides the virtio-gpu display device for QEMU.
Eduardo Lima (Etrunko) b048de
Yaakov Selkowitz cef9ee
%if %{have_virgl}
Eduardo Lima (Etrunko) b048de
%package device-display-virtio-gpu-gl
Eduardo Lima (Etrunko) b048de
Summary: QEMU virtio-gpu-gl display device
Eduardo Lima (Etrunko) b048de
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) b048de
%description device-display-virtio-gpu-gl
Eduardo Lima (Etrunko) b048de
This package provides the virtio-gpu-gl display device for QEMU.
Yaakov Selkowitz cef9ee
%endif
Eduardo Lima (Etrunko) b048de
28222c
%package device-display-virtio-gpu-pci
28222c
Summary: QEMU virtio-gpu-pci display device
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description device-display-virtio-gpu-pci
28222c
This package provides the virtio-gpu-pci display device for QEMU.
Eduardo Lima (Etrunko) b048de
Yaakov Selkowitz cef9ee
%if %{have_virgl}
Eduardo Lima (Etrunko) b048de
%package device-display-virtio-gpu-pci-gl
Eduardo Lima (Etrunko) b048de
Summary: QEMU virtio-gpu-pci-gl display device
Eduardo Lima (Etrunko) b048de
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) b048de
%description device-display-virtio-gpu-pci-gl
Eduardo Lima (Etrunko) b048de
This package provides the virtio-gpu-pci-gl display device for QEMU.
Yaakov Selkowitz cef9ee
%endif
Eduardo Lima (Etrunko) b048de
c7533d
%package device-display-virtio-gpu-ccw
c7533d
Summary: QEMU virtio-gpu-ccw display device
c7533d
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
c7533d
%description device-display-virtio-gpu-ccw
c7533d
This package provides the virtio-gpu-ccw display device for QEMU.
Eduardo Lima (Etrunko) b048de
28222c
%package device-display-virtio-vga
28222c
Summary: QEMU virtio-vga display device
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description device-display-virtio-vga
28222c
This package provides the virtio-vga display device for QEMU.
f4bee9
Eduardo Lima (Etrunko) b048de
%package device-display-virtio-vga-gl
Eduardo Lima (Etrunko) b048de
Summary: QEMU virtio-vga-gl display device
Eduardo Lima (Etrunko) b048de
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) b048de
%description device-display-virtio-vga-gl
Eduardo Lima (Etrunko) b048de
This package provides the virtio-vga-gl display device for QEMU.
Eduardo Lima (Etrunko) b048de
Eduardo Lima (Etrunko) b048de
%package device-usb-host
Eduardo Lima (Etrunko) b048de
Summary: QEMU usb host device
Eduardo Lima (Etrunko) b048de
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) b048de
%description device-usb-host
Eduardo Lima (Etrunko) b048de
This package provides the USB pass through driver for QEMU.
Eduardo Lima (Etrunko) b048de
f4bee9
%package device-usb-redirect
f4bee9
Summary: QEMU usbredir device
f4bee9
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
f4bee9
%description device-usb-redirect
f4bee9
This package provides the usbredir device for QEMU.
f4bee9
82e1f8
%if %{have_libcacard}
f4bee9
%package device-usb-smartcard
f4bee9
Summary: QEMU USB smartcard device
f4bee9
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
f4bee9
%description device-usb-smartcard
f4bee9
This package provides the USB smartcard device for QEMU.
82e1f8
%endif
f4bee9
1ba19d
%if %{have_virgl}
1ba19d
%package device-display-vhost-user-gpu
1ba19d
Summary: QEMU QXL display device
1ba19d
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
1ba19d
%description device-display-vhost-user-gpu
1ba19d
This package provides the vhost-user-gpu display device for QEMU.
1ba19d
%endif
f4bee9
28222c
%if %{have_spice}
28222c
%package  ui-spice-core
28222c
Summary: QEMU spice-core UI driver
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-opengl%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description ui-spice-core
28222c
This package provides the additional spice-core UI for QEMU.
28222c
28222c
%package  ui-spice-app
28222c
Summary: QEMU spice-app UI driver
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release}
a30637
Requires: %{name}-char-spice%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description ui-spice-app
28222c
This package provides the additional spice-app UI for QEMU.
28222c
28222c
%package device-display-qxl
28222c
Summary: QEMU QXL display device
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description device-display-qxl
28222c
This package provides the QXL display device for QEMU.
28222c
28222c
%package  char-spice
28222c
Summary: QEMU spice chardev driver
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description char-spice
28222c
This package provides the spice chardev driver for QEMU.
28222c
28222c
%package  audio-spice
28222c
Summary: QEMU spice audio driver
28222c
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
18c8d5
Requires: %{name}-ui-spice-core%{?_isa} = %{epoch}:%{version}-%{release}
28222c
%description audio-spice
28222c
This package provides the spice audio driver for QEMU.
28222c
%endif
28222c
28222c
48e07c
%if %{have_kvm}
48e07c
%package kvm
48e07c
Summary: QEMU metapackage for KVM support
48e07c
Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
48e07c
%description kvm
48e07c
This is a meta-package that provides a qemu-system-<arch> package for native
48e07c
architectures where kvm can be enabled. For example, in an x86 system, this
48e07c
will install qemu-system-x86
ecbe00
ecbe00
ecbe00
%package kvm-core
ecbe00
Summary: QEMU metapackage for KVM support
ecbe00
Requires: qemu-%{kvm_package}-core = %{epoch}:%{version}-%{release}
ecbe00
%description kvm-core
ecbe00
This is a meta-package that provides a qemu-system-<arch>-core package
ecbe00
for native architectures where kvm can be enabled. For example, in an
ecbe00
x86 system, this will install qemu-system-x86-core
48e07c
%endif
979ec1
979ec1
c27704
%package user
Glauber Costa 9235f9
Summary: QEMU user mode emulation of qemu targets
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
c27704
%description user
Glauber Costa 9235f9
This package provides the user mode emulation of qemu targets
Glauber Costa 9235f9
c27704
Daniel P. Berrange 083532
%package user-binfmt
Daniel P. Berrange 083532
Summary: QEMU user mode emulation of qemu targets
Daniel P. Berrange 083532
Requires: %{name}-user = %{epoch}:%{version}-%{release}
Daniel P. Berrange 083532
Requires(post): systemd-units
Daniel P. Berrange 083532
Requires(postun): systemd-units
Daniel P. Berrange 083532
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
4a2d9a
# Temporarily disable to get fedora CI working. Re-enable
4a2d9a
# once this CI issue let's us deal with subpackage conflicts:
4a2d9a
# https://pagure.io/fedora-ci/general/issue/184
4a2d9a
#Conflicts: qemu-user-static
Daniel P. Berrange 083532
%description user-binfmt
Daniel P. Berrange 083532
This package provides the user mode emulation of qemu targets
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
%package user-static
Daniel P. Berrange 083532
Summary: QEMU user mode emulation of qemu targets static build
Daniel P. Berrange 083532
Requires(post): systemd-units
Daniel P. Berrange 083532
Requires(postun): systemd-units
Daniel P. Berrange 083532
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
4a2d9a
# Temporarily disable to get fedora CI working. Re-enable
4a2d9a
# once this CI issue let's us deal with subpackage conflicts:
4a2d9a
# https://pagure.io/fedora-ci/general/issue/184
4a2d9a
#Conflicts: qemu-user-binfmt
4a2d9a
#Provides: qemu-user-binfmt
Daniel J Walsh 0d9e00
Requires: qemu-user-static-aarch64
Daniel J Walsh 0d9e00
Requires: qemu-user-static-alpha
Daniel J Walsh 0d9e00
Requires: qemu-user-static-arm
Daniel J Walsh 0d9e00
Requires: qemu-user-static-cris
Daniel J Walsh 0d9e00
Requires: qemu-user-static-hexagon
Daniel J Walsh 0d9e00
Requires: qemu-user-static-hppa
Eduardo Lima (Etrunko) 055837
Requires: qemu-user-static-loongarch64
Daniel J Walsh 0d9e00
Requires: qemu-user-static-m68k
Daniel J Walsh 0d9e00
Requires: qemu-user-static-microblaze
Daniel J Walsh 0d9e00
Requires: qemu-user-static-mips
Daniel J Walsh 0d9e00
Requires: qemu-user-static-nios2
Daniel J Walsh 0d9e00
Requires: qemu-user-static-or1k
Daniel J Walsh 0d9e00
Requires: qemu-user-static-ppc
Daniel J Walsh 0d9e00
Requires: qemu-user-static-riscv
Daniel J Walsh 0d9e00
Requires: qemu-user-static-s390x
Daniel J Walsh 0d9e00
Requires: qemu-user-static-sh4
Daniel J Walsh 0d9e00
Requires: qemu-user-static-sparc
Daniel J Walsh 0d9e00
Requires: qemu-user-static-x86
Daniel J Walsh 0d9e00
Requires: qemu-user-static-xtensa
Daniel J Walsh 0d9e00
Daniel P. Berrange 083532
%description user-static
Daniel P. Berrange 083532
This package provides the user mode emulation of qemu targets built as
Daniel P. Berrange 083532
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-aarch64
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of aarch64 qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-aarch64
Daniel J Walsh 0d9e00
This package provides the aarch64 user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-alpha
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of alpha qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-alpha
Daniel J Walsh 0d9e00
This package provides the alpha user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-arm
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of arm qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-arm
Daniel J Walsh 0d9e00
This package provides the arm user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-cris
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of cris qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-cris
Daniel J Walsh 0d9e00
This package provides the cris user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-hexagon
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of hexagon qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-hexagon
Daniel J Walsh 0d9e00
This package provides the hexagon user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-hppa
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of hppa qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-hppa
Daniel J Walsh 0d9e00
This package provides the hppa user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Eduardo Lima (Etrunko) 055837
%package user-static-loongarch64
Eduardo Lima (Etrunko) 055837
Summary: QEMU user mode emulation of loongarch64 qemu targets static build
Eduardo Lima (Etrunko) 055837
%description user-static-loongarch64
Eduardo Lima (Etrunko) 055837
This package provides the loongarch64 user mode emulation of qemu targets built as
Eduardo Lima (Etrunko) 055837
static binaries
Eduardo Lima (Etrunko) 055837
Daniel J Walsh 0d9e00
%package user-static-m68k
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of m68k qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-m68k
Daniel J Walsh 0d9e00
This package provides the m68k user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-microblaze
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of microblaze qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-microblaze
Daniel J Walsh 0d9e00
This package provides the microblaze user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-mips
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of mips qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-mips
Daniel J Walsh 0d9e00
This package provides the mips user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-nios2
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of nios2 qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-nios2
Daniel J Walsh 0d9e00
This package provides the nios2 user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-or1k
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of or1k qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-or1k
Daniel J Walsh 0d9e00
This package provides the or1k user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-ppc
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of ppc qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-ppc
Daniel J Walsh 0d9e00
This package provides the ppc user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-riscv
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of riscv qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-riscv
Daniel J Walsh 0d9e00
This package provides the riscv user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-s390x
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of s390x qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-s390x
Daniel J Walsh 0d9e00
This package provides the s390x user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-sh4
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of sh4 qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-sh4
Daniel J Walsh 0d9e00
This package provides the sh4 user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
Daniel J Walsh 0d9e00
%package user-static-sparc
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of sparc qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-sparc
Daniel J Walsh 0d9e00
This package provides the sparc user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-x86
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of x86 qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-x86
Daniel J Walsh 0d9e00
This package provides the x86 user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%package user-static-xtensa
Daniel J Walsh 0d9e00
Summary: QEMU user mode emulation of xtensa qemu targets static build
Daniel J Walsh 0d9e00
%description user-static-xtensa
Daniel J Walsh 0d9e00
This package provides the xtensa user mode emulation of qemu targets built as
Daniel J Walsh 0d9e00
static binaries
Daniel J Walsh 0d9e00
ecbe00
3758f8
%package system-aarch64
3758f8
Summary: QEMU system emulator for AArch64
3758f8
Requires: %{name}-system-aarch64-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3758f8
%description system-aarch64
3758f8
This package provides the QEMU system emulator for AArch64.
ecbe00
3758f8
%package system-aarch64-core
3758f8
Summary: QEMU system emulator for AArch64
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
7da5fc
%if %{have_edk2}
3758f8
Requires: edk2-aarch64
57dbb7
%endif
3758f8
%description system-aarch64-core
3758f8
This package provides the QEMU system emulator for AArch64.
Glauber Costa 9235f9
c27704
c27704
%package system-alpha
Paolo Bonzini c32efe
Summary: QEMU system emulator for Alpha
ecbe00
Requires: %{name}-system-alpha-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-alpha
3758f8
This package provides the QEMU system emulator for Alpha systems.
Paolo Bonzini c32efe
ecbe00
%package system-alpha-core
ecbe00
Summary: QEMU system emulator for Alpha
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-alpha-core
3758f8
This package provides the QEMU system emulator for Alpha systems.
ecbe00
c27704
c27704
%package system-arm
Paolo Bonzini 40e61a
Summary: QEMU system emulator for ARM
ecbe00
Requires: %{name}-system-arm-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-arm
3758f8
This package provides the QEMU system emulator for ARM systems.
ecbe00
ecbe00
%package system-arm-core
ecbe00
Summary: QEMU system emulator for ARM
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3f428d
%if %{have_edk2}
3f428d
Requires: edk2-arm
3f428d
%endif
ecbe00
%description system-arm-core
3758f8
This package provides the QEMU system emulator for ARM boards.
Glauber Costa 485711
c27704
f4bee9
%package system-avr
f4bee9
Summary: QEMU system emulator for AVR
f4bee9
Requires: %{name}-system-avr-core = %{epoch}:%{version}-%{release}
f4bee9
%{requires_all_modules}
f4bee9
%description system-avr
f4bee9
This package provides the QEMU system emulator for AVR systems.
f4bee9
f4bee9
%package system-avr-core
c9c298
Summary: QEMU system emulator for AVR
f4bee9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
f4bee9
%description system-avr-core
f4bee9
This package provides the QEMU system emulator for AVR systems.
f4bee9
f4bee9
c27704
%package system-cris
Paolo Bonzini 40e61a
Summary: QEMU system emulator for CRIS
ecbe00
Requires: %{name}-system-cris-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-cris
ecbe00
This package provides the system emulator for CRIS systems.
ecbe00
ecbe00
%package system-cris-core
ecbe00
Summary: QEMU system emulator for CRIS
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-cris-core
Paolo Bonzini 40e61a
This package provides the system emulator for CRIS boards.
Paolo Bonzini 40e61a
c27704
3758f8
%package system-hppa
3758f8
Summary: QEMU system emulator for HPPA
3758f8
Requires: %{name}-system-hppa-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-hppa
3758f8
This package provides the QEMU system emulator for HPPA.
3758f8
3758f8
%package system-hppa-core
3758f8
Summary: QEMU system emulator for hppa
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-hppa-core
3758f8
This package provides the QEMU system emulator for HPPA.
3758f8
3758f8
Eduardo Lima (Etrunko) 055837
%package system-loongarch64
Eduardo Lima (Etrunko) 055837
Summary: QEMU system emulator for LoongArch (LA64)
Eduardo Lima (Etrunko) 055837
Requires: %{name}-system-loongarch64-core = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) 055837
%{requires_all_modules}
Eduardo Lima (Etrunko) 055837
%description system-loongarch64
Eduardo Lima (Etrunko) 055837
This package provides the QEMU system emulator for Loongson boards.
Eduardo Lima (Etrunko) 055837
Eduardo Lima (Etrunko) 055837
%package system-loongarch64-core
Eduardo Lima (Etrunko) 055837
Summary: QEMU system emulator for LoongArch (LA64)
Eduardo Lima (Etrunko) 055837
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Eduardo Lima (Etrunko) 055837
%description system-loongarch64-core
Eduardo Lima (Etrunko) 055837
This package provides the QEMU system emulator for Loongson boards.
Eduardo Lima (Etrunko) 055837
Eduardo Lima (Etrunko) 055837
c27704
%package system-m68k
Paolo Bonzini 40e61a
Summary: QEMU system emulator for ColdFire (m68k)
ecbe00
Requires: %{name}-system-m68k-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-m68k
3758f8
This package provides the QEMU system emulator for ColdFire boards.
Paolo Bonzini 40e61a
ecbe00
%package system-m68k-core
ecbe00
Summary: QEMU system emulator for ColdFire (m68k)
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-m68k-core
3758f8
This package provides the QEMU system emulator for ColdFire boards.
ecbe00
c27704
c27704
%package system-microblaze
Paolo Bonzini c32efe
Summary: QEMU system emulator for Microblaze
ecbe00
Requires: %{name}-system-microblaze-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-microblaze
3758f8
This package provides the QEMU system emulator for Microblaze boards.
Paolo Bonzini c32efe
ecbe00
%package system-microblaze-core
ecbe00
Summary: QEMU system emulator for Microblaze
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-microblaze-core
3758f8
This package provides the QEMU system emulator for Microblaze boards.
3758f8
3758f8
3758f8
%package system-mips
3758f8
Summary: QEMU system emulator for MIPS
3758f8
Requires: %{name}-system-mips-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-mips
3758f8
This package provides the QEMU system emulator for MIPS systems.
3758f8
3758f8
%package system-mips-core
3758f8
Summary: QEMU system emulator for MIPS
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-mips-core
3758f8
This package provides the QEMU system emulator for MIPS systems.
3758f8
3758f8
3758f8
%package system-nios2
3758f8
Summary: QEMU system emulator for nios2
3758f8
Requires: %{name}-system-nios2-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-nios2
3758f8
This package provides the QEMU system emulator for NIOS2.
ecbe00
3758f8
%package system-nios2-core
3758f8
Summary: QEMU system emulator for nios2
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-nios2-core
3758f8
This package provides the QEMU system emulator for NIOS2.
ecbe00
c27704
1c7073
%package system-or1k
Paolo Bonzini 40e61a
Summary: QEMU system emulator for OpenRisc32
1c7073
Requires: %{name}-system-or1k-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
1c7073
%description system-or1k
3758f8
This package provides the QEMU system emulator for OpenRisc32 boards.
Daniel P. Berrange 36ffed
1c7073
%package system-or1k-core
ecbe00
Summary: QEMU system emulator for OpenRisc32
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
1c7073
%description system-or1k-core
3758f8
This package provides the QEMU system emulator for OpenRisc32 boards.
ecbe00
3758f8
3758f8
%package system-ppc
3758f8
Summary: QEMU system emulator for PPC
3758f8
Requires: %{name}-system-ppc-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-ppc
3758f8
This package provides the QEMU system emulator for PPC and PPC64 systems.
3758f8
3758f8
%package system-ppc-core
3758f8
Summary: QEMU system emulator for PPC
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
Requires: openbios
3758f8
Requires: SLOF
3758f8
Requires: seavgabios-bin
3758f8
%description system-ppc-core
3758f8
This package provides the QEMU system emulator for PPC and PPC64 systems.
ecbe00
c27704
3c6a0c
%package system-riscv
3c6a0c
Summary: QEMU system emulator for RISC-V
3c6a0c
Requires: %{name}-system-riscv-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3c6a0c
%description system-riscv
3758f8
This package provides the QEMU system emulator for RISC-V systems.
3c6a0c
3c6a0c
%package system-riscv-core
3c6a0c
Summary: QEMU system emulator for RISC-V
3c6a0c
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3c6a0c
%description system-riscv-core
3758f8
This package provides the QEMU system emulator for RISC-V systems.
3c6a0c
3c6a0c
e1b832
%package system-rx
e1b832
Summary: QEMU system emulator for RX
e1b832
Requires: %{name}-system-rx-core = %{epoch}:%{version}-%{release}
e1b832
%{requires_all_modules}
e1b832
%description system-rx
e1b832
This package provides the QEMU system emulator for RX systems.
e1b832
e1b832
%package system-rx-core
e1b832
Summary: QEMU system emulator for RX
e1b832
Requires: %{name}-common = %{epoch}:%{version}-%{release}
e1b832
%description system-rx-core
e1b832
This package provides the QEMU system emulator for RX systems.
e1b832
e1b832
c27704
%package system-s390x
Paolo Bonzini c32efe
Summary: QEMU system emulator for S390
ecbe00
Requires: %{name}-system-s390x-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-s390x
3758f8
This package provides the QEMU system emulator for S390 systems.
Paolo Bonzini c32efe
ecbe00
%package system-s390x-core
ecbe00
Summary: QEMU system emulator for S390
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-s390x-core
3758f8
This package provides the QEMU system emulator for S390 systems.
ecbe00
c27704
c27704
%package system-sh4
Paolo Bonzini 40e61a
Summary: QEMU system emulator for SH4
ecbe00
Requires: %{name}-system-sh4-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-sh4
3758f8
This package provides the QEMU system emulator for SH4 boards.
57c57a
ecbe00
%package system-sh4-core
ecbe00
Summary: QEMU system emulator for SH4
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-sh4-core
3758f8
This package provides the QEMU system emulator for SH4 boards.
ecbe00
c27704
c27704
%package system-sparc
Paolo Bonzini 40e61a
Summary: QEMU system emulator for SPARC
ecbe00
Requires: %{name}-system-sparc-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
ecbe00
%description system-sparc
3758f8
This package provides the QEMU system emulator for SPARC and SPARC64 systems.
ecbe00
ecbe00
%package system-sparc-core
ecbe00
Summary: QEMU system emulator for SPARC
57c57a
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57c57a
Requires: openbios
ecbe00
%description system-sparc-core
3758f8
This package provides the QEMU system emulator for SPARC and SPARC64 systems.
21cd6f
c27704
c27704
%package system-tricore
259393
Summary: QEMU system emulator for tricore
1c7073
Requires: %{name}-system-tricore-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-tricore
3758f8
This package provides the QEMU system emulator for Tricore.
259393
ecbe00
%package system-tricore-core
ecbe00
Summary: QEMU system emulator for tricore
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-tricore-core
3758f8
This package provides the QEMU system emulator for Tricore.
ecbe00
21cd6f
3758f8
%package system-x86
3758f8
Summary: QEMU system emulator for x86
3758f8
Requires: %{name}-system-x86-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3758f8
%description system-x86
3758f8
This package provides the QEMU system emulator for x86. When being run in a x86
3758f8
machine that supports it, this package also provides the KVM virtualization
3758f8
platform.
3c6a0c
3758f8
%package system-x86-core
3758f8
Summary: QEMU system emulator for x86
3c6a0c
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
Requires: seabios-bin
3758f8
Requires: seavgabios-bin
7da5fc
%if %{have_edk2}
3758f8
Requires: edk2-ovmf
3758f8
%endif
3758f8
%description system-x86-core
3758f8
This package provides the QEMU system emulator for x86. When being run in a x86
3758f8
machine that supports it, this package also provides the KVM virtualization
3758f8
platform.
3c6a0c
3c6a0c
3758f8
%package system-xtensa
3758f8
Summary: QEMU system emulator for Xtensa
3758f8
Requires: %{name}-system-xtensa-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-xtensa
3758f8
This package provides the QEMU system emulator for Xtensa boards.
3c6a0c
3758f8
%package system-xtensa-core
3758f8
Summary: QEMU system emulator for Xtensa
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-xtensa-core
3758f8
This package provides the QEMU system emulator for Xtensa boards.
3c6a0c
3c6a0c
David Woodhouse 5c3734
%prep
44034e
%autosetup -n qemu-%{version}%{?rcstr} -S git_am
355b03
7e8e4f
%global qemu_kvm_build qemu_kvm_build
7e8e4f
mkdir -p %{qemu_kvm_build}
7e8e4f
%global static_builddir static_builddir
7e8e4f
mkdir -p %{static_builddir}
7e8e4f
Alon Levy c8a79a
419868
David Woodhouse 5c3734
%build
7e8e4f
%define disable_everything         \\\
7e8e4f
  --audio-drv-list=                \\\
a3d417
  --disable-alsa                   \\\
7e8e4f
  --disable-attr                   \\\
7e8e4f
  --disable-auth-pam               \\\
7e8e4f
  --disable-avx2                   \\\
7e8e4f
  --disable-avx512f                \\\
Eduardo Lima (Etrunko) 493beb
  --disable-avx512bw               \\\
Eduardo Lima (Etrunko) 3ce4ea
  --disable-blkio                  \\\
Eduardo Lima (Etrunko) b048de
  --disable-block-drv-whitelist-in-tools \\\
7e8e4f
  --disable-bochs                  \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-bpf                    \\\
7e8e4f
  --disable-brlapi                 \\\
7e8e4f
  --disable-bsd-user               \\\
7e8e4f
  --disable-bzip2                  \\\
7e8e4f
  --disable-cap-ng                 \\\
7e8e4f
  --disable-capstone               \\\
7e8e4f
  --disable-cfi                    \\\
7e8e4f
  --disable-cfi-debug              \\\
7e8e4f
  --disable-cloop                  \\\
7e8e4f
  --disable-cocoa                  \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-coreaudio              \\\
7e8e4f
  --disable-coroutine-pool         \\\
7e8e4f
  --disable-crypto-afalg           \\\
7e8e4f
  --disable-curl                   \\\
7e8e4f
  --disable-curses                 \\\
a3d417
  --disable-dbus-display           \\\
7e8e4f
  --disable-debug-info             \\\
7e8e4f
  --disable-debug-mutex            \\\
7e8e4f
  --disable-debug-tcg              \\\
7e8e4f
  --disable-dmg                    \\\
7e8e4f
  --disable-docs                   \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-dsound                 \\\
7e8e4f
  --disable-fdt                    \\\
7e8e4f
  --disable-fuse                   \\\
7e8e4f
  --disable-fuse-lseek             \\\
7e8e4f
  --disable-gcrypt                 \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-gettext                \\\
7e8e4f
  --disable-gio                    \\\
7e8e4f
  --disable-glusterfs              \\\
7e8e4f
  --disable-gnutls                 \\\
7e8e4f
  --disable-gtk                    \\\
Eduardo Lima (Etrunko) 3ce4ea
  --disable-gtk-clipboard          \\\
7e8e4f
  --disable-guest-agent            \\\
7e8e4f
  --disable-guest-agent-msi        \\\
7e8e4f
  --disable-hax                    \\\
7e8e4f
  --disable-hvf                    \\\
7e8e4f
  --disable-iconv                  \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-jack                   \\\
7e8e4f
  --disable-kvm                    \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-l2tpv3                 \\\
7e8e4f
  --disable-libdaxctl              \\\
Eduardo Lima (Etrunko) 493beb
  --disable-libdw                  \\\
7e8e4f
  --disable-libiscsi               \\\
7e8e4f
  --disable-libnfs                 \\\
7e8e4f
  --disable-libpmem                \\\
7e8e4f
  --disable-libssh                 \\\
7e8e4f
  --disable-libudev                \\\
7e8e4f
  --disable-libusb                 \\\
7e8e4f
  --disable-linux-aio              \\\
7e8e4f
  --disable-linux-io-uring         \\\
7e8e4f
  --disable-linux-user             \\\
7e8e4f
  --disable-live-block-migration   \\\
7e8e4f
  --disable-lto                    \\\
7e8e4f
  --disable-lzfse                  \\\
7e8e4f
  --disable-lzo                    \\\
7e8e4f
  --disable-malloc-trim            \\\
7e8e4f
  --disable-membarrier             \\\
7e8e4f
  --disable-modules                \\\
7e8e4f
  --disable-module-upgrades        \\\
7e8e4f
  --disable-mpath                  \\\
7e8e4f
  --disable-multiprocess           \\\
7e8e4f
  --disable-netmap                 \\\
7e8e4f
  --disable-nettle                 \\\
7e8e4f
  --disable-numa                   \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-nvmm                   \\\
7e8e4f
  --disable-opengl                 \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-oss                    \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-pa                     \\\
7e8e4f
  --disable-parallels              \\\
7e8e4f
  --disable-pie                    \\\
7e8e4f
  --disable-pvrdma                 \\\
7e8e4f
  --disable-qcow1                  \\\
7e8e4f
  --disable-qed                    \\\
7e8e4f
  --disable-qom-cast-debug         \\\
7e8e4f
  --disable-rbd                    \\\
7e8e4f
  --disable-rdma                   \\\
7e8e4f
  --disable-replication            \\\
7e8e4f
  --disable-rng-none               \\\
7e8e4f
  --disable-safe-stack             \\\
7e8e4f
  --disable-sanitizers             \\\
7e8e4f
  --disable-sdl                    \\\
7e8e4f
  --disable-sdl-image              \\\
7e8e4f
  --disable-seccomp                \\\
Eduardo Lima (Etrunko) 0007b3
  --disable-selinux                \\\
7e8e4f
  --disable-slirp                  \\\
Eduardo Lima (Etrunko) b048de
  --disable-slirp-smbd             \\\
7e8e4f
  --disable-smartcard              \\\
7e8e4f
  --disable-snappy                 \\\
Eduardo Lima (Etrunko) 3ce4ea
  --disable-sndio                  \\\
7e8e4f
  --disable-sparse                 \\\
7e8e4f
  --disable-spice                  \\\
Eduardo Lima (Etrunko) b048de
  --disable-spice-protocol         \\\
7e8e4f
  --disable-strip                  \\\
7e8e4f
  --disable-system                 \\\
7e8e4f
  --disable-tcg                    \\\
7e8e4f
  --disable-tools                  \\\
7e8e4f
  --disable-tpm                    \\\
7e8e4f
  --disable-u2f                    \\\
7e8e4f
  --disable-usb-redir              \\\
7e8e4f
  --disable-user                   \\\
7e8e4f
  --disable-vde                    \\\
7e8e4f
  --disable-vdi                    \\\
Eduardo Lima (Etrunko) 055837
  --disable-vfio-user-server       \\\
7e8e4f
  --disable-vhost-crypto           \\\
7e8e4f
  --disable-vhost-kernel           \\\
7e8e4f
  --disable-vhost-net              \\\
7e8e4f
  --disable-vhost-user             \\\
7e8e4f
  --disable-vhost-user-blk-server  \\\
7e8e4f
  --disable-vhost-vdpa             \\\
7e8e4f
  --disable-virglrenderer          \\\
7e8e4f
  --disable-virtfs                 \\\
7e8e4f
  --disable-vnc                    \\\
7e8e4f
  --disable-vnc-jpeg               \\\
Eduardo Lima (Etrunko) 055837
  --disable-png                    \\\
7e8e4f
  --disable-vnc-sasl               \\\
7e8e4f
  --disable-vte                    \\\
7e8e4f
  --disable-vvfat                  \\\
7e8e4f
  --disable-werror                 \\\
7e8e4f
  --disable-whpx                   \\\
7e8e4f
  --disable-xen                    \\\
7e8e4f
  --disable-xen-pci-passthrough    \\\
7e8e4f
  --disable-xkbcommon              \\\
7e8e4f
  --disable-zstd                   \\\
7e8e4f
  --with-git-submodules=ignore     \\\
7e8e4f
  --without-default-devices
Daniel P. Berrange 7bf315
84eeb1
run_configure() {
d5c2bb
    ../configure  \
b7cbd7
        --cc=%{__cc} \
1ac11e
        --cxx=/bin/false \
7e8e4f
        --prefix="%{_prefix}" \
7e8e4f
        --libdir="%{_libdir}" \
7e8e4f
        --datadir="%{_datadir}" \
7e8e4f
        --sysconfdir="%{_sysconfdir}" \
7e8e4f
        --interp-prefix=%{_prefix}/qemu-%M \
7e8e4f
        --localstatedir="%{_localstatedir}" \
7e8e4f
        --docdir="%{_docdir}" \
7e8e4f
        --libexecdir="%{_libexecdir}" \
b7cbd7
        --extra-ldflags="%{build_ldflags}" \
f9f5de
%ifnarch %{arm}
b7cbd7
        --extra-cflags="%{optflags}" \
f9f5de
%else
f9f5de
        --extra-cflags="%{optflags} -DSTAP_SDT_ARG_CONSTRAINT=g" \
f9f5de
%endif
7e8e4f
        --with-pkgversion="%{name}-%{version}-%{release}" \
7e8e4f
        --with-suffix="%{name}" \
f744b8
        --firmwarepath="%firmwaredirs" \
7e8e4f
        --meson="%{__meson}" \
Eduardo Lima (Etrunko) 842e80
        --enable-trace-backends=dtrace \
7e8e4f
        --with-coroutine=ucontext \
7e8e4f
        --with-git=git \
419868
        --tls-priority=@QEMU,SYSTEM \
7e8e4f
        %{disable_everything} \
Daniel P. Berrangé 2abd5d
        "$@" \
Daniel P. Berrangé 2abd5d
    || ( cat config.log ; exit 1 )
419868
7e8e4f
    echo "config-host.mak contents:"
7e8e4f
    echo "==="
7e8e4f
    cat config-host.mak
7e8e4f
    echo "==="
7e8e4f
}
160bf4
160bf4
7e8e4f
pushd %{qemu_kvm_build}
7e8e4f
run_configure \
7e8e4f
%if %{defined target_list}
7e8e4f
  --target-list="%{target_list}" \
7e8e4f
%endif
7e8e4f
%if %{defined block_drivers_rw_list}
7e8e4f
  --block-drv-rw-whitelist=%{block_drivers_rw_list} \
7e8e4f
%endif
7e8e4f
%if %{defined block_drivers_ro_list}
7e8e4f
  --block-drv-ro-whitelist=%{block_drivers_ro_list} \
7e8e4f
%endif
a3d417
  --enable-alsa \
7e8e4f
  --enable-attr \
7e8e4f
%ifarch %{ix86} x86_64
7e8e4f
  --enable-avx2 \
Eduardo Lima (Etrunko) 493beb
  --enable-avx512f \
Eduardo Lima (Etrunko) 493beb
  --enable-avx512bw \
7e8e4f
%endif
650c82
%if %{have_libblkio}
Stefan Hajnoczi 4eb8ef
  --enable-blkio \
7e8e4f
%endif
Eduardo Lima (Etrunko) b048de
  --enable-bpf \
7e8e4f
  --enable-cap-ng \
Eduardo Lima (Etrunko) 055837
  --enable-capstone \
7e8e4f
  --enable-coroutine-pool \
7e8e4f
  --enable-curl \
a3d417
%if %{have_dbus_display}
a3d417
  --enable-dbus-display \
a3d417
%endif
7e8e4f
  --enable-debug-info \
7e8e4f
  --enable-docs \
7e8e4f
%if %{have_fdt}
Eduardo Lima (Etrunko) 842e80
  --enable-fdt=system \
7e8e4f
%endif
Eduardo Lima (Etrunko) 0007b3
  --enable-gettext \
1ba242
  --enable-gnutls \
7e8e4f
  --enable-guest-agent \
7e8e4f
  --enable-iconv \
870630
%if %{have_jack}
Eduardo Lima (Etrunko) 0007b3
  --enable-jack \
870630
%endif
7e8e4f
  --enable-kvm \
Eduardo Lima (Etrunko) 0007b3
  --enable-l2tpv3 \
7e8e4f
  --enable-libiscsi \
7e8e4f
%if %{have_pmem}
7e8e4f
  --enable-libpmem \
7e8e4f
%endif
7e8e4f
  --enable-libssh \
7e8e4f
  --enable-libusb \
7e8e4f
  --enable-libudev \
7e8e4f
  --enable-linux-aio \
f806e6
%if "%{_lto_cflags}" != "%{nil}"
f806e6
  --enable-lto \
f806e6
%endif
7e8e4f
  --enable-lzo \
7e8e4f
  --enable-malloc-trim \
7e8e4f
  --enable-modules \
7e8e4f
  --enable-mpath \
7e8e4f
%if %{have_numactl}
7e8e4f
  --enable-numa \
7e8e4f
%endif
7e8e4f
%if %{have_opengl}
7e8e4f
  --enable-opengl \
7e8e4f
%endif
Eduardo Lima (Etrunko) 0007b3
  --enable-oss \
Eduardo Lima (Etrunko) 0007b3
  --enable-pa \
7e8e4f
  --enable-pie \
7e8e4f
%if %{have_block_rbd}
7e8e4f
  --enable-rbd \
7e8e4f
%endif
7e8e4f
%if %{have_librdma}
7e8e4f
  --enable-rdma \
7e8e4f
%endif
7e8e4f
  --enable-seccomp \
1609e9
  --enable-selinux \
Eduardo Lima (Etrunko) 3ce4ea
  --enable-slirp \
Eduardo Lima (Etrunko) b048de
  --enable-slirp-smbd \
7e8e4f
  --enable-snappy \
7e8e4f
  --enable-system \
7e8e4f
  --enable-tcg \
7e8e4f
  --enable-tools \
7e8e4f
  --enable-tpm \
7e8e4f
%if %{have_usbredir}
7e8e4f
  --enable-usb-redir \
7e8e4f
%endif
7e8e4f
  --enable-vhost-kernel \
7e8e4f
  --enable-vhost-net \
7e8e4f
  --enable-vhost-user \
7e8e4f
  --enable-vhost-user-blk-server \
7e8e4f
  --enable-vhost-vdpa \
7e8e4f
  --enable-vnc \
Eduardo Lima (Etrunko) 055837
  --enable-png \
7e8e4f
  --enable-vnc-sasl \
7e8e4f
%if %{enable_werror}
7e8e4f
  --enable-werror \
7e8e4f
%endif
7e8e4f
  --enable-xkbcommon \
b013f9
  \
b013f9
  \
ffa629
  --audio-drv-list=pa,sdl,alsa,%{?jack_drv}oss \
7e8e4f
  --target-list-exclude=moxie-softmmu \
7e8e4f
  --with-default-devices \
7e8e4f
  --enable-auth-pam \
7e8e4f
  --enable-bochs \
7e8e4f
  --enable-brlapi \
7e8e4f
  --enable-bzip2 \
7e8e4f
  --enable-cloop \
7e8e4f
  --enable-curses \
7e8e4f
  --enable-dmg \
ec4dab
  --enable-fuse \
7e8e4f
  --enable-gio \
82e1f8
%if %{have_block_gluster}
7e8e4f
  --enable-glusterfs \
82e1f8
%endif
7e8e4f
  --enable-gtk \
7e8e4f
  --enable-libdaxctl \
Eduardo Lima (Etrunko) 493beb
  --enable-libdw \
7e8e4f
%if %{have_block_nfs}
7e8e4f
  --enable-libnfs \
7e8e4f
%endif
7e8e4f
%if %{have_liburing}
7e8e4f
  --enable-linux-io-uring \
7e8e4f
%endif
7e8e4f
  --enable-linux-user \
7e8e4f
  --enable-live-block-migration \
7e8e4f
  --enable-multiprocess \
7e8e4f
  --enable-parallels \
7e8e4f
%if %{have_librdma}
7e8e4f
  --enable-pvrdma \
7e8e4f
%endif
7e8e4f
  --enable-qcow1 \
7e8e4f
  --enable-qed \
7e8e4f
  --enable-qom-cast-debug \
7e8e4f
  --enable-replication \
7e8e4f
  --enable-sdl \
d4c8ff
%if %{have_sdl_image}
ec4dab
  --enable-sdl-image \
d4c8ff
%endif
82e1f8
%if %{have_libcacard}
7e8e4f
  --enable-smartcard \
82e1f8
%endif
7e8e4f
%if %{have_spice}
7e8e4f
  --enable-spice \
Eduardo Lima (Etrunko) b048de
  --enable-spice-protocol \
7e8e4f
%endif
7e8e4f
  --enable-vdi \
7e8e4f
  --enable-vhost-crypto \
7e8e4f
%if %{have_virgl}
7e8e4f
  --enable-virglrenderer \
7e8e4f
%endif
7e8e4f
  --enable-virtfs \
7e8e4f
  --enable-vnc-jpeg \
7e8e4f
  --enable-vte \
7e8e4f
  --enable-vvfat \
7e8e4f
%if %{have_xen}
7e8e4f
  --enable-xen \
7e8e4f
  --enable-xen-pci-passthrough \
7e8e4f
%endif
Daniel P. Berrangé 2abd5d
  --enable-zstd
160bf4
7a925b
%if %{tools_only}
183fcd
%make_build qemu-img
183fcd
%make_build qemu-io
183fcd
%make_build qemu-nbd
183fcd
%make_build storage-daemon/qemu-storage-daemon
183fcd
183fcd
%make_build docs/qemu-img.1
183fcd
%make_build docs/qemu-nbd.8
183fcd
%make_build docs/qemu-storage-daemon.1
183fcd
%make_build docs/qemu-storage-daemon-qmp-ref.7
183fcd
183fcd
%make_build qga/qemu-ga
183fcd
%make_build docs/qemu-ga.8
7a925b
# endif tools_only
7a925b
%endif
160bf4
160bf4
7a925b
%if !%{tools_only}
183fcd
%make_build
7a925b
popd
7e8e4f
7e8e4f
# Fedora build for qemu-user-static
7e8e4f
%if %{user_static}
7e8e4f
pushd %{static_builddir}
Daniel P. Berrange 083532
84eeb1
run_configure \
7e8e4f
  --enable-attr \
7e8e4f
  --enable-linux-user \
7e8e4f
  --enable-tcg \
Eduardo Lima (Etrunko) 842e80
  --disable-install-blobs \
7e8e4f
  --static
71430d
183fcd
%make_build
7a925b
popd  # static
7a925b
%endif
7a925b
# endif !tools_only
7e8e4f
%endif
419868
Daniel P. Berrange 083532
Justin M. Forbes 603dd6
David Woodhouse 5c3734
%install
c27704
# Install qemu-guest-agent service and udev rules
7a925b
install -D -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}/qemu-guest-agent.service
7a925b
install -D -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
7a925b
install -D -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevrulesdir}/99-qemu-guest-agent.rules
419868
c27704
419868
# Install qemu-ga fsfreeze bits
Paolo Bonzini bfe7b8
mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
7a925b
install -p scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook
7a925b
mkdir -p %{buildroot}%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
7a925b
install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_datadir}/%{name}/qemu-ga/fsfreeze-hook.d/
7a925b
mkdir -p -v %{buildroot}%{_localstatedir}/log/qemu-ga/
Paolo Bonzini 0fb2b2
419868
7a925b
%if %{tools_only}
7a925b
pushd %{qemu_kvm_build}
7a925b
install -D -p -m 0755 qga/qemu-ga %{buildroot}%{_bindir}/qemu-ga
7a925b
install -D -p -m 0755 qemu-img %{buildroot}%{_bindir}/qemu-img
7a925b
install -D -p -m 0755 qemu-io %{buildroot}%{_bindir}/qemu-io
7a925b
install -D -p -m 0755 qemu-nbd %{buildroot}%{_bindir}/qemu-nbd
7a925b
install -D -p -m 0755 storage-daemon/qemu-storage-daemon %{buildroot}%{_bindir}/qemu-storage-daemon
7a925b
7a925b
mkdir -p %{buildroot}%{_mandir}/man1/
7a925b
mkdir -p %{buildroot}%{_mandir}/man7/
7a925b
mkdir -p %{buildroot}%{_mandir}/man8/
7a925b
7a925b
install -D -p -m 644 docs/qemu-img.1* %{buildroot}%{_mandir}/man1
7a925b
install -D -p -m 644 docs/qemu-nbd.8* %{buildroot}%{_mandir}/man8
7a925b
install -D -p -m 644 docs/qemu-storage-daemon.1* %{buildroot}%{_mandir}/man1
7a925b
install -D -p -m 644 docs/qemu-storage-daemon-qmp-ref.7* %{buildroot}%{_mandir}/man7
7a925b
install -D -p -m 644 docs/qemu-ga.8* %{buildroot}%{_mandir}/man8
7a925b
popd
7a925b
# endif tools_only
d19693
%endif
d19693
c75224
7a925b
%if !%{tools_only}
7a925b
# Install rules to use the bridge helper with libvirt's virbr0
7a925b
install -D -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/%{name}/bridge.conf
Daniel P. Berrange 083532
7a925b
# Install qemu-pr-helper service
7a925b
install -m 0644 contrib/systemd/qemu-pr-helper.service %{buildroot}%{_unitdir}
7a925b
install -m 0644 contrib/systemd/qemu-pr-helper.socket %{buildroot}%{_unitdir}
Daniel P. Berrange 083532
7a925b
%if %{have_memlock_limits}
7a925b
install -D -p -m 644 %{_sourcedir}/95-kvm-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d/95-kvm-memlock.conf
7a925b
%endif
Daniel P. Berrange 083532
7a925b
%if %{have_kvm}
7a925b
install -D -p -m 0644 %{_sourcedir}/vhost.conf %{buildroot}%{_sysconfdir}/modprobe.d/vhost.conf
7a925b
install -D -p -m 0644 %{modprobe_kvm_conf} %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
7a925b
%endif
Daniel P. Berrange 083532
7a925b
# Copy some static data into place
7a925b
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} README.rst COPYING COPYING.LIB LICENSE docs/interop/qmp-spec.txt
7a925b
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/%{name}.conf
7fae7f
7a925b
install -m 0644 scripts/dump-guest-memory.py %{buildroot}%{_datadir}/%{name}
419868
419868
7a925b
# Install simpletrace
7a925b
install -m 0755 scripts/simpletrace.py %{buildroot}%{_datadir}/%{name}/simpletrace.py
7a925b
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool
7a925b
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool scripts/tracetool/*.py
7a925b
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool/backend
7a925b
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool/backend scripts/tracetool/backend/*.py
7a925b
mkdir -p %{buildroot}%{_datadir}/%{name}/tracetool/format
7a925b
install -m 0644 -t %{buildroot}%{_datadir}/%{name}/tracetool/format scripts/tracetool/format/*.py
419868
Yaakov Selkowitz cef9ee
# Ensure vhost-user directory is present even if built without virgl
Yaakov Selkowitz cef9ee
mkdir -p %{buildroot}%{_datadir}/%{name}/vhost-user
b26fb5
7a925b
# Create new directories and put them all under tests-src
7a925b
mkdir -p %{buildroot}%{testsdir}/python
7a925b
mkdir -p %{buildroot}%{testsdir}/tests
Eduardo Lima (Etrunko) 842e80
mkdir -p %{buildroot}%{testsdir}/tests/avocado
7a925b
mkdir -p %{buildroot}%{testsdir}/tests/qemu-iotests
7a925b
mkdir -p %{buildroot}%{testsdir}/scripts/qmp
419868
7a925b
# Install avocado_qemu tests
Eduardo Lima (Etrunko) 842e80
cp -R %{qemu_kvm_build}/tests/avocado/* %{buildroot}%{testsdir}/tests/avocado/
David Woodhouse 5c3734
7a925b
# Install qemu.py and qmp/ scripts required to run avocado_qemu tests
7a925b
cp -R %{qemu_kvm_build}/python/qemu %{buildroot}%{testsdir}/python
7a925b
cp -R %{qemu_kvm_build}/scripts/qmp/* %{buildroot}%{testsdir}/scripts/qmp
7a925b
install -p -m 0755 tests/Makefile.include %{buildroot}%{testsdir}/tests/
419868
7a925b
# Install qemu-iotests
7a925b
cp -R tests/qemu-iotests/* %{buildroot}%{testsdir}/tests/qemu-iotests/
7a925b
cp -ur %{qemu_kvm_build}/tests/qemu-iotests/* %{buildroot}%{testsdir}/tests/qemu-iotests/
419868
7a925b
# Install our custom tests README
7a925b
install -p -m 0644 %{_sourcedir}/README.tests %{buildroot}%{testsdir}/README
419868
419868
7a925b
# Do the actual qemu tree install
7a925b
pushd %{qemu_kvm_build}
05fedb
%make_install
7a925b
popd
7a925b
7a925b
7a925b
# We need to make the block device modules and other qemu SO files executable
7a925b
# otherwise RPM won't pick up their dependencies.
7a925b
chmod +x %{buildroot}%{_libdir}/%{name}/*.so
7a925b
7a925b
# Remove docs we don't care about
7a925b
find %{buildroot}%{qemudocdir} -name .buildinfo -delete
7a925b
rm -rf %{buildroot}%{qemudocdir}/specs
Daniel P. Berrange 42af21
700f12
71430d
# Provided by package openbios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64
71430d
# Provided by package SLOF
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
Paolo Bonzini 2803fc
# Provided by package ipxe
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/efi*rom
d1a627
# Provided by package seavgabios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
Paolo Bonzini 2803fc
# Provided by package seabios
7a925b
rm -rf %{buildroot}%{_datadir}/%{name}/bios*.bin
7a925b
# Provided by edk2
160bf4
rm -rf %{buildroot}%{_datadir}/%{name}/edk2*
7a925b
rm -rf %{buildroot}%{_datadir}/%{name}/firmware
7a925b
Glauber Costa f0365c
7a925b
# Fedora specific stuff below
7a925b
%find_lang %{name}
dd16ba
7a925b
# Generate qemu-system-* man pages
7a925b
chmod -x %{buildroot}%{_mandir}/man1/*
7a925b
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
7a925b
    ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
7a925b
 done
419868
7a925b
# Install kvm specific source bits, and qemu-kvm manpage
7a925b
%if %{need_qemu_kvm}
7a925b
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz
7a925b
ln -sf qemu-system-x86_64 %{buildroot}%{_bindir}/qemu-kvm
7a925b
   %endif
ecbe00
c27704
7a925b
# Install binfmt
7a925b
%global binfmt_dir %{buildroot}%{_exec_prefix}/lib/binfmt.d
7a925b
mkdir -p %{binfmt_dir}
c61e67
7a925b
./scripts/qemu-binfmt-conf.sh --systemd ALL --exportdir %{binfmt_dir} --qemu-path %{_bindir}
7a925b
for i in %{binfmt_dir}/*; do mv $i $(echo $i | sed 's/.conf/-dynamic.conf/'); done
7a925b
7a925b
7a925b
# Install qemu-user-static tree
7a925b
%if %{user_static}
7a925b
%define static_buildroot %{buildroot}/static/
7a925b
mkdir -p %{static_buildroot}
7a925b
7a925b
pushd %{static_builddir}
7a925b
make DESTDIR=%{static_buildroot} install
Daniel P. Berrangé d8c4df
Daniel P. Berrangé d8c4df
# Duplicates what the main build installs and we don't
Daniel P. Berrangé d8c4df
# need second copy with a -static suffix
Daniel P. Berrangé d8c4df
rm -f %{static_buildroot}%{_bindir}/qemu-trace-stap
7a925b
popd  # static
7a925b
7a925b
# Rename all QEMU user emulators to have a -static suffix
7a925b
for src in %{static_buildroot}%{_bindir}/qemu-*; do
7a925b
    mv $src %{buildroot}%{_bindir}/$(basename $src)-static; done
7a925b
7a925b
# Rename trace files to match -static suffix
7a925b
for src in %{static_buildroot}%{_datadir}/systemtap/tapset/qemu-*.stp; do
7a925b
  dst=`echo $src | sed -e 's/.stp/-static.stp/'`
7a925b
  mv $src $dst
7a925b
  perl -i -p -e 's/(qemu-\w+)/$1-static/g; s/(qemu\.user\.\w+)/$1.static/g' $dst
7a925b
  mv $dst %{buildroot}%{_datadir}/systemtap/tapset
7a925b
 done
7a925b
7a925b
for regularfmt in %{binfmt_dir}/*; do
7a925b
  staticfmt="$(echo $regularfmt | sed 's/-dynamic/-static/g')"
7a925b
  cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
7a925b
  done
7a925b
7a925b
rm -rf %{static_buildroot}
7a925b
# endif user_static
7a925b
 %endif
7a925b
# end Fedora specific
7a925b
# endif !tools_only
Daniel P. Berrangé 9fb824
%endif
d3ff78
108120
7a925b
7a925b
%check
59b417
%if %{with check}
7a925b
%if !%{tools_only}
7a925b
7a925b
pushd %{qemu_kvm_build}
7a925b
echo "Testing %{name}-build"
cb880e
# 2022-06: ppc64le random qtest segfaults with no discernable pattern
cb880e
%ifnarch %{power64}
Eduardo Lima (Etrunko) bf8d86
%make_build check
Eduardo Lima (Etrunko) bf8d86
%endif
Daniel P. Berrange 1ad1f9
ef34be
popd
198e14
7a925b
# endif !tools_only
7a925b
%endif
59b417
# endif with check
59b417
%endif
7a925b
548919
7a925b
%post -n qemu-guest-agent
7a925b
%systemd_post qemu-guest-agent.service
7a925b
%preun -n qemu-guest-agent
7a925b
%systemd_preun qemu-guest-agent.service
7a925b
%postun -n qemu-guest-agent
7a925b
%systemd_postun_with_restart qemu-guest-agent.service
7a925b
7a925b
7a925b
%if !%{tools_only}
Mark McLoughlin cd8d5c
%post common
Mark McLoughlin cd8d5c
getent group kvm >/dev/null || groupadd -g 36 -r kvm
Mark McLoughlin cd8d5c
getent group qemu >/dev/null || groupadd -g 107 -r qemu
Mark McLoughlin cd8d5c
getent passwd qemu >/dev/null || \
7a925b
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
7a925b
  -c "qemu user" qemu
7a925b
7a925b
7a925b
7a925b
Mark McLoughlin cd8d5c
c27704
Nathaniel McCallum f73c47
%post user-binfmt
Nathaniel McCallum f73c47
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum f73c47
%postun user-binfmt
Nathaniel McCallum f73c47
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum f73c47
Nathaniel McCallum 22c290
%if %{user_static}
Daniel J Walsh 0d9e00
%post user-static-aarch64
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-aarch64
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-alpha
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-alpha
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-arm
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-arm
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-cris
Justin M. Forbes 603dd6
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-cris
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-hexagon
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-hexagon
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-hppa
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-hppa
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Eduardo Lima (Etrunko) 055837
%post user-static-loongarch64
Eduardo Lima (Etrunko) 055837
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Eduardo Lima (Etrunko) 055837
%postun user-static-loongarch64
Eduardo Lima (Etrunko) 055837
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Eduardo Lima (Etrunko) 055837
Daniel J Walsh 0d9e00
%post user-static-m68k
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-m68k
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-microblaze
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-microblaze
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-mips
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-mips
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-nios2
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-nios2
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-or1k
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-or1k
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-ppc
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-ppc
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-riscv
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-riscv
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-s390x
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-s390x
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-sh4
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-sh4
Justin M. Forbes 603dd6
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum 22c290
%endif
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-sparc
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-sparc
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-x86
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-x86
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%post user-static-xtensa
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
%postun user-static-xtensa
Daniel J Walsh 0d9e00
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Daniel J Walsh 0d9e00
7a925b
# endif !tools_only
7a925b
%endif
7a925b
7a925b
7a925b
7a925b
%files -n qemu-img
7a925b
%{_bindir}/qemu-img
7a925b
%{_bindir}/qemu-io
7a925b
%{_bindir}/qemu-nbd
7a925b
%{_bindir}/qemu-storage-daemon
7a925b
%{_mandir}/man1/qemu-img.1*
7a925b
%{_mandir}/man8/qemu-nbd.8*
7a925b
%{_mandir}/man1/qemu-storage-daemon.1*
7a925b
%{_mandir}/man7/qemu-storage-daemon-qmp-ref.7*
David Woodhouse 5c3734
48e07c
7a925b
%files -n qemu-guest-agent
7a925b
%doc COPYING README.rst
7a925b
%{_bindir}/qemu-ga
7a925b
%{_mandir}/man8/qemu-ga.8*
7a925b
%{_unitdir}/qemu-guest-agent.service
7a925b
%{_udevrulesdir}/99-qemu-guest-agent.rules
7a925b
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
7a925b
%{_sysconfdir}/qemu-ga
7a925b
%{_datadir}/%{name}/qemu-ga
7a925b
%dir %{_localstatedir}/log/qemu-ga
48e07c
48e07c
7a925b
%if !%{tools_only}
Mark McLoughlin eec5cd
%files
48e07c
# Deliberately empty
Glauber Costa 485711
7ae793
7ae793
%files -n qemu-pr-helper
7ae793
%{_bindir}/qemu-pr-helper
7ae793
%{_unitdir}/qemu-pr-helper.service
7ae793
%{_unitdir}/qemu-pr-helper.socket
7ae793
%{_mandir}/man8/qemu-pr-helper.8*
7ae793
7ae793
ba7d6c
%files tools
ba7d6c
%{_bindir}/qemu-keymap
ba7d6c
%{_bindir}/qemu-edid
ba7d6c
%{_bindir}/qemu-trace-stap
ba7d6c
%{_datadir}/%{name}/simpletrace.py*
ba7d6c
%{_datadir}/%{name}/tracetool/*.py*
ba7d6c
%{_datadir}/%{name}/tracetool/backend/*.py*
ba7d6c
%{_datadir}/%{name}/tracetool/format/*.py*
ba7d6c
%{_datadir}/%{name}/dump-guest-memory.py*
ba7d6c
%{_datadir}/%{name}/trace-events-all
ba7d6c
%{_mandir}/man1/qemu-trace-stap.1*
ba7d6c
# Fedora specific
ba7d6c
%{_bindir}/elf2dmp
ba7d6c
ba7d6c
7a925b
%files docs
7a925b
%doc %{qemudocdir}
7a925b
Mark McLoughlin f2160a
7fae7f
%files common -f %{name}.lang
7a925b
%license COPYING COPYING.LIB LICENSE
Mark McLoughlin ccf76b
%dir %{_datadir}/%{name}/
4e789f
%dir %{_datadir}/%{name}/vhost-user/
7a925b
%{_datadir}/icons/*
Mark McLoughlin ccf76b
%{_datadir}/%{name}/keymaps/
7a925b
%{_datadir}/%{name}/linuxboot_dma.bin
7a925b
%attr(4755, -, -) %{_libexecdir}/qemu-bridge-helper
7a925b
%{_mandir}/man1/%{name}.1*
700f12
%{_mandir}/man7/qemu-block-drivers.7*
007776
%{_mandir}/man7/qemu-cpu-models.7*
f4bee9
%{_mandir}/man7/qemu-ga-ref.7*
7a925b
%{_mandir}/man7/qemu-qmp-ref.7*
7a925b
%dir %{_sysconfdir}/%{name}
7a925b
%config(noreplace) %{_sysconfdir}/%{name}/bridge.conf
7a925b
%if %{have_kvm}
4abd8d
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
7a925b
%config(noreplace) %{_sysconfdir}/modprobe.d/vhost.conf
7a925b
%endif
7a925b
%config(noreplace) %{_sysconfdir}/sasl2/%{name}.conf
979ec1
c27704
7a925b
# Fedora specific
7a925b
%{_datadir}/applications/qemu.desktop
7a925b
%exclude %{_datadir}/%{name}/qemu-nsis.bmp
7a925b
%{_libexecdir}/virtfs-proxy-helper
7a925b
%{_mandir}/man1/virtfs-proxy-helper.1*
9348aa
9348aa
7a925b
%files tests
7a925b
%{testsdir}
Eduardo Lima (Etrunko) bf8d86
%{_libdir}/%{name}/accel-qtest-*.so
Daniel P. Berrange 1ad1f9
650c82
%if %{have_libblkio}
Stefan Hajnoczi 4eb8ef
%files block-blkio
Stefan Hajnoczi 4eb8ef
%{_libdir}/%{name}/block-blkio.so
650c82
%endif
7a925b
%files block-curl
7a925b
%{_libdir}/%{name}/block-curl.so
7a925b
%files block-iscsi
7a925b
%{_libdir}/%{name}/block-iscsi.so
7a925b
%if %{have_block_rbd}
7a925b
%files block-rbd
7a925b
%{_libdir}/%{name}/block-rbd.so
7a925b
%endif
7a925b
%files block-ssh
7a925b
%{_libdir}/%{name}/block-ssh.so
c27704
7a925b
%if %{have_opengl}
7a925b
%files ui-opengl
7a925b
%{_libdir}/%{name}/ui-opengl.so
7a925b
%endif
48e07c
48e07c
ecbe00
%files block-dmg
7a925b
%{_libdir}/%{name}/block-dmg-bz2.so
6c5570
%if %{have_block_gluster}
ecbe00
%files block-gluster
7a925b
%{_libdir}/%{name}/block-gluster.so
Daniel P. Berrangé a4b3db
%endif
6c5570
%if %{have_block_nfs}
8b5ba7
%files block-nfs
7a925b
%{_libdir}/%{name}/block-nfs.so
8b5ba7
%endif
ecbe00
3c6a0c
%files audio-alsa
7a925b
%{_libdir}/%{name}/audio-alsa.so
943966
%if %{have_dbus_display}
Eduardo Lima (Etrunko) 0007b3
%files audio-dbus
Eduardo Lima (Etrunko) 0007b3
%{_libdir}/%{name}/audio-dbus.so
943966
%endif
3c6a0c
%files audio-oss
7a925b
%{_libdir}/%{name}/audio-oss.so
3c6a0c
%files audio-pa
7a925b
%{_libdir}/%{name}/audio-pa.so
3c6a0c
%files audio-sdl
7a925b
%{_libdir}/%{name}/audio-sdl.so
dcfe42
%if %{have_jack}
c7533d
%files audio-jack
7a925b
%{_libdir}/%{name}/audio-jack.so
dcfe42
%endif
3c6a0c
3c6a0c
3c6a0c
%files ui-curses
7a925b
%{_libdir}/%{name}/ui-curses.so
943966
%if %{have_dbus_display}
Eduardo Lima (Etrunko) 0007b3
%files ui-dbus
Eduardo Lima (Etrunko) 0007b3
%{_libdir}/%{name}/ui-dbus.so
943966
%endif
3c6a0c
%files ui-gtk
7a925b
%{_libdir}/%{name}/ui-gtk.so
3c6a0c
%files ui-sdl
7a925b
%{_libdir}/%{name}/ui-sdl.so
28222c
%files ui-egl-headless
7a925b
%{_libdir}/%{name}/ui-egl-headless.so
3c6a0c
f4bee9
%files char-baum
7a925b
%{_libdir}/%{name}/chardev-baum.so
f4bee9
28222c
28222c
%files device-display-virtio-gpu
7a925b
%{_libdir}/%{name}/hw-display-virtio-gpu.so
Yaakov Selkowitz cef9ee
%if %{have_virgl}
Eduardo Lima (Etrunko) b048de
%files device-display-virtio-gpu-gl
Eduardo Lima (Etrunko) b048de
%{_libdir}/%{name}/hw-display-virtio-gpu-gl.so
Yaakov Selkowitz cef9ee
%endif
28222c
%files device-display-virtio-gpu-pci
7a925b
%{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
Yaakov Selkowitz cef9ee
%if %{have_virgl}
Eduardo Lima (Etrunko) b048de
%files device-display-virtio-gpu-pci-gl
Eduardo Lima (Etrunko) b048de
%{_libdir}/%{name}/hw-display-virtio-gpu-pci-gl.so
Yaakov Selkowitz cef9ee
%endif
c7533d
%files device-display-virtio-gpu-ccw
7a925b
%{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
28222c
%files device-display-virtio-vga
7a925b
%{_libdir}/%{name}/hw-display-virtio-vga.so
Eduardo Lima (Etrunko) b048de
%files device-display-virtio-vga-gl
Eduardo Lima (Etrunko) b048de
%{_libdir}/%{name}/hw-display-virtio-vga-gl.so
Eduardo Lima (Etrunko) b048de
%files device-usb-host
Eduardo Lima (Etrunko) b048de
%{_libdir}/%{name}/hw-usb-host.so
f4bee9
%files device-usb-redirect
7a925b
%{_libdir}/%{name}/hw-usb-redirect.so
82e1f8
%if %{have_libcacard}
f4bee9
%files device-usb-smartcard
7a925b
%{_libdir}/%{name}/hw-usb-smartcard.so
82e1f8
%endif
f4bee9
3c6a0c
1ba19d
%if %{have_virgl}
1ba19d
%files device-display-vhost-user-gpu
1ba19d
%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
1ba19d
%{_libexecdir}/vhost-user-gpu
1ba19d
%endif
1ba19d
28222c
%if %{have_spice}
28222c
%files audio-spice
7a925b
%{_libdir}/%{name}/audio-spice.so
28222c
%files char-spice
7a925b
%{_libdir}/%{name}/chardev-spice.so
28222c
%files device-display-qxl
7a925b
%{_libdir}/%{name}/hw-display-qxl.so
28222c
%files ui-spice-core
7a925b
%{_libdir}/%{name}/ui-spice-core.so
28222c
%files ui-spice-app
7a925b
%{_libdir}/%{name}/ui-spice-app.so
28222c
%endif
48e07c
48e07c
48e07c
%if %{have_kvm}
48e07c
%files kvm
48e07c
# Deliberately empty
ecbe00
ecbe00
%files kvm-core
ecbe00
# Deliberately empty
48e07c
%endif
48e07c
48e07c
c27704
%files user
Justin M. Forbes 3a5505
%{_bindir}/qemu-i386
Justin M. Forbes 3a5505
%{_bindir}/qemu-x86_64
ac843b
%{_bindir}/qemu-aarch64
3c6a0c
%{_bindir}/qemu-aarch64_be
Daniel P. Berrange b4adff
%{_bindir}/qemu-alpha
Daniel P. Berrange 36ffed
%{_bindir}/qemu-arm
Daniel P. Berrange 36ffed
%{_bindir}/qemu-armeb
Daniel P. Berrange b4adff
%{_bindir}/qemu-cris
1c7073
%{_bindir}/qemu-hppa
c7533d
%{_bindir}/qemu-hexagon
Eduardo Lima (Etrunko) 055837
%{_bindir}/qemu-loongarch64
Daniel P. Berrange 36ffed
%{_bindir}/qemu-m68k
Paolo Bonzini b7a1ff
%{_bindir}/qemu-microblaze
Paolo Bonzini b7a1ff
%{_bindir}/qemu-microblazeel
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mipsel
7fae7f
%{_bindir}/qemu-mips64
7fae7f
%{_bindir}/qemu-mips64el
7fae7f
%{_bindir}/qemu-mipsn32
7fae7f
%{_bindir}/qemu-mipsn32el
1c7073
%{_bindir}/qemu-nios2
1c7073
%{_bindir}/qemu-or1k
Paolo Bonzini ffa1cc
%{_bindir}/qemu-ppc
Paolo Bonzini ffa1cc
%{_bindir}/qemu-ppc64
ad339a
%{_bindir}/qemu-ppc64le
3c6a0c
%{_bindir}/qemu-riscv32
3c6a0c
%{_bindir}/qemu-riscv64
Paolo Bonzini b7a1ff
%{_bindir}/qemu-s390x
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4eb
Paolo Bonzini ffa1cc
%{_bindir}/qemu-sparc
Paolo Bonzini ffa1cc
%{_bindir}/qemu-sparc32plus
Paolo Bonzini ffa1cc
%{_bindir}/qemu-sparc64
80404b
%{_bindir}/qemu-xtensa
80404b
%{_bindir}/qemu-xtensaeb
Daniel P. Berrange 083532
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-i386*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-x86_64*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-aarch64*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-alpha*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-arm*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-cris*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-hppa*.stp
c7533d
%{_datadir}/systemtap/tapset/qemu-hexagon*.stp
Eduardo Lima (Etrunko) 055837
%{_datadir}/systemtap/tapset/qemu-loongarch64*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-m68k*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-microblaze*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-mips*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-nios2*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-or1k*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-ppc*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-riscv*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-s390x*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-sh4*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-sparc*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-xtensa*.stp
e1b832
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%files user-binfmt
Daniel P. Berrange 083532
%{_exec_prefix}/lib/binfmt.d/qemu-*-dynamic.conf
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
%files user-static
Daniel P. Berrangé 882529
%license COPYING COPYING.LIB LICENSE
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-aarch64
Daniel J Walsh 0d9e00
%{_bindir}/qemu-aarch64-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-aarch64_be-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-aarch64.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-aarch64_be-static.stp
18240b
%ifnarch aarch64
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-aarch64-static.conf
18240b
%endif
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-aarch64_be-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-alpha
Daniel J Walsh 0d9e00
%{_bindir}/qemu-alpha-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-alpha-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-alpha-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-arm
Daniel J Walsh 0d9e00
%{_bindir}/qemu-arm-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-armeb-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-armeb-static.stp
18240b
%ifnarch aarch64
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-arm-static.conf
18240b
%endif
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-armeb-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-cris
Daniel J Walsh 0d9e00
%{_bindir}/qemu-cris-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-cris-static.stp
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-hexagon
Daniel J Walsh 0d9e00
%{_bindir}/qemu-hexagon-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-hexagon-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-hexagon-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-hppa
Daniel J Walsh 0d9e00
%{_bindir}/qemu-hppa-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-hppa-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-hppa-static.conf
Daniel J Walsh 0d9e00
Eduardo Lima (Etrunko) 055837
%files user-static-loongarch64
Eduardo Lima (Etrunko) 055837
%{_bindir}/qemu-loongarch64-static
Eduardo Lima (Etrunko) 055837
%{_datadir}/systemtap/tapset/qemu-loongarch64-static.stp
Eduardo Lima (Etrunko) 055837
%{_exec_prefix}/lib/binfmt.d/qemu-loongarch64-static.conf
Eduardo Lima (Etrunko) 055837
Daniel J Walsh 0d9e00
%files user-static-m68k
Daniel J Walsh 0d9e00
%{_bindir}/qemu-m68k-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-m68k-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-m68k-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-microblaze
Daniel J Walsh 0d9e00
%{_bindir}/qemu-microblaze-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-microblazeel-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-microblaze-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-microblazeel-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-microblaze-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-microblazeel-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-mips
Daniel J Walsh 0d9e00
%{_bindir}/qemu-mips-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-mips64-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-mips64el-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-mipsel-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-mipsn32-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-mipsn32el-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-mips-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-mips64-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-mips64el-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-mipsel-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-mipsn32-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-mipsn32el-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-mips-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-mips64-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-mips64el-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-mipsel-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-mipsn32-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-mipsn32el-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-nios2
Daniel J Walsh 0d9e00
%{_bindir}/qemu-nios2-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-nios2-static.stp
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-or1k
Daniel J Walsh 0d9e00
%{_bindir}/qemu-or1k-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-or1k-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-or1k-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-ppc
Daniel J Walsh 0d9e00
%{_bindir}/qemu-ppc-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-ppc64-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-ppc64le-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-ppc-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-ppc64-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-ppc64le-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-ppc-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-ppc64-static.conf
18240b
%ifnarch ppc64le
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-ppc64le-static.conf
18240b
%endif
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-riscv
Daniel J Walsh 0d9e00
%{_bindir}/qemu-riscv32-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-riscv64-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-riscv32-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-riscv64-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-riscv32-static.conf
18240b
%ifnarch riscv64
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-riscv64-static.conf
18240b
%endif
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-s390x
Daniel J Walsh 0d9e00
%{_bindir}/qemu-s390x-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-s390x-static.stp
18240b
%ifnarch s390x
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-s390x-static.conf
18240b
%endif
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-sh4
Daniel J Walsh 0d9e00
%{_bindir}/qemu-sh4-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-sh4eb-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-sh4-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-sh4eb-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-sh4-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-sh4eb-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-sparc
Daniel J Walsh 0d9e00
%{_bindir}/qemu-sparc-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-sparc32plus-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-sparc64-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-sparc-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-sparc32plus-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-sparc64-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-sparc-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-sparc32plus-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-sparc64-static.conf
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-x86
Daniel J Walsh 0d9e00
%{_bindir}/qemu-i386-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-x86_64-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-i386-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-x86_64-static.stp
18240b
%ifnarch %{ix86} x86_64
18240b
%{_exec_prefix}/lib/binfmt.d/qemu-i386-static.conf
18240b
%{_exec_prefix}/lib/binfmt.d/qemu-i486-static.conf
18240b
%{_exec_prefix}/lib/binfmt.d/qemu-x86_64-static.conf
18240b
%endif
Daniel J Walsh 0d9e00
Daniel J Walsh 0d9e00
%files user-static-xtensa
Daniel J Walsh 0d9e00
%{_bindir}/qemu-xtensa-static
Daniel J Walsh 0d9e00
%{_bindir}/qemu-xtensaeb-static
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-xtensa-static.stp
Daniel J Walsh 0d9e00
%{_datadir}/systemtap/tapset/qemu-xtensaeb-static.stp
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-xtensa-static.conf
Daniel J Walsh 0d9e00
%{_exec_prefix}/lib/binfmt.d/qemu-xtensaeb-static.conf
Daniel J Walsh 0d9e00
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 35d458
c27704
3758f8
%files system-aarch64
3758f8
%files system-aarch64-core
3758f8
%{_bindir}/qemu-system-aarch64
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
3758f8
%{_mandir}/man1/qemu-system-aarch64.1*
c27704
Daniel P. Berrange 35d458
c27704
%files system-alpha
ecbe00
%files system-alpha-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-alpha
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
979ec1
%{_mandir}/man1/qemu-system-alpha.1*
Paolo Bonzini c32efe
%{_datadir}/%{name}/palcode-clipper
Paolo Bonzini c32efe
c27704
c27704
%files system-arm
ecbe00
%files system-arm-core
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-arm
28222c
%{_datadir}/%{name}/npcm7xx_bootrom.bin
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
979ec1
%{_mandir}/man1/qemu-system-arm.1*
Peter Robinson 09747c
Daniel P. Berrange 35d458
f4bee9
%files system-avr
f4bee9
%files system-avr-core
f4bee9
%{_bindir}/qemu-system-avr
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-avr*.stp
f4bee9
%{_mandir}/man1/qemu-system-avr.1*
f4bee9
f4bee9
c27704
%files system-cris
ecbe00
%files system-cris-core
Justin M. Forbes bc9e71
%{_bindir}/qemu-system-cris
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-cris*.stp
979ec1
%{_mandir}/man1/qemu-system-cris.1*
Daniel P. Berrange 35d458
c27704
3758f8
%files system-hppa
3758f8
%files system-hppa-core
3758f8
%{_bindir}/qemu-system-hppa
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-hppa*.stp
3758f8
%{_mandir}/man1/qemu-system-hppa.1*
3758f8
%{_datadir}/%{name}/hppa-firmware.img
3758f8
ecbe00
Eduardo Lima (Etrunko) 055837
%files system-loongarch64
Eduardo Lima (Etrunko) 055837
%files system-loongarch64-core
Eduardo Lima (Etrunko) 055837
%{_bindir}/qemu-system-loongarch64
Eduardo Lima (Etrunko) 055837
%{_datadir}/systemtap/tapset/qemu-system-loongarch64*.stp
Eduardo Lima (Etrunko) 055837
%{_mandir}/man1/qemu-system-loongarch64.1*
Eduardo Lima (Etrunko) 055837
Eduardo Lima (Etrunko) 055837
c27704
%files system-m68k
ecbe00
%files system-m68k-core
Glauber Costa 485711
%{_bindir}/qemu-system-m68k
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-m68k*.stp
979ec1
%{_mandir}/man1/qemu-system-m68k.1*
Daniel P. Berrange 35d458
c27704
c27704
%files system-microblaze
ecbe00
%files system-microblaze-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-microblaze
Paolo Bonzini c32efe
%{_bindir}/qemu-system-microblazeel
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-microblaze*.stp
979ec1
%{_mandir}/man1/qemu-system-microblaze.1*
979ec1
%{_mandir}/man1/qemu-system-microblazeel.1*
Paolo Bonzini c32efe
%{_datadir}/%{name}/petalogix*.dtb
Paolo Bonzini c32efe
c27704
3758f8
%files system-mips
3758f8
%files system-mips-core
3758f8
%{_bindir}/qemu-system-mips
3758f8
%{_bindir}/qemu-system-mipsel
3758f8
%{_bindir}/qemu-system-mips64
3758f8
%{_bindir}/qemu-system-mips64el
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
3758f8
%{_mandir}/man1/qemu-system-mips.1*
3758f8
%{_mandir}/man1/qemu-system-mipsel.1*
3758f8
%{_mandir}/man1/qemu-system-mips64el.1*
3758f8
%{_mandir}/man1/qemu-system-mips64.1*
ecbe00
3758f8
3758f8
%files system-nios2
3758f8
%files system-nios2-core
3758f8
%{_bindir}/qemu-system-nios2
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-nios2*.stp
3758f8
%{_mandir}/man1/qemu-system-nios2.1*
3758f8
3758f8
3758f8
%files system-or1k
1c7073
%files system-or1k-core
1c7073
%{_bindir}/qemu-system-or1k
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-or1k*.stp
1c7073
%{_mandir}/man1/qemu-system-or1k.1*
Paolo Bonzini 40e61a
c27704
3758f8
%files system-ppc
3758f8
%files system-ppc-core
3758f8
%{_bindir}/qemu-system-ppc
3758f8
%{_bindir}/qemu-system-ppc64
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
3758f8
%{_mandir}/man1/qemu-system-ppc.1*
3758f8
%{_mandir}/man1/qemu-system-ppc64.1*
3758f8
%{_datadir}/%{name}/bamboo.dtb
3758f8
%{_datadir}/%{name}/canyonlands.dtb
3758f8
%{_datadir}/%{name}/qemu_vga.ndrv
3758f8
%{_datadir}/%{name}/skiboot.lid
3758f8
%{_datadir}/%{name}/u-boot.e500
3758f8
%{_datadir}/%{name}/u-boot-sam460-20100605.bin
Eduardo Lima (Etrunko) 0007b3
%{_datadir}/%{name}/vof*.bin
7a925b
%if %{have_memlock_limits}
7a925b
%{_sysconfdir}/security/limits.d/95-kvm-memlock.conf
3758f8
%endif
3c6a0c
3758f8
3758f8
%files system-riscv
3c6a0c
%files system-riscv-core
3c6a0c
%{_bindir}/qemu-system-riscv32
3c6a0c
%{_bindir}/qemu-system-riscv64
28828d
%{_datadir}/%{name}/opensbi-riscv*.bin
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-riscv*.stp
3c6a0c
%{_mandir}/man1/qemu-system-riscv*.1*
3c6a0c
3c6a0c
e1b832
%files system-rx
e1b832
%files system-rx-core
e1b832
%{_bindir}/qemu-system-rx
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-rx*.stp
e1b832
%{_mandir}/man1/qemu-system-rx.1*
e1b832
e1b832
c27704
%files system-s390x
ecbe00
%files system-s390x-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-s390x
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
979ec1
%{_mandir}/man1/qemu-system-s390x.1*
7fae7f
%{_datadir}/%{name}/s390-ccw.img
1a4355
%{_datadir}/%{name}/s390-netboot.img
Paolo Bonzini c32efe
c27704
c27704
%files system-sh4
ecbe00
%files system-sh4-core
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4eb
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-sh4*.stp
979ec1
%{_mandir}/man1/qemu-system-sh4.1*
979ec1
%{_mandir}/man1/qemu-system-sh4eb.1*
Daniel P. Berrange 35d458
c27704
c27704
%files system-sparc
ecbe00
%files system-sparc-core
57c57a
%{_bindir}/qemu-system-sparc
57c57a
%{_bindir}/qemu-system-sparc64
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
979ec1
%{_mandir}/man1/qemu-system-sparc.1*
979ec1
%{_mandir}/man1/qemu-system-sparc64.1*
bacd9b
%{_datadir}/%{name}/QEMU,tcx.bin
ac843b
%{_datadir}/%{name}/QEMU,cgthree.bin
57c57a
c27704
3758f8
%files system-tricore
3758f8
%files system-tricore-core
3758f8
%{_bindir}/qemu-system-tricore
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
3758f8
%{_mandir}/man1/qemu-system-tricore.1*
Daniel P. Berrange 36ffed
c27704
3758f8
%files system-x86
3758f8
%files system-x86-core
3758f8
%{_bindir}/qemu-system-i386
3758f8
%{_bindir}/qemu-system-x86_64
Eduardo Lima (Etrunko) b048de
%{_libdir}/%{name}/accel-tcg-i386.so
Eduardo Lima (Etrunko) b048de
%{_libdir}/%{name}/accel-tcg-x86_64.so
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
3758f8
%{_mandir}/man1/qemu-system-i386.1*
3758f8
%{_mandir}/man1/qemu-system-x86_64.1*
d3ff78
%{_datadir}/%{name}/kvmvapic.bin
3758f8
%{_datadir}/%{name}/linuxboot.bin
3758f8
%{_datadir}/%{name}/multiboot.bin
Eduardo Lima (Etrunko) 842e80
%{_datadir}/%{name}/multiboot_dma.bin
d3ff78
%{_datadir}/%{name}/pvh.bin
28222c
%{_datadir}/%{name}/qboot.rom
7a925b
%if %{need_qemu_kvm}
3758f8
%{_bindir}/qemu-kvm
3758f8
%{_mandir}/man1/qemu-kvm.1*
3758f8
%endif
ecbe00
3758f8
3758f8
%files system-xtensa
ecbe00
%files system-xtensa-core
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-xtensa
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-xtensaeb
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
979ec1
%{_mandir}/man1/qemu-system-xtensa.1*
979ec1
%{_mandir}/man1/qemu-system-xtensaeb.1*
7a925b
# endif !tools_only
7a925b
%endif
Paolo Bonzini 40e61a
c27704
David Woodhouse 5c3734
%changelog
cb35d2
* Thu Aug 17 2023 Davide Cavalca <dcavalca@centosproject.org> - 2:8.0.3-1.1
cb35d2
- Merge latest changes from Fedora
cb35d2
- Temporarily disable virgl for Hyperscale due to missing dependencies
cb35d2
- Adjust Requires for virtiofsd for RHEL 9 and earlier
cb35d2
  Upstream PR: https://src.fedoraproject.org/rpms/qemu/pull-request/47
cb35d2
- Enable jack support for Hyperscale builds
cb35d2
Camilla Conte 9d0cc4
* Thu Jul 20 2023 Camilla Conte <cconte@redhat.com> - 2:8.0.3-1
Camilla Conte 9d0cc4
- New upstream release 8.0.3
Camilla Conte 9d0cc4
Camilla Conte 9ce3d1
* Mon Jul 03 2023 Camilla Conte <cconte@redhat.com> - 2:8.0.2-1
Camilla Conte 9ce3d1
- New upstream release 8.0.2
Daniel P. Berrangé 66ae40
- Fix arabic keyboard layout name
Camilla Conte 9ce3d1
bc72c7
* Thu Jun 01 2023 Richard W.M. Jones <rjones@redhat.com> - 2:8.0.0-4
bc72c7
- Rebuild for libnfs soname bump
bc72c7
Daniel P. Berrangé ef665a
* Thu Apr 27 2023 Daniel P. Berrangé <berrange@redhat.com> - 8.0.0-3
Daniel P. Berrangé ef665a
- Drop sgabios-bin requirement and related baggage
Daniel P. Berrangé ef665a
Daniel P. Berrangé f2cb56
* Tue Apr 25 2023 Daniel P. Berrangé <berrange@redhat.com> - 8.0.0-2
Daniel P. Berrangé f2cb56
- Obsolete qemu-virtiofsd on i686 (rhbz #2189368)
Daniel P. Berrangé f2cb56
Eduardo Lima (Etrunko) 493beb
* Thu Apr 20 2023 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 8.0.0-1
Eduardo Lima (Etrunko) 493beb
- Rebase to qemu 8.0.0
Eduardo Lima (Etrunko) 493beb
Eduardo Lima (Etrunko) 27bca4
* Wed Apr 19 2023 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 7.2.1-1
Eduardo Lima (Etrunko) 27bca4
- Rebase to qemu 7.2.1
Eduardo Lima (Etrunko) 27bca4
fb1517
* Mon Feb 27 2023 Richard W.M. Jones <rjones@redhat.com> - 7.2.0-7
fb1517
- Fix virtio-blk-pci detect-zeroes=unmap (RHBZ#2173357)
d8ea84
- Fix build with glib2 2.75.3 (RHBZ#2173639)
0ef68a
- Disable the tests on i686
fb1517
Stefan Hajnoczi 4eb8ef
* Tue Jan 31 2023 Stefan Hajnoczi <stefanha@redhat.com> - 7.2.0-6
Stefan Hajnoczi 4eb8ef
- Enable libblkio
Stefan Hajnoczi 4eb8ef
Fedora Release Engineering 8f629c
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.2.0-5
Fedora Release Engineering 8f629c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Fedora Release Engineering 8f629c
3f79a6
* Wed Jan 11 2023 Richard W.M. Jones <rjones@redhat.com> - 2:7.2.0-4
3f79a6
- Rebuild for xen-4.17.0, second attempt
3f79a6
Daniel P. Berrangé c59732
* Tue Jan 10 2023 Daniel P. Berrangé <berrange@redhat.com> - 7.2.0-3
Daniel P. Berrangé c59732
- Fix compat with linux > 6.1 headers
Daniel P. Berrangé fcf471
- Re-enable iotests
Daniel P. Berrangé c59732
6a1d35
* Tue Jan 03 2023 Richard W.M. Jones <rjones@redhat.com> - 2:7.2.0-2
6a1d35
- Rebuild for xen-4.17.0
6a1d35
Eduardo Lima (Etrunko) 3ce4ea
* Mon Dec 19 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 7.2.0-1
Eduardo Lima (Etrunko) 3ce4ea
- Rebase to qemu 7.2.0
Eduardo Lima (Etrunko) 3ce4ea
Eduardo Lima (Etrunko) d09d39
* Fri Nov 11 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 7.1.0-4
Eduardo Lima (Etrunko) d09d39
- Update libbpf dependency
Eduardo Lima (Etrunko) d09d39
73d384
* Thu Sep 08 2022 Davide Cavalca <dcavalca@centosproject.org> - 7.1.0-3.1
9d1981
- Enable some additional features for Hyperscale
9d1981
- Number patches for compatibility with el8
9d1981
Eduardo Lima (Etrunko) 753998
* Thu Sep 08 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 7.1.0-3
92a873
- Unconditionally enable capstone-devel
92a873
Eduardo Lima (Etrunko) 753998
* Thu Sep 08 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 7.1.0-2
795912
- Bump required meson version
795912
Eduardo Lima (Etrunko) 055837
* Wed Aug 31 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 7.1.0-1
Eduardo Lima (Etrunko) 055837
- Rebase to qemu 7.1.0
Eduardo Lima (Etrunko) 055837
Daniel P. Berrangé 342547
* Tue Aug  2 2022 Daniel P. Berrangé <berrange@redhat.com> - 7.0.0-9
Daniel P. Berrangé 342547
- Fix compat with glibc 2.36 headers
Daniel P. Berrangé 342547
Paolo Bonzini 98276b
* Mon Jul 25 2022 Paolo Bonzini <pbonzini@redhat.com> - 2:7.0.0-8
Paolo Bonzini 98276b
- Replace pcre-static dependency with pcre2-static, to adjust for glib switching
Paolo Bonzini 98276b
Fedora Release Engineering 22305b
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.0.0-7
Fedora Release Engineering 22305b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Fedora Release Engineering 22305b
9fda12
* Sat Jun 11 2022 Cole Robinson <crobinso@redhat.com> - 7.0.0-6
9fda12
- Adjust for Xen dropping 32bit arches
9fda12
Daniel J Walsh 0d9e00
* Mon Jun 06 2022 Daniel J Walsh <dwalsh@redhat.com> - 7.0.0-5
Daniel J Walsh 0d9e00
- Split qemu-user-static into per-arch subpackages (bz 2061584)
Daniel J Walsh 0d9e00
a575c5
* Thu Jun 02 2022 Cole Robinson <crobinso@redhat.com> - 7.0.0-4
a575c5
- Fix virtio-scsi hang (bz #2079347)
a575c5
- Add dep on virtio-gpu-ccw (bz #2091964)
a575c5
230e4a
* Tue May 17 2022 Cole Robinson <crobinso@redhat.com> - 7.0.0-3
230e4a
- Make qemu-common own /usr/share/qemu/vhost-user (bz 2086836)
230e4a
- Add virtiofsd to qemu-system-* deps (bz 2083155)
230e4a
- Add qemu-pr-helper to qemu-system-* deps
230e4a
Daniel P. Berrangé d8c4df
* Tue May  3 2022 Daniel P. Berrangé <berrange@redhat.com> - 7.0.0-2
Daniel P. Berrangé d8c4df
- Drop redundant qemu-trace-stap copy from qemu-user-static (rhbz#2061584)
Daniel P. Berrangé 882529
- Remove qemu-common dep from qemu-user-static (rhbz#2061584)
Daniel P. Berrangé d8c4df
Eduardo Lima (Etrunko) 0007b3
* Fri Apr 08 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 7.0.0-1
Eduardo Lima (Etrunko) 0007b3
- Rebase to qemu 7.0.0-1
Eduardo Lima (Etrunko) 0007b3
af7430
* Wed Apr 06 2022 Richard W.M. Jones <rjones@redhat.com> - 2:6.2.0-8
af7430
- acpi: fix QEMU crash when started with SLIC table (RHBZ#2072303)
af7430
Neal Gompa fdc9eb
* Fri Apr 01 2022 Neal Gompa <ngompa@fedoraproject.org> - 2:6.2.0-7
Neal Gompa fdc9eb
- Backport virtiofsd changes to fix crashes on F36+
Neal Gompa fdc9eb
  Resolves: rhbz#2070066
Neal Gompa fdc9eb
148536
* Fri Apr 01 2022 Richard W.M. Jones <rjones@redhat.com> - 2:6.2.0-6
148536
- Bump and rebuild for SONAME change in libmpathpersist (RHBZ#2069778)
148536
41fa2b
* Thu Feb 10 2022 Cole Robinson <crobinso@redhat.com> - 6.2.0-5
41fa2b
- Split out qemu-virtiofsd subpackage
41fa2b
41fa2b
* Wed Feb 09 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 2:6.2.0-4
Eduardo Lima (Etrunko) c8164e
- virtiofsd: Drop membership of all supplementary groups (CVE-2022-0358)
Eduardo Lima (Etrunko) c8164e
  Resolves: rhbz#2044863
5b1d8f
Paolo Bonzini 06a96e
* Wed Feb 2 2022 Paolo Bonzini <pbonzini@redhat.com> - 2:6.2.0-3
Paolo Bonzini 06a96e
- Fix non-SGX builds
Paolo Bonzini 06a96e
Fedora Release Engineering f38131
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:6.2.0-2.1
Fedora Release Engineering f38131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Fedora Release Engineering f38131
6dc1a3
* Tue Jan 11 2022 Richard W.M. Jones <rjones@redhat.com> - 2:6.2.0-2
6dc1a3
- Bump release and rebuild for new xen
6dc1a3
Eduardo Lima (Etrunko) a640e1
* Wed Dec 15 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.2.0-1
Eduardo Lima (Etrunko) a640e1
- Rebase to qemu 6.2.0
Eduardo Lima (Etrunko) a640e1
Eduardo Lima (Etrunko) 2d6f69
* Thu Dec 09 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.2.0-0.1-rc4
Eduardo Lima (Etrunko) 2d6f69
- Rebase to qemu 6.2.0-rc4
Eduardo Lima (Etrunko) 2d6f69
Eduardo Lima (Etrunko) 842e80
* Fri Dec 03 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.2.0-0.1-rc3
Eduardo Lima (Etrunko) 842e80
- Rebase to qemu 6.2.0-rc3
Eduardo Lima (Etrunko) 842e80
Daniel P. Berrangé f54452
* Thu Nov 25 2021 Daniel P. Berrangé <berrange@redhat.com> - 6.1.0-13
Daniel P. Berrangé f54452
- Fix iovec limits with scsi-generic
Daniel P. Berrangé f54452
f9f5de
* Wed Nov 24 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-12
1609e9
- Add support for qemu-nbd --selinux-relabel option (RHBZ#1984938)
f9f5de
- Define STAP_SDT_ARG_CONSTRAINT=g on %%{arm}, workaround for:
f9f5de
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395
1609e9
Adam Williamson b34716
* Mon Nov 08 2021 Adam Williamson <awilliam@redhat.com> - 6.1.0-10
Adam Williamson b34716
- Fix snapshot creation with qxl graphics
Adam Williamson b34716
7be05b
* Fri Oct 08 2021 Cole Robinson <crobinso@redhat.com> - 6.1.0-9
7be05b
- Fix tcg PVH test with binutils 2.36+
7be05b
1d93f5
* Wed Oct 06 2021 Cole Robinson <crobinso@redhat.com> - 6.1.0-8
1d93f5
- Fix qemu crash with vnc + libvirt virDomainOpenConsole
1d93f5
65ccb9
* Sun Sep 12 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-7
65ccb9
- Alternate fix for assertion on armv7hl (RHBZ#1999878)
65ccb9
c52739
* Wed Sep 01 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-6
c52739
- Fix assertion on armv7hl (RHBZ#1999878)
c52739
c1a377
* Tue Aug 31 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-5
c1a377
- Fix -cpu max (RHBZ#1999700)
c1a377
9eb191
* Fri Aug 27 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-4
9eb191
- Disable gcrypt (for real this time).
9eb191
1ba242
* Fri Aug 27 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-3
1ba242
- Revert "Disable gcrypt" which seems to disable gnutls (RHBZ#1998452)
1ba242
96944e
* Thu Aug 26 2021 Richard W.M. Jones <rjones@redhat.com> - 6.1.0-2
96944e
- Fix dependency pci_gl -> pci-gl and vga_gl -> vga-gl (RHBZ#1997855)
96944e
Eduardo Lima (Etrunko) 050829
* Tue Aug 24 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.1.0-1
Eduardo Lima (Etrunko) 050829
- Rebase to qemu 6.1.0
Eduardo Lima (Etrunko) 050829
Eduardo Lima (Etrunko) 79f4b0
* Tue Aug 10 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.1.0-0.3-rc4
Eduardo Lima (Etrunko) 79f4b0
- Rebase to qemu 6.1.0-rc4
Eduardo Lima (Etrunko) 79f4b0
Eduardo Lima (Etrunko) bf8d86
* Tue Aug 10 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.1.0-0.2-rc3
Eduardo Lima (Etrunko) bf8d86
- Rebase to qemu 6.1.0-rc3
Eduardo Lima (Etrunko) bf8d86
Eduardo Lima (Etrunko) b048de
* Mon Aug 9 2021 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 6.1.0-0.1-rc2
Eduardo Lima (Etrunko) b048de
- Rebase to qemu 6.1.0-rc2
Eduardo Lima (Etrunko) b048de
6bb4bb
* Thu Jul 29 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-12
6bb4bb
- Drop python3 shebang fixup for tests rpm
6bb4bb
- Parallelize make check
6bb4bb
- Explicitly disable c++ build
6bb4bb
282558
* Fri Jul 23 2021 Richard W.M. Jones <rjones@redhat.com> - 6.0.0-11
282558
- Fix dependencies of qemu metapackage.
282558
Fedora Release Engineering 6af185
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:6.0.0-10.1
Fedora Release Engineering 6af185
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Fedora Release Engineering 6af185
d6b4a4
* Sun Jul 18 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-10
d6b4a4
- Split out qemu-pr-helper and qemu-tools subpackages
d6b4a4
180e0d
* Wed Jul 07 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-9
180e0d
- Use standard fedora build macros
180e0d
- Access roms directly in ipxe, seabios, seavgabios directories
180e0d
b2595a
* Wed Jun 30 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-8
b2595a
- Relax meson version to fix building on older Fedora
b2595a
- More attempts to get CI working
b2595a
91b70a
* Wed Jun 23 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-7
91b70a
- Add qemu-tests package
91b70a
- Move qemu-sanity-check test to fedora CI
91b70a
- Add s390x and generic kvm modprobe file from RHEL
91b70a
- Add vhost modprobe file from RHEL
91b70a
- Distribute tracetool, simpletrace, dump-guest-memory tools
91b70a
ec4dab
* Wed Jun 16 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-6
ec4dab
- Build against fuse3 and SDL2_image
ec4dab
- Move qemu-storage-daemon to qemu-img subpackage
ec4dab
5c8060
* Mon Jun 07 2021 Cole Robinson <crobinso@redhat.com> - 6.0.0-5
5c8060
- Rebuild for xen 4.15
5c8060
1ba19d
* Tue Jun 01 2021 Cole Robinson <crobinso@redhat.com> - 2:6.0.0-4
9348aa
- Split out qemu-device-display-vhost-user-gpu subpackage
9348aa
- Split out qemu-docs subpackage
1ba19d
Paolo Bonzini 169bee
* Wed May 19 2021 Paolo Bonzini <pbonzini@redhat.com> - 2:6.0.0-3
Paolo Bonzini 169bee
- add another patch to fix configuration files
Paolo Bonzini 169bee
Paolo Bonzini 169bee
* Wed May 19 2021 Paolo Bonzini <pbonzini@redhat.com> - 2:6.0.0-2
Paolo Bonzini 610d93
- fix spice option from configuration file
Paolo Bonzini 610d93
- fix object option from configuration file
Paolo Bonzini 610d93
- allow not specifying size in -m when using -M memory-backend
Paolo Bonzini 610d93
66fde7
* Wed May 12 2021 Cole Robinson <crobinso@redhat.com> - 2:6.0.0-1
66fde7
- Rebase to qemu 6.0.0 GA
66fde7
47a69f
* Wed Apr 21 2021 Cole Robinson <crobinso@redhat.com> - 2:6.0.0-0.3.rc4
47a69f
- Rebase to qemu 6.0.0-rc4
47a69f
ac2756
* Wed Apr 14 2021 Richard W.M. Jones <rjones@redhat.com> - 2:6.0.0-0.2.rc2
ac2756
- Rebuild for updated liburing.
ac2756
c7533d
* Tue Apr 06 2021 Cole Robinson <aintdiscole@gmail.com> - 6.0.0-0.1.rc2
c7533d
- Rebase to qemu 6.0.0-rc2
c7533d
Zbigniew Jędrzejewski-Szmek 0ff753
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2:5.2.0-6.1
Zbigniew Jędrzejewski-Szmek 0ff753
- Rebuilt for updated systemd-rpm-macros
Zbigniew Jędrzejewski-Szmek 0ff753
  See https://pagure.io/fesco/issue/2583.
Zbigniew Jędrzejewski-Szmek 0ff753
8b5ba7
* Mon Mar 01 2021 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-6
8b5ba7
- Fix building on centos stream in copr
8b5ba7
Fedora Release Engineering c99690
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2.0-5.1
Fedora Release Engineering c99690
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Fedora Release Engineering c99690
Paolo Bonzini 74370c
* Mon Jan 11 2021 Paolo Bonzini <pbonzini@redhat.com> - 2:5.2.0-5
Paolo Bonzini 74370c
- Use symlink for qemu-kvm.
Paolo Bonzini d1c454
- Fix make check on bash 5.1.