render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone
6c5570
%global libfdt_version 1.6.0
6c5570
%global libseccomp_version 2.4.0
6c5570
%global libusbx_version 1.0.23
ad8606
%global meson_version 0.55.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
Daniel P. Berrange 083532
%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 0
3930e8
%ifarch %{ix86} x86_64 %{arm} aarch64
7da5fc
%global have_spice 1
b26fb5
%endif
b26fb5
3930e8
# Matches xen ExclusiveArch
7da5fc
%global have_xen 0
efaa1c
%if 0%{?fedora}
3930e8
%ifarch %{ix86} x86_64 armv7hl aarch64
b26fb5
%global have_xen 1
b26fb5
%endif
efaa1c
%endif
efaa1c
efaa1c
%global have_liburing 0
efaa1c
%if 0%{?fedora}
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}
dcfe42
%global have_jack 0
dcfe42
%endif
dcfe42
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
6c5570
%global have_block_gluster 1
6c5570
6c5570
%define have_block_nfs 0
8b5ba7
%if 0%{?fedora}
6c5570
%define have_block_nfs 1
8b5ba7
%endif
8b5ba7
731492
%define have_capstone_devel 0
7e8e4f
%if 0%{?fedora}
731492
# capstone-devel is only on Fedora. Use it if it's available, but
731492
# if not, use the internal qemu submodule copy
731492
%define have_capstone_devel 1
7e8e4f
%endif
7e8e4f
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
7e8e4f
# Disable LTO since it caused lots of strange assert failures.
7e8e4f
%global _lto_cflags %{nil}
7e8e4f
7e8e4f
# OOM killer breaks builds with parallel make on s390(x)
7e8e4f
%ifarch s390x
7e8e4f
%global _smp_mflags %{nil}
7e8e4f
%endif
7e8e4f
51821d
%global firmwaredirs "%{_datadir}/qemu-firmware:%{_datadir}/ipxe/qemu:%{_datadir}/seavgabios:%{_datadir}/seabios:%{_datadir}/sgabios"
6c5570
7a925b
%global qemudocdir %{_docdir}/%{name}
Daniel P. Berrangé f1fa58
%define evr %{epoch}:%{version}-%{release}
Daniel P. Berrangé f1fa58
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}
d20fa7
%define requires_device_usb_redirect Requires: %{name}-device-usb-redirect = %{evr}
d20fa7
%define requires_device_usb_smartcard Requires: %{name}-device-usb-smartcard = %{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}
993f41
1ba19d
%if %{have_virgl}
1ba19d
%define requires_device_display_vhost_user_gpu Requires: %{name}-device-display-vhost-user-gpu = %{evr}
1ba19d
%else
1ba19d
%define requires_device_display_vhost_user_gpu %{nil}
1ba19d
%endif
1ba19d
dcfe42
%if %{have_jack}
dcfe42
%define requires_audio_jack Requires: %{name}-audio-jack = %{evr}
dcfe42
%else
dcfe42
%define requires_audio_jack %{nil}
dcfe42
%endif
dcfe42
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
Daniel P. Berrangé f1fa58
%global requires_all_modules \
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} \
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} \
28222c
%{requires_device_display_virtio_gpu_pci} \
28222c
%{requires_device_display_virtio_vga} \
d20fa7
%{requires_device_usb_redirect} \
d20fa7
%{requires_device_usb_smartcard} \
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} \
7a925b
%{obsoletes_block_rbd} \
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} \
7a925b
Obsoletes: %{name}-system-unicore32-core <= %{epoch}:%{version}-%{release}
Daniel P. Berrangé a60ad6
409720
# Release candidate version tracking
66fde7
# global rcver rc4
1a4355
%if 0%{?rcver:1}
1a4355
%global rcrel .%{rcver}
1a4355
%global rcstr -%{rcver}
1a4355
%endif
409720
3400e7
David Woodhouse 5c3734
Summary: QEMU is a FAST! processor emulator
David Woodhouse 5c3734
Name: qemu
c7533d
Version: 6.0.0
180e0d
Release: 9%{?rcrel}%{?dist}
Glauber Costa 9235f9
Epoch: 2
Daniel P. Berrangé 1d16c1
License: GPLv2 and BSD and MIT and CC-BY
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
Paolo Bonzini 610d93
Patch0001: 0001-vl-allow-not-specifying-size-in-m-when-using-M-memor.patch
Paolo Bonzini 610d93
Patch0002: 0002-qemu-config-load-modules-when-instantiating-option-g.patch
Paolo Bonzini 610d93
Patch0003: 0003-qemu-config-parse-configuration-files-to-a-QDict.patch
Paolo Bonzini 610d93
Patch0004: 0004-vl-plumb-keyval-based-options-into-readconfig.patch
Paolo Bonzini 610d93
Patch0005: 0005-vl-plug-object-back-into-readconfig.patch
Paolo Bonzini 169bee
Patch0006: 0006-qemu-option-support-accept-any-QemuOptsList-in-qemu_.patch
c0b654
6c5570
BuildRequires: meson >= %{meson_version}
6c5570
BuildRequires: zlib-devel
6c5570
BuildRequires: glib2-devel
6c5570
BuildRequires: gnutls-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
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
BuildRequires: libgcrypt-devel
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
6c5570
6c5570
6c5570
# Fedora specific
d13afb
%if "%{toolchain}" == "clang"
d13afb
BuildRequires: clang
d13afb
%else
Tom Stellard 3fa99d
BuildRequires: gcc
d13afb
%endif
d13afb
BuildRequires: make
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
Daniel P. Berrangé 744e70
# smartcard device
Daniel P. Berrangé 744e70
BuildRequires: libcacard-devel
efaa1c
%if %{have_virgl}
Daniel P. Berrangé 744e70
# virgl 3d support
88b379
BuildRequires: virglrenderer-devel
748c8c
%endif
731492
%if %{have_capstone_devel}
Daniel P. Berrangé 744e70
# preferred disassembler for TCG
700f12
BuildRequires: capstone-devel
8b5ba7
%endif
Daniel P. Berrangé 744e70
# parallels disk images require libxml2
3c6a0c
BuildRequires: libxml2-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
c7533d
BuildRequires: jack-audio-connection-kit-devel
dcfe42
%endif
ec4dab
BuildRequires: fuse3-devel
d4c8ff
%if %{have_sdl_image}
ec4dab
BuildRequires: SDL2_image-devel
d4c8ff
%endif
8055ee
Daniel P. Berrangé 0b61e5
%if %{user_static}
Daniel P. Berrange 083532
BuildRequires: glibc-static pcre-static glib2-static zlib-static
Daniel P. Berrangé 0b61e5
%endif
Daniel P. Berrange 083532
7e50c4
7a925b
%description
7a925b
%{name} is an open source virtualizer that provides hardware
7a925b
emulation for the KVM hypervisor. %{name} acts as a virtual
7a925b
machine monitor together with the KVM kernel modules, and emulates the
7a925b
hardware for a full system such as a PC and its associated peripherals.
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}
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}
Glauber Costa 8571d0
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
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
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
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
3c6a0c
This package provides the additional PulseAudi 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
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.
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.
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.
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
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
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.
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: %{name}-common = %{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-binfmt
4a2d9a
#Provides: qemu-user-binfmt
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 P. Berrange 083532
%endif
Daniel P. Berrange 083532
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}
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
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: sgabios-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
c27704
419868
David Woodhouse 5c3734
%prep
409720
%setup -q -n qemu-%{version}%{?rcstr}
Paolo Bonzini af53ec
%autopatch -p1
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=                \\\
7e8e4f
  --disable-attr                   \\\
7e8e4f
  --disable-auth-pam               \\\
7e8e4f
  --disable-avx2                   \\\
7e8e4f
  --disable-avx512f                \\\
7e8e4f
  --disable-bochs                  \\\
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                  \\\
7e8e4f
  --disable-coroutine-pool         \\\
7e8e4f
  --disable-crypto-afalg           \\\
7e8e4f
  --disable-curl                   \\\
7e8e4f
  --disable-curses                 \\\
7e8e4f
  --disable-debug-info             \\\
7e8e4f
  --disable-debug-mutex            \\\
7e8e4f
  --disable-debug-tcg              \\\
7e8e4f
  --disable-dmg                    \\\
7e8e4f
  --disable-docs                   \\\
7e8e4f
  --disable-fdt                    \\\
7e8e4f
  --disable-fuse                   \\\
7e8e4f
  --disable-fuse-lseek             \\\
7e8e4f
  --disable-gcrypt                 \\\
7e8e4f
  --disable-gio                    \\\
7e8e4f
  --disable-glusterfs              \\\
7e8e4f
  --disable-gnutls                 \\\
7e8e4f
  --disable-gtk                    \\\
7e8e4f
  --disable-guest-agent            \\\
7e8e4f
  --disable-guest-agent-msi        \\\
7e8e4f
  --disable-hax                    \\\
7e8e4f
  --disable-hvf                    \\\
7e8e4f
  --disable-iconv                  \\\
7e8e4f
  --disable-jemalloc               \\\
7e8e4f
  --disable-kvm                    \\\
7e8e4f
  --disable-libdaxctl              \\\
7e8e4f
  --disable-libiscsi               \\\
7e8e4f
  --disable-libnfs                 \\\
7e8e4f
  --disable-libpmem                \\\
7e8e4f
  --disable-libssh                 \\\
7e8e4f
  --disable-libudev                \\\
7e8e4f
  --disable-libusb                 \\\
7e8e4f
  --disable-libxml2                \\\
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                   \\\
7e8e4f
  --disable-opengl                 \\\
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                \\\
7e8e4f
  --disable-sheepdog               \\\
7e8e4f
  --disable-slirp                  \\\
7e8e4f
  --disable-smartcard              \\\
7e8e4f
  --disable-snappy                 \\\
7e8e4f
  --disable-sparse                 \\\
7e8e4f
  --disable-spice                  \\\
7e8e4f
  --disable-strip                  \\\
7e8e4f
  --disable-system                 \\\
7e8e4f
  --disable-tcg                    \\\
7e8e4f
  --disable-tcmalloc               \\\
7e8e4f
  --disable-tools                  \\\
7e8e4f
  --disable-tpm                    \\\
7e8e4f
  --disable-u2f                    \\\
7e8e4f
  --disable-usb-redir              \\\
7e8e4f
  --disable-user                   \\\
7e8e4f
  --disable-vde                    \\\
7e8e4f
  --disable-vdi                    \\\
7e8e4f
  --disable-vhost-crypto           \\\
7e8e4f
  --disable-vhost-kernel           \\\
7e8e4f
  --disable-vhost-net              \\\
7e8e4f
  --disable-vhost-scsi             \\\
7e8e4f
  --disable-vhost-user             \\\
7e8e4f
  --disable-vhost-user-blk-server  \\\
7e8e4f
  --disable-vhost-vdpa             \\\
7e8e4f
  --disable-vhost-vsock            \\\
7e8e4f
  --disable-virglrenderer          \\\
7e8e4f
  --disable-virtfs                 \\\
7e8e4f
  --disable-virtiofsd              \\\
7e8e4f
  --disable-vnc                    \\\
7e8e4f
  --disable-vnc-jpeg               \\\
7e8e4f
  --disable-vnc-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-xfsctl                 \\\
7e8e4f
  --disable-xkbcommon              \\\
7e8e4f
  --disable-zstd                   \\\
7e8e4f
  --with-git-submodules=ignore     \\\
7e8e4f
  --without-default-devices
Daniel P. Berrange 7bf315
d5c2bb
# Export CFLAGS, LDFLAGS, CC, CXX, etc.
d5c2bb
%set_build_flags
419868
84eeb1
run_configure() {
d5c2bb
    ../configure  \
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}" \
d5c2bb
        --extra-ldflags="-Wl,--build-id $LDFLAGS" \
d5c2bb
        --extra-cflags="$CFLAGS" \
7e8e4f
        --with-pkgversion="%{name}-%{version}-%{release}" \
7e8e4f
        --with-suffix="%{name}" \
e0cb84
        --firmwarepath=%firmwaredirs \
7e8e4f
        --meson="%{__meson}" \
7e8e4f
        --enable-trace-backend=dtrace \
7e8e4f
        --with-coroutine=ucontext \
7e8e4f
        --with-git=git \
419868
        --tls-priority=@QEMU,SYSTEM \
7e8e4f
        %{disable_everything} \
419868
        "$@"
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
7e8e4f
  --enable-attr \
7e8e4f
%ifarch %{ix86} x86_64
7e8e4f
  --enable-avx2 \
7e8e4f
%endif
7e8e4f
  --enable-cap-ng \
7e8e4f
  --enable-capstone \
7e8e4f
  --enable-coroutine-pool \
7e8e4f
  --enable-curl \
7e8e4f
  --enable-debug-info \
7e8e4f
  --enable-docs \
7e8e4f
%if %{have_fdt}
7e8e4f
  --enable-fdt \
7e8e4f
%endif
7e8e4f
  --enable-gcrypt \
7e8e4f
  --enable-gnutls \
7e8e4f
  --enable-guest-agent \
7e8e4f
  --enable-iconv \
7e8e4f
  --enable-kvm \
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 \
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
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 \
7e8e4f
  --enable-slirp=system \
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-virtiofsd \
7e8e4f
  --enable-vhost-kernel \
7e8e4f
  --enable-vhost-net \
7e8e4f
  --enable-vhost-user \
7e8e4f
  --enable-vhost-user-blk-server \
7e8e4f
  --enable-vhost-vdpa \
7e8e4f
  --enable-vhost-vsock \
7e8e4f
  --enable-vnc \
7e8e4f
  --enable-vnc-png \
7e8e4f
  --enable-vnc-sasl \
7e8e4f
%if %{enable_werror}
7e8e4f
  --enable-werror \
7e8e4f
%endif
7e8e4f
  --enable-xkbcommon \
b013f9
  \
b013f9
  \
7e8e4f
  --audio-drv-list=pa,sdl,alsa,try-jack,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 \
7e8e4f
  --enable-glusterfs \
7e8e4f
  --enable-gtk \
7e8e4f
  --enable-libdaxctl \
7e8e4f
%if %{have_block_nfs}
7e8e4f
  --enable-libnfs \
7e8e4f
%endif
7e8e4f
  --enable-libudev \
7e8e4f
  --enable-libxml2 \
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-vnc-jpeg \
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
7e8e4f
  --enable-smartcard \
7e8e4f
%if %{have_spice}
7e8e4f
  --enable-spice \
7e8e4f
%endif
7e8e4f
  --enable-usb-redir \
7e8e4f
  --enable-vdi \
7e8e4f
  --enable-vhost-crypto \
7e8e4f
  --enable-vhost-scsi \
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
7e8e4f
  --enable-zstd \
160bf4
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 \
7a925b
  --disable-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
b26fb5
7a925b
# Create new directories and put them all under tests-src
7a925b
mkdir -p %{buildroot}%{testsdir}/python
7a925b
mkdir -p %{buildroot}%{testsdir}/tests
7a925b
mkdir -p %{buildroot}%{testsdir}/tests/acceptance
7a925b
mkdir -p %{buildroot}%{testsdir}/tests/qemu-iotests
7a925b
mkdir -p %{buildroot}%{testsdir}/scripts/qmp
419868
7a925b
# Install avocado_qemu tests
7a925b
cp -R %{qemu_kvm_build}/tests/acceptance/* %{buildroot}%{testsdir}/tests/acceptance/
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/
7a925b
# Avoid ambiguous 'python' interpreter name
7a925b
find %{buildroot}%{testsdir}/tests/qemu-iotests/* -maxdepth 1 -type f -exec sed -i -e '1 s+/usr/bin/env \(python\|python3\)+%{__python3}+' {} \;
7a925b
find %{buildroot}%{testsdir}/scripts/qmp/* -maxdepth 1 -type f -exec sed -i -e '1 s+/usr/bin/env \(python\|python3\)+%{__python3}+' {} \;
7a925b
find %{buildroot}%{testsdir}/scripts/qmp/* -maxdepth 1 -type f -exec sed -i -e '1 s+/usr/bin/\(python\|python3\)+%{__python3}+' {} \;
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
Paolo Bonzini 2803fc
# Provided by package sgabios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.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
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
7a925b
%if !%{tools_only}
7a925b
7a925b
pushd %{qemu_kvm_build}
7a925b
echo "Testing %{name}-build"
658fee
# 2021-06: s390x tests randomly failing with 'Broken pipe' errors
658fee
# dhorak couldn't reproduce locally on an s390x machine so guessed
658fee
# it's a resource issue
f4c171
# 2021-07: ppc64le intermittently hanging
f4c171
%ifnarch s390x %{power64}
Daniel P. Berrangé 581fcf
make check V=1
658fee
%endif
Daniel P. Berrange 1ad1f9
ef34be
popd
198e14
7a925b
# endif !tools_only
7a925b
%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}
Nathaniel McCallum f73c47
%post user-static
Justin M. Forbes 603dd6
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum f73c47
%postun user-static
Justin M. Forbes 603dd6
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
Nathaniel McCallum 22c290
%endif
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
7a925b
%files docs
7a925b
%doc %{qemudocdir}
7a925b
Mark McLoughlin f2160a
7fae7f
%files common -f %{name}.lang
7a925b
%license COPYING COPYING.LIB LICENSE
7a925b
%{_bindir}/qemu-edid
7a925b
%{_bindir}/qemu-keymap
7a925b
%{_bindir}/qemu-pr-helper
7a925b
%{_bindir}/qemu-trace-stap
Mark McLoughlin ccf76b
%dir %{_datadir}/%{name}/
7a925b
%{_datadir}/icons/*
7a925b
%{_datadir}/%{name}/dump-guest-memory.py*
Mark McLoughlin ccf76b
%{_datadir}/%{name}/keymaps/
7a925b
%{_datadir}/%{name}/linuxboot_dma.bin
7a925b
%{_datadir}/%{name}/simpletrace.py*
ef34be
%{_datadir}/%{name}/trace-events-all
7a925b
%{_datadir}/%{name}/tracetool/*.py*
7a925b
%{_datadir}/%{name}/tracetool/backend/*.py*
7a925b
%{_datadir}/%{name}/tracetool/format/*.py*
1d442b
%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
7a925b
%attr(4755, -, -) %{_libexecdir}/qemu-bridge-helper
7a925b
%{_libexecdir}/virtiofsd
7a925b
%{_mandir}/man1/%{name}.1*
Daniel P. Berrangé e83749
%{_mandir}/man1/qemu-trace-stap.1*
e1b832
%{_mandir}/man1/virtiofsd.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*
646ce0
%{_mandir}/man8/qemu-pr-helper.8*
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
Paolo Bonzini 0fb2b2
%{_unitdir}/qemu-pr-helper.service
Paolo Bonzini 0fb2b2
%{_unitdir}/qemu-pr-helper.socket
979ec1
c27704
7a925b
# Fedora specific
7a925b
%{_bindir}/elf2dmp
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}
Daniel P. Berrange 1ad1f9
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
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
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
28222c
%files device-display-virtio-gpu-pci
7a925b
%{_libdir}/%{name}/hw-display-virtio-gpu-pci.so
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
f4bee9
%files device-usb-redirect
7a925b
%{_libdir}/%{name}/hw-usb-redirect.so
f4bee9
%files device-usb-smartcard
7a925b
%{_libdir}/%{name}/hw-usb-smartcard.so
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
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
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
80404b
# Just use wildcard matches here: we will catch any new/missing files
80404b
# in the qemu-user filelists
Daniel P. Berrange 083532
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
80404b
%{_bindir}/qemu-*-static
Daniel P. Berrangé e83749
%{_datadir}/systemtap/tapset/qemu-*-static.stp
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
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
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
28222c
%{_datadir}/%{name}/opensbi-riscv*.elf
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
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
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
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.
Paolo Bonzini 74370c
1abc8e
* Fri Dec 11 2020 Richard W.M. Jones <rjones@redhat.com> - 2:5.2.0-4
a30637
- qemu-char-spice not qemu-chardev-spice.
a30637
18c8d5
* Thu Dec 10 2020 Mohan Boddu <mboddu@bhujji.com> - 5.2.0-2
18c8d5
- Fixing the ISA Dependencies
18c8d5
5a84be
* Wed Dec 09 2020 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-1
5a84be
- Rebase to qemu-5.2.0 GA
5a84be
- Fix spice and GL UI module deps (bz 1904603)
5a84be
d283ab
* Thu Dec 03 2020 Richard W.M. Jones <rjones@redhat.com> - 5.2.0-0.9.rc4
d283ab
- Enable qemu-kvm-core package on riscv64.
d283ab
646ce0
* Thu Dec 03 2020 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-0.8.rc4
646ce0
- Rebase to qemu-5.2.0-rc4
646ce0
108c22
* Tue Nov 24 2020 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-0.7.rc2
108c22
- Fix running 9p tests in copr
108c22
Paolo Bonzini f0d2af
* Thu Nov 19 2020 Paolo Bonzini <pbonzini@redhat.com> - 5.2.0-0.6.rc2
Paolo Bonzini f0d2af
- Remove --python=... to force use of system meson
Paolo Bonzini f0d2af
Daniel P. Berrangé e83749
* Thu Nov 19 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.2.0-0.5.rc2
Daniel P. Berrangé e83749
- Re-enable systemtap tracing
Daniel P. Berrangé e83749
5ff8af
* Wed Nov 18 2020 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-0.4.rc2
5ff8af
- Rebase to qemu-5.2.0-rc2
5ff8af
Daniel P. Berrangé 0b61e5
* Fri Nov 13 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.2.0-0.3.rc1
Daniel P. Berrangé 0b61e5
- Disable user mode static builds in ELN
Daniel P. Berrangé 0b61e5
5bc112
* Wed Nov 11 2020 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-0.2.rc1
5bc112
- Rebase to qemu-5.2.0-rc1
5bc112
28222c
* Sun Nov 08 2020 Cole Robinson <aintdiscole@gmail.com> - 5.2.0-0.1.rc0
28222c
- Rebase to qemu-5.2.0-rc0
28222c
Daniel P. Berrangé 357c68
* Thu Nov  5 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.1.0-7
Daniel P. Berrangé 357c68
- Disable LTO again. Tests were not passing, we were ignoring failures.
Daniel P. Berrangé 357c68
Daniel P. Berrangé 65b2a4
* Mon Oct 26 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.1.0-6
Daniel P. Berrangé 65b2a4
- Re-enable LTO since tests now pass without asserts
Daniel P. Berrangé 65b2a4
Daniel P. Berrangé 3c0f9e
* Fri Sep  4 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.1.0-5
Daniel P. Berrangé 3c0f9e
- Drop conditions for ppc, ppc64, mips64 and s390 arches
Daniel P. Berrangé 458e07
- Fix host qemu binary path for aarch64
Daniel P. Berrangé 4e321e
- Re-enable kernel BR for QEMU sanity check
Daniel P. Berrangé 13e7c3
- Fix conditionals for enabling QEMU sanity check
Daniel P. Berrangé af50bf
- Check whether emulator works before doing sanity check
Daniel P. Berrangé f2839f
- Provide explicit kernel path for QEMU sanity check
Daniel P. Berrangé d9af2b
- Make QEMU sanity check a build blocker
Daniel P. Berrangé 3c0f9e
Daniel P. Berrangé dc03f3
* Thu Sep  3 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.1.0-4
Daniel P. Berrangé dc03f3
- Add btrfs ioctls to linux-user (rhbz #1872918)
Daniel P. Berrangé dc03f3
Tom Stellard 3fa99d
* Tue Aug 18 2020 Tom Stellard <tstellar@redhat.com> - 5.1.0-3
Tom Stellard 3fa99d
- Add BuildRequires: gcc
Tom Stellard 3fa99d
- https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
Tom Stellard 3fa99d
9b60eb
* Mon Aug 17 2020 Cole Robinson <aintdiscole@gmail.com> - 5.1.0-2
9b60eb
- Disable dtrace generation to fix use of modules (bz 1869339)
9b60eb
25b030
* Tue Aug 11 2020 Cole Robinson <crobinso@redhat.com> - 5.1.0-1
25b030
- Update to version 5.1.0
25b030
a90ffc
* Fri Aug 07 2020 Cole Robinson <crobinso@redhat.com> - 5.1.0-0.3.rc3
a90ffc
- Update to version 5.1.0-rc3
a90ffc
e84a93
* Thu Aug 06 2020 Merlin Mathesius <mmathesi@redhat.com> - 5.1.0-0.2.rc2
e84a93
- Use new %%{kernel_arches} macro to determine when a full kernel is available
e84a93
d20fa7
* Wed Aug 05 2020 Cole Robinson <aintdiscole@gmail.com> - 5.1.0-0.2.rc2
d20fa7
- Pull in new modules by default, like we do for others
d20fa7
f4bee9
* Tue Aug 04 2020 Cole Robinson <aintdiscole@gmail.com> - 5.1.0-0.1.rc2
f4bee9
- Update to qemu 5.1.0 rc2
f4bee9
Daniel P. Berrangé 7ffd7f
* Fri Jul 31 2020 Daniel P. Berrangé <berrange@redhat.com> - 5.0.0-6
Daniel P. Berrangé 7ffd7f
- Remove obsolete Fedora conditionals (PR#9)
Daniel P. Berrangé 7ffd7f
bdc5a0
* Thu Jul 30 2020 Richard W.M. Jones <rjones@redhat.com> - 5.0.0-5
bdc5a0
- Disable LTO as it caused many strange assert failures.
bdc5a0
4269c7
* Wed Jul 29 2020 Richard W.M. Jones <rjones@redhat.com> - 5.0.0-4
4269c7
- Backport Dan's upstream patch to fix insecure cert in test suite.
4269c7
Kevin Fenzi 013314
* Mon Jul 27 2020 Kevin Fenzi <kevin@scrye.com> - 5.0.0-3
Kevin Fenzi 013314
- Rebuild for new xen
Kevin Fenzi 013314
3da886
* Wed May 13 2020 Cole Robinson <crobinso@redhat.com> - 5.0.0-2
3da886
- Fix iouring hang (bz #1823751)
3da886
9f833e
* Wed May 06 2020 Cole Robinson <crobinso@redhat.com> - 5.0.0-1
9f833e
- Update to version 5.0.0
9f833e
fa1d6e
* Thu Apr 16 2020 Cole Robinson <aintdiscole@gmail.com> - 5.0.0-0.3.rc3
fa1d6e
- Update to qemu 5.0.0 rc3
fa1d6e
9f8e48
* Thu Apr 09 2020 Cole Robinson <aintdiscole@gmail.com> - 5.0.0-0.3.rc2
9f8e48
- Update to qemu 5.0.0 rc2
9f8e48
Adam Williamson e2b4e8
* Wed Apr 08 2020 Adam Williamson <awilliam@redhat.com> - 2:5.0.0-0.2.rc0
Adam Williamson e2b4e8
- Rebuild for new brltty
Adam Williamson e2b4e8
Adam Williamson e2b4e8
* Wed Mar 25 2020 Cole Robinson <crobinso@redhat.com> - 2:5.0.0-0.1.rc0
Adam Williamson e2b4e8
- Update to qemu-5.0.0-rc0
Adam Williamson e2b4e8
Fabiano Fidêncio 492d6c
* Tue Mar 17 2020 Fabiano Fidêncio <fidencio@redhat.com> - 2:4.2.0-7
Fabiano Fidêncio 492d6c
- Fix segfault with SR-IOV hot-{plug,unplug} (bz #1814017)
Fabiano Fidêncio 492d6c
377bb2
* Tue Feb 25 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-6
377bb2
- Rebuild for libiscsi soname bump
377bb2
023288
* Sat Feb 15 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-5
023288
- Fix ppc shutdown issue (bz #1784961)
023288
1d442b
* Tue Jan 28 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-4
1d442b
- virtio-fs support
1d442b
1d442b
* Sat Jan 25 2020 Richard W.M. Jones <rjones@redhat.com> - 4.2.0-3
b98348
- Add miscellaneous fixes for RISC-V (RHBZ#1794902).