render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone
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}
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
d43799
Daniel P. Berrange 083532
%global user_static 1
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
3930e8
%ifarch s390 %{arm}
3930e8
%global have_numactl 0
3930e8
%endif
3930e8
3930e8
# Upstream disables iasl for big endian and QEMU checks
3930e8
# for this. Fedora has re-enabled it on BE circumventing
3930e8
# the QEMU checks, but it fails none the less:
3930e8
#
3930e8
# https://bugzilla.redhat.com/show_bug.cgi?id=1332449
3930e8
%global have_iasl 1
3930e8
%ifnarch s390 s390x ppc ppc64
3930e8
%global have_iasl 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
3930e8
%ifarch %{ix86} x86_64 armv7hl aarch64
b26fb5
%global have_xen 1
b26fb5
%endif
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
820948
# If we can run qemu-sanity-check, hostqemu gets defined.
820948
%ifarch %{arm}
820948
%global hostqemu arm-softmmu/qemu-system-arm
820948
%endif
820948
%ifarch aarch64
820948
%global hostqemu arm-softmmu/qemu-system-aarch64
820948
%endif
820948
%ifarch %{ix86}
820948
%global hostqemu i386-softmmu/qemu-system-i386
820948
%endif
820948
%ifarch x86_64
820948
%global hostqemu x86_64-softmmu/qemu-system-x86_64
820948
%endif
820948
3c6a0c
# All modules should be listed here.
Daniel P. Berrangé a4b3db
%ifarch %{ix86} %{arm}
Daniel P. Berrangé a4b3db
%define with_block_rbd 0
Daniel P. Berrangé a4b3db
%else
Daniel P. Berrangé a4b3db
%define with_block_rbd 1
Daniel P. Berrangé a4b3db
%endif
d3ff78
%global with_block_gluster 1
Daniel P. Berrangé e1923c
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}
Daniel P. Berrangé e1923c
%if %{with_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}
Daniel P. Berrangé f1fa58
%define requires_block_nfs Requires: %{name}-block-nfs = %{evr}
Daniel P. Berrangé a4b3db
%if %{with_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}
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}
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} \
Daniel P. Berrangé f1fa58
%{requires_ui_curses} \
Daniel P. Berrangé f1fa58
%{requires_ui_gtk} \
Daniel P. Berrangé f1fa58
%{requires_ui_sdl}
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} \
Daniel P. Berrangé a60ad6
%{obsoletes_block_rbd}
Daniel P. Berrangé a60ad6
409720
# Release candidate version tracking
e14a8c
%global rcver rc3
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
d3ff78
Version: 4.0.0
e14a8c
Release: 0.7%{?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
Justin M. Forbes 0c846b
c75224
# guest agent service
Daniel P. Berrange 1ad1f9
Source10: qemu-guest-agent.service
Paolo Bonzini bfe7b8
Source17: qemu-ga.sysconfig
c75224
# guest agent udev rules
Daniel P. Berrange 1ad1f9
Source11: 99-qemu-guest-agent.rules
c75224
# /etc/qemu/bridge.conf
Paolo Bonzini 773d5b
Source12: bridge.conf
c75224
# qemu-kvm back compat wrapper installed as /usr/bin/qemu-kvm
96a5f8
Source13: qemu-kvm.sh
Paolo Bonzini 0fb2b2
# PR manager service
Paolo Bonzini 0fb2b2
Source14: qemu-pr-helper.service
Paolo Bonzini 0fb2b2
Source15: qemu-pr-helper.socket
5bdb06
# /etc/modprobe.d/kvm.conf, for x86
5bdb06
Source20: kvm-x86.modprobe.conf
d19693
# /etc/security/limits.d/95-kvm-ppc64-memlock.conf
d4c450
Source21: 95-kvm-ppc64-memlock.conf
Daniel P. Berrangé b91dae
e14a8c
# Don't block migration with nested VMX (bz #1697997)
e14a8c
# Not upstream: temporary workaround until kernel supports lands for nested
e14a8c
# VMX migration
e14a8c
Patch0001: 0001-Revert-target-i386-kvm-add-VMX-migration-blocker.patch
Daniel P. Berrangé e24cbb
Daniel P. Berrangé b91dae
837eb7
# documentation deps
837eb7
BuildRequires: texinfo
837eb7
# For /usr/bin/pod2man
837eb7
BuildRequires: perl-podlators
837eb7
# For sanity test
837eb7
BuildRequires: qemu-sanity-check-nodeps
837eb7
BuildRequires: kernel
3930e8
%if %{have_iasl}
837eb7
# For acpi compilation
837eb7
BuildRequires: iasl
Daniel P. Berrange ac5e33
%endif
837eb7
# For chrpath calls in specfile
837eb7
BuildRequires: chrpath
837eb7
837eb7
# -display sdl support
b44086
BuildRequires: SDL2-devel
837eb7
# used in various places for compression
b6dd5a
BuildRequires: zlib-devel
837eb7
# used in various places for crypto
b6dd5a
BuildRequires: gnutls-devel
837eb7
# VNC sasl auth support
b6dd5a
BuildRequires: cyrus-sasl-devel
837eb7
# aio implementation for block drivers
Justin M. Forbes 3a5505
BuildRequires: libaio-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
Paolo Bonzini 0fb2b2
# qemu-pr-helper multipath support (requires libudev too)
Paolo Bonzini 0fb2b2
BuildRequires: device-mapper-multipath-devel
Paolo Bonzini 0fb2b2
BuildRequires: systemd-devel
837eb7
# iscsi drive support
Paolo Bonzini 625ba4
BuildRequires: libiscsi-devel
837eb7
# NFS drive support
409720
BuildRequires: libnfs-devel
837eb7
# snappy compression for memory dump
409720
BuildRequires: snappy-devel
837eb7
# lzo compression for memory dump
409720
BuildRequires: lzo-devel
837eb7
# needed for -display curses
Mark McLoughlin 62fb37
BuildRequires: ncurses-devel
837eb7
# used by 9pfs
2af28c
BuildRequires: libattr-devel
837eb7
BuildRequires: libcap-devel
Paolo Bonzini 0fb2b2
# used by qemu-bridge-helper and qemu-pr-helper
837eb7
BuildRequires: libcap-ng-devel
837eb7
# spice usb redirection support
Hans de Goede 5ba1a7
BuildRequires: usbredir-devel >= 0.5.2
7da5fc
%if %{have_spice}
837eb7
# spice graphics support
Hans de Goede ca70dc
BuildRequires: spice-protocol >= 0.12.2
Hans de Goede ca70dc
BuildRequires: spice-server-devel >= 0.12.0
Paolo Bonzini 2803fc
%endif
837eb7
# seccomp containment support
Peter Robinson 73731f
BuildRequires: libseccomp-devel >= 2.3.0
Daniel P. Berrange a93050
# For network block driver
Daniel P. Berrange 4a7239
BuildRequires: libcurl-devel
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
Daniel P. Berrange 25a35c
# For rbd block driver
Daniel P. Berrange a94974
BuildRequires: librados2-devel
Daniel P. Berrange a94974
BuildRequires: librbd1-devel
Daniel P. Berrangé a4b3db
%endif
Daniel P. Berrange 7b1d66
# We need both because the 'stap' binary is probed for by configure
Daniel P. Berrange 7b1d66
BuildRequires: systemtap
Daniel P. Berrange 7b1d66
BuildRequires: systemtap-sdt-devel
Daniel P. Berrange eaebe4
# For VNC JPEG support
Daniel P. Berrange eaebe4
BuildRequires: libjpeg-devel
Daniel P. Berrange eaebe4
# For VNC PNG support
Daniel P. Berrange eaebe4
BuildRequires: libpng-devel
Daniel P. Berrange eaebe4
# For BlueZ device support
Daniel P. Berrange eaebe4
BuildRequires: bluez-libs-devel
Daniel P. Berrange eaebe4
# For Braille device support
Daniel P. Berrange eaebe4
BuildRequires: brlapi-devel
Daniel P. Berrange eaebe4
# For FDT device tree support
Daniel P. Berrange eaebe4
BuildRequires: libfdt-devel
7e50c4
# Hard requirement for version >= 1.3
7e50c4
BuildRequires: pixman-devel
Daniel P. Berrangé e1923c
%if %{with_block_gluster}
af1488
# For gluster support
Daniel P. Berrangé e1923c
BuildRequires: glusterfs-devel >= 3.4.0
Daniel P. Berrangé e1923c
BuildRequires: glusterfs-api-devel >= 3.4.0
Daniel P. Berrangé e1923c
%endif
7fae7f
# Needed for usb passthrough for qemu >= 1.5
7fae7f
BuildRequires: libusbx-devel
7fae7f
# SSH block driver
7fae7f
BuildRequires: libssh2-devel
7fae7f
# GTK frontend
7fae7f
BuildRequires: gtk3-devel
6f5575
BuildRequires: vte291-devel
b9a8d0
# GTK translations
b9a8d0
BuildRequires: gettext
76dcac
# RDMA migration
3930e8
BuildRequires: rdma-core-devel
7da5fc
%if %{have_xen}
837eb7
# Xen support
3400e7
BuildRequires: xen-devel
3400e7
%endif
3930e8
%if %{have_numactl}
837eb7
# qemu 2.1: needed for memdev hostmem backend
Daniel P. Berrange 145f8d
BuildRequires: numactl-devel
ad339a
%endif
837eb7
# qemu 2.3: reading bzip2 compressed dmg images
8055ee
BuildRequires: bzip2-devel
837eb7
# qemu 2.4: needed for opengl bits
1ae1f0
BuildRequires: libepoxy-devel
837eb7
# qemu 2.5: needed for TLS test suite
88b379
BuildRequires: libtasn1-devel
837eb7
# qemu 2.5: libcacard is it's own project now
88b379
BuildRequires: libcacard-devel >= 2.5.0
837eb7
# qemu 2.5: virgl 3d support
88b379
BuildRequires: virglrenderer-devel
837eb7
# qemu 2.6: Needed for gtk GL support
fa6cd1
BuildRequires: mesa-libgbm-devel
700f12
# qemu 2.11: preferred disassembler for TCG
700f12
BuildRequires: capstone-devel
3c6a0c
# qemu 2.12: parallels disk images require libxml2 now
3c6a0c
BuildRequires: libxml2-devel
0af132
%ifarch x86_64
007776
# qemu 3.1: Used for nvdimm
007776
BuildRequires: libpmem-devel
0af132
%endif
007776
# qemu 3.1: Used for qemu-ga
007776
BuildRequires: libudev-devel
d3ff78
# qemu 4.0: Use for qauth infrastructure
d3ff78
BuildRequires: pam-devel
d3ff78
# qemu 4.0: sphinx-build used for some docs
d3ff78
%if 0%{?fedora} > 30
d3ff78
BuildRequires: python3-sphinx
d3ff78
%else
d3ff78
BuildRequires: python2-sphinx
d3ff78
%endif
d3ff78
# qemu 4.0: Used by test suite ./scripts/tap-driver.pl
d3ff78
BuildRequires: perl-Test-Harness
f35188
# Required for making python shebangs versioned
f35188
BuildRequires: /usr/bin/pathfix.py
f35188
BuildRequires: python3-devel
8055ee
Daniel P. Berrange 083532
BuildRequires: glibc-static pcre-static glib2-static zlib-static
Daniel P. Berrange 083532
820948
%if 0%{?hostqemu:1}
820948
# For complicated reasons, this is required so that
820948
# /bin/kernel-install puts the kernel directly into /boot, instead of
820948
# into a /boot/<machine-id> subdirectory (in Fedora >= 23).  This is
820948
# so we can run qemu-sanity-check.  Read the kernel-install script to
820948
# understand why.
820948
BuildRequires: grubby
820948
%endif
7e50c4
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}
c27704
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-lm32 = %{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-moxie = %{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}
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-unicore32 = %{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
David Woodhouse 5c3734
%description
Matthias Saou 67348d
QEMU is a generic and open source processor emulator which achieves a good
Matthias Saou 67348d
emulation speed by using dynamic translation. QEMU has two operating modes:
David Woodhouse 5c3734
Matthias Saou 67348d
 * Full system emulation. In this mode, QEMU emulates a full system (for
Matthias Saou 67348d
   example a PC), including a processor and various peripherials. It can be
Matthias Saou 67348d
   used to launch different Operating Systems without rebooting the PC or
Matthias Saou 67348d
   to debug system code.
David Woodhouse 5c3734
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
Matthias Saou 67348d
   for one CPU on another CPU.
David Woodhouse 5c3734
Matthias Saou 67348d
As QEMU requires no host kernel patches to run, it is safe and easy to use.
David Woodhouse 5c3734
c27704
Glauber Costa 9235f9
%package  common
Glauber Costa 9235f9
Summary: QEMU common files needed by all QEMU targets
514d6b
Requires: ipxe-roms-qemu
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}
Glauber Costa 9235f9
%description common
Glauber Costa 9235f9
This package provides the common files needed by all QEMU targets
Glauber Costa 485711
c27704
Daniel P. Berrange 1ad1f9
%package 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
Daniel P. Berrange 1ad1f9
%description guest-agent
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
48e07c
%package  img
48e07c
Summary: QEMU command line tool for manipulating disk images
48e07c
%description img
48e07c
This package provides a command line tool for manipulating disk images
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
3758f8
%package -n ivshmem-tools
3758f8
Summary: Client and server for QEMU ivshmem device
3758f8
%description -n ivshmem-tools
3758f8
This package provides client and server tools for QEMU's ivshmem device.
3758f8
3758f8
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
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
Daniel P. Berrangé e1923c
%if %{with_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
ecbe00
%package  block-iscsi
ecbe00
Summary: QEMU iSCSI block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-iscsi
ecbe00
This package provides the additional iSCSI block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access iSCSI volumes.
ecbe00
ecbe00
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.
151958
3c6a0c
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
ecbe00
%package  block-rbd
ecbe00
Summary: QEMU Ceph/RBD block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-rbd
ecbe00
This package provides the additional Ceph/RBD block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote Ceph volumes
ecbe00
using the rbd protocol.
Daniel P. Berrangé a4b3db
%endif
ecbe00
ecbe00
%package  block-ssh
ecbe00
Summary: QEMU SSH block driver
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
%description block-ssh
ecbe00
This package provides the additional SSH block driver for QEMU.
ecbe00
ecbe00
Install this package if you want to access remote disks using
ecbe00
the Secure Shell (SSH) protocol.
ecbe00
ecbe00
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
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}
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}
3c6a0c
%description ui-sdl
3c6a0c
This package provides the additional SDL UI for QEMU.
3c6a0c
3c6a0c
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}
Daniel P. Berrange 083532
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
Daniel P. Berrange 9e7157
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
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
Daniel P. Berrange 083532
Conflicts: %{name}-user-static
Daniel P. Berrange 083532
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
Daniel P. Berrange 9e7157
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
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
Daniel P. Berrange 083532
Conflicts: %{name}-user-binfmt
Daniel P. Berrange 083532
Provides: %{name}-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
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-lm32
Paolo Bonzini 40e61a
Summary: QEMU system emulator for LatticeMico32
ecbe00
Requires: %{name}-system-lm32-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
c27704
%description system-lm32
3758f8
This package provides the QEMU system emulator for LatticeMico32 boards.
ecbe00
ecbe00
%package system-lm32-core
3758f8
Summary: QEMU system emulator for LatticsMico32
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-lm32-core
3758f8
This package provides the QEMU system emulator for LatticeMico32 boards.
Glauber Costa 9235f9
c27704
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-moxie
3758f8
Summary: QEMU system emulator for Moxie
3758f8
Requires: %{name}-system-moxie-core = %{epoch}:%{version}-%{release}
3758f8
%{requires_all_modules}
3758f8
%description system-moxie
3758f8
This package provides the QEMU system emulator for Moxie boards.
3758f8
3758f8
%package system-moxie-core
3758f8
Summary: QEMU system emulator for Moxie
3758f8
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-moxie-core
3758f8
This package provides the QEMU system emulator for Moxie boards.
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}
0db325
Obsoletes: %{name}-system-or32 < 2:2.9.0
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}
0db325
Obsoletes: %{name}-system-or32-core < 2:2.9.0
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
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-unicore32
3758f8
Summary: QEMU system emulator for Unicore32
3758f8
Requires: %{name}-system-unicore32-core = %{epoch}:%{version}-%{release}
3c6a0c
%{requires_all_modules}
3758f8
%description system-unicore32
3758f8
This package provides the QEMU system emulator for Unicore32 boards.
1c7073
3758f8
%package system-unicore32-core
3758f8
Summary: QEMU system emulator for Unicore32
1c7073
Requires: %{name}-common = %{epoch}:%{version}-%{release}
3758f8
%description system-unicore32-core
3758f8
This package provides the QEMU system emulator for Unicore32 boards.
1c7073
1c7073
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
David Woodhouse 5c3734
%prep
409720
%setup -q -n qemu-%{version}%{?rcstr}
Paolo Bonzini af53ec
%autopatch -p1
355b03
f35188
# https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error
f35188
# Fix all Python shebangs recursively in .
f35188
# -p preserves timestamps
f35188
# -n prevents creating ~backup files
f35188
# -i specifies the interpreter for the shebang
f35188
# Need to list files that do not match ^[a-zA-Z0-9_]+\.py$ explicitly!
e3d6ad
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap
f35188
Alon Levy c8a79a
David Woodhouse 5c3734
%build
c27704
c27704
# drop -g flag to prevent memory exhaustion by linker
c27704
%ifarch s390
c27704
%global optflags %(echo %{optflags} | sed 's/-g//')
c27704
sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
c27704
%endif
c27704
c27704
# OOM killer breaks builds with parallel make on s390(x)
c27704
%ifarch s390 s390x
e8a6e4
%global _smp_mflags %{nil}
c27704
%endif
c27704
c27704
c27704
# --build-id option is used for giving info to the debug packages.
c27704
extraldflags="-Wl,--build-id";
c27704
buildldflags="VL_LDFLAGS=-Wl,--build-id"
c27704
c27704
# As of qemu 2.1, --enable-trace-backends supports multiple backends,
c27704
# but there's a performance impact for non-dtrace so we don't use them
c27704
tracebackends="dtrace"
c27704
7da5fc
%if %{have_spice}
e8a6e4
    %global spiceflag --enable-spice
Daniel P. Berrange d4803f
%else
e8a6e4
    %global spiceflag --disable-spice
Daniel P. Berrange d4803f
%endif
Daniel P. Berrange 7bf315
84eeb1
run_configure() {
84eeb1
    ../configure \
84eeb1
        --prefix=%{_prefix} \
84eeb1
        --libdir=%{_libdir} \
84eeb1
        --sysconfdir=%{_sysconfdir} \
84eeb1
        --localstatedir=%{_localstatedir} \
84eeb1
        --libexecdir=%{_libexecdir} \
d4c450
        --interp-prefix=%{_prefix}/qemu-%%M \
84eeb1
        --with-pkgversion=%{name}-%{version}-%{release} \
84eeb1
        --disable-strip \
84eeb1
        --disable-werror \
84eeb1
        --enable-kvm \
f35188
        --python=%{__python3} \
84eeb1
%ifarch s390 %{mips64}
84eeb1
        --enable-tcg-interpreter \
84eeb1
%endif
84eeb1
        --enable-trace-backend=$tracebackends \
Daniel P. Berrangé 55054b
        --extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
Daniel P. Berrangé 55054b
        --extra-cflags="%{optflags}" \
84eeb1
        "$@" || cat config.log
84eeb1
}
84eeb1
Daniel P. Berrange 083532
mkdir build-dynamic
Daniel P. Berrange 083532
pushd build-dynamic
Daniel P. Berrange 083532
84eeb1
run_configure \
80404b
    --enable-system \
80404b
    --enable-linux-user \
84eeb1
    --enable-pie \
ecbe00
    --enable-modules \
84eeb1
    --audio-drv-list=pa,sdl,alsa,oss \
84eeb1
    --tls-priority=@QEMU,SYSTEM \
Paolo Bonzini b0a774
    --enable-mpath \
d3ff78
    %{spiceflag}
Glauber Costa 8571d0
ac843b
echo "config-host.mak contents:"
ac843b
echo "==="
ac843b
cat config-host.mak
ac843b
echo "==="
71430d
ac843b
make V=1 %{?_smp_mflags} $buildldflags
71430d
Daniel P. Berrange 083532
popd
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
mkdir build-static
Daniel P. Berrange 083532
pushd build-static
Daniel P. Berrange 083532
84eeb1
run_configure \
80404b
    --disable-system \
80404b
    --enable-linux-user \
Daniel P. Berrange 083532
    --static \
84eeb1
    --disable-pie \
Daniel P. Berrange 083532
    --disable-sdl \
Daniel P. Berrange 083532
    --disable-gtk \
Daniel P. Berrange 083532
    --disable-spice \
Daniel P. Berrange 083532
    --disable-tools \
Daniel P. Berrange 083532
    --disable-guest-agent \
Daniel P. Berrange 083532
    --disable-guest-agent-msi \
Daniel P. Berrange 083532
    --disable-curses \
Daniel P. Berrange 083532
    --disable-curl \
Daniel P. Berrange 083532
    --disable-gnutls \
Daniel P. Berrange 083532
    --disable-gcrypt \
Daniel P. Berrange 083532
    --disable-nettle \
Daniel P. Berrange 083532
    --disable-cap-ng \
Daniel P. Berrange 083532
    --disable-brlapi \
Paolo Bonzini b0a774
    --disable-mpath \
700f12
    --disable-libnfs \
007776
    --disable-capstone \
007776
    --disable-xen \
007776
    --disable-rdma
Daniel P. Berrange 083532
Daniel P. Berrange 083532
make V=1 %{?_smp_mflags} $buildldflags
Daniel P. Berrange 083532
Daniel P. Berrange 083532
popd
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
Justin M. Forbes 603dd6
David Woodhouse 5c3734
%install
David Woodhouse 5c3734
e8a6e4
%global _udevdir /lib/udev/rules.d
e8a6e4
%global qemudocdir %{_docdir}/%{name}
c27704
c27704
mkdir -p %{buildroot}%{_udevdir}
c27704
mkdir -p %{buildroot}%{_unitdir}
de4550
mkdir -p %{buildroot}%{_sysconfdir}/qemu
Daniel P. Berrange fbe43c
c27704
# Install qemu-guest-agent service and udev rules
91efac
install -p -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}
91efac
install -D -p -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
c27704
install -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevdir}
c27704
Paolo Bonzini bfe7b8
mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
Paolo Bonzini bfe7b8
install -p -m 0755 scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga
Paolo Bonzini bfe7b8
install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d/
Paolo Bonzini e978b4
mkdir -p %{buildroot}%{_localstatedir}/log
Paolo Bonzini e978b4
touch %{buildroot}%{_localstatedir}/log/qga-fsfreeze-hook.log
Paolo Bonzini bfe7b8
Paolo Bonzini 0fb2b2
# Install qemu-pr-helper service
Paolo Bonzini 0fb2b2
install -m 0644 %{_sourcedir}/qemu-pr-helper.service %{buildroot}%{_unitdir}
Paolo Bonzini 0fb2b2
install -m 0644 %{_sourcedir}/qemu-pr-helper.socket %{buildroot}%{_unitdir}
Paolo Bonzini 0fb2b2
d19693
%ifarch %{power64}
d19693
install -d %{buildroot}%{_sysconfdir}/security/limits.d
8a5886
install -m 0644 %{_sourcedir}/95-kvm-ppc64-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d
d19693
%endif
d19693
c75224
c27704
# Install kvm specific bits
d43799
%if %{have_kvm}
c27704
mkdir -p %{buildroot}%{_bindir}/
Glauber Costa 9235f9
%endif
Glauber Costa 9235f9
Daniel P. Berrange 083532
%if %{user_static}
Daniel P. Berrange 083532
pushd build-static
Daniel P. Berrange 083532
make DESTDIR=%{buildroot} install
Daniel P. Berrange 083532
Daniel P. Berrange 083532
# Give all QEMU user emulators a -static suffix
Daniel P. Berrange 083532
for src in %{buildroot}%{_bindir}/qemu-*
Daniel P. Berrange 083532
do
Daniel P. Berrange 083532
  mv $src $src-static
Daniel P. Berrange 083532
done
Daniel P. Berrange 083532
Daniel P. Berrange 083532
# Update trace files to match
Daniel P. Berrange 083532
Daniel P. Berrange 083532
for src in %{buildroot}%{_datadir}/systemtap/tapset/qemu-*.stp
Daniel P. Berrange 083532
do
Daniel P. Berrange 083532
  dst=`echo $src | sed -e 's/.stp/-static.stp/'`
Daniel P. Berrange 083532
  mv $src $dst
Daniel P. Berrange 083532
  perl -i -p -e 's/(qemu-\w+)/$1-static/g; s/(qemu\.user\.\w+)/$1.static/g' $dst
Daniel P. Berrange 083532
done
Daniel P. Berrange 083532
c27704
Daniel P. Berrange 083532
popd
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
Daniel P. Berrange 083532
pushd build-dynamic
c27704
make DESTDIR=%{buildroot} install
Daniel P. Berrange 083532
popd
Paolo Bonzini 2803fc
7fae7f
%find_lang %{name}
7fae7f
c27704
chmod -x %{buildroot}%{_mandir}/man1/*
c27704
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE
c27704
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
c27704
    ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
979ec1
done
b26fb5
Dan Horák f81e73
%if 0%{?need_qemu_kvm}
b26fb5
install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm
c27704
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz
5bdb06
install -D -p -m 0644 %{_sourcedir}/kvm-x86.modprobe.conf %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
Dan Horák f81e73
%endif
David Woodhouse 5c3734
c27704
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf
Daniel P. Berrange 42af21
700f12
# XXX With qemu 2.11 we can probably drop this symlinking with use of
700f12
# configure --firmwarepath, see qemu git 3d5eecab4
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
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/bios.bin
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/bios-256k.bin
Paolo Bonzini 2803fc
# Provided by package sgabios
c27704
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
Glauber Costa f0365c
Glauber Costa f0365c
pxe_link() {
Daniel P. Berrange e907ae
  ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
7fae7f
  ln -s ../ipxe.efi/$2.rom %{buildroot}%{_datadir}/%{name}/efi-$1.rom
Glauber Costa f0365c
}
Glauber Costa f0365c
Justin M. Forbes 990c3a
pxe_link e1000 8086100e
Daniel P. Berrange e907ae
pxe_link ne2k_pci 10ec8029
Daniel P. Berrange e907ae
pxe_link pcnet 10222000
Daniel P. Berrange e907ae
pxe_link rtl8139 10ec8139
Daniel P. Berrange e907ae
pxe_link virtio 1af41000
ef34be
pxe_link eepro100 80861209
ef34be
pxe_link e1000e 808610d3
ef34be
pxe_link vmxnet3 15ad07b0
71430d
71430d
rom_link() {
71430d
    ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
71430d
}
71430d
d1a627
rom_link ../seavgabios/vgabios-isavga.bin vgabios.bin
d1a627
rom_link ../seavgabios/vgabios-cirrus.bin vgabios-cirrus.bin
d1a627
rom_link ../seavgabios/vgabios-qxl.bin vgabios-qxl.bin
d1a627
rom_link ../seavgabios/vgabios-stdvga.bin vgabios-stdvga.bin
d1a627
rom_link ../seavgabios/vgabios-vmware.bin vgabios-vmware.bin
de4550
rom_link ../seavgabios/vgabios-virtio.bin vgabios-virtio.bin
71430d
rom_link ../seabios/bios.bin bios.bin
ac843b
rom_link ../seabios/bios-256k.bin bios-256k.bin
71430d
rom_link ../sgabios/sgabios.bin sgabios.bin
Daniel P. Berrange 1ad1f9
c27704
# Install binfmt
a28cfa
%global binfmt_dir %{buildroot}%{_exec_prefix}/lib/binfmt.d
a28cfa
mkdir -p %{binfmt_dir}
Daniel P. Berrange 083532
a28cfa
./scripts/qemu-binfmt-conf.sh --systemd ALL --exportdir %{binfmt_dir} --qemu-path %{_bindir}
a28cfa
for i in %{binfmt_dir}/*; do
a28cfa
    mv $i $(echo $i | sed 's/.conf/-dynamic.conf/')
a28cfa
done
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
a28cfa
for regularfmt in %{binfmt_dir}/*; do
a28cfa
  staticfmt="$(echo $regularfmt | sed 's/-dynamic/-static/g')"
a28cfa
  cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
a28cfa
done
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
Daniel P. Berrange 1ad1f9
Paolo Bonzini 773d5b
# Install rules to use the bridge helper with libvirt's virbr0
c27704
install -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/qemu
c27704
cf5f9d
# When building using 'rpmbuild' or 'fedpkg local', RPATHs can be left in
dd16ba
# the binaries and libraries (although this doesn't occur when
cf5f9d
# building in Koji, for some unknown reason). Some discussion here:
cf5f9d
#
cf5f9d
# https://lists.fedoraproject.org/pipermail/devel/2013-November/192553.html
cf5f9d
#
cf5f9d
# In any case it should always be safe to remove RPATHs from
cf5f9d
# the final binaries:
c27704
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
c27704
         %{buildroot}%{_libexecdir}/*; do
Daniel P. Berrange 083532
  if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
dd16ba
done
dd16ba
626906
# We need to make the modules executable else
ecbe00
# RPM won't pick up their dependencies.
626906
chmod +x %{buildroot}%{_libdir}/qemu/*.so
ecbe00
c27704
6986e1
%check
c61e67
89aacd
# Tests are hanging on s390 as of 2.3.0
89aacd
#   https://bugzilla.redhat.com/show_bug.cgi?id=1206057
198e14
# Tests seem to be a recurring problem on s390, so I'd suggest just leaving
198e14
# it disabled.
Daniel P. Berrange aa972b
%global archs_skip_tests s390
c61e67
%global archs_ignore_test_failures 0
c61e67
4266c9
# Enable this temporarily if tests are broken
4266c9
%global temp_skip_check 0
d3ff78
ef34be
pushd build-dynamic
c61e67
%ifnarch %{archs_skip_tests}
198e14
198e14
# Check the binary runs (see eg RHBZ#998722).
198e14
b="./x86_64-softmmu/qemu-system-x86_64"
198e14
if [ -x "$b" ]; then "$b" -help; fi
198e14
c61e67
%ifarch %{archs_ignore_test_failures}
c61e67
make check V=1 || :
d3ff78
%else if %{temp_skip_check}
d3ff78
make check V=1 || :
Daniel P. Berrange 869973
%else
Daniel P. Berrange 869973
make check V=1
c61e67
%endif
Daniel P. Berrange 1ad1f9
820948
%if 0%{?hostqemu:1}
548919
# Sanity-check current kernel can boot on this qemu.
548919
# The results are advisory only.
820948
qemu-sanity-check --qemu=%{?hostqemu} ||:
548919
%endif
c27704
198e14
%endif  # archs_skip_tests
ef34be
popd
198e14
548919
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 || \
Mark McLoughlin cd8d5c
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
Mark McLoughlin cd8d5c
    -c "qemu user" qemu
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
David Woodhouse 5c3734
48e07c
%post guest-agent
48e07c
%systemd_post qemu-guest-agent.service
48e07c
%preun guest-agent
48e07c
%systemd_preun qemu-guest-agent.service
48e07c
%postun guest-agent
48e07c
%systemd_postun_with_restart qemu-guest-agent.service
48e07c
48e07c
48e07c
Mark McLoughlin eec5cd
%files
48e07c
# Deliberately empty
Glauber Costa 485711
Mark McLoughlin f2160a
7fae7f
%files common -f %{name}.lang
Justin M. Forbes 73d3c2
%dir %{qemudocdir}
Glauber Costa 485711
%doc %{qemudocdir}/Changelog
Mark McLoughlin eec5cd
%doc %{qemudocdir}/COPYING
Mark McLoughlin eec5cd
%doc %{qemudocdir}/COPYING.LIB
Glauber Costa 485711
%doc %{qemudocdir}/LICENSE
1c7073
%doc %{qemudocdir}/qemu-doc.html
1c7073
%doc %{qemudocdir}/qemu-doc.txt
1c7073
%doc %{qemudocdir}/qemu-ga-ref.html
1c7073
%doc %{qemudocdir}/qemu-ga-ref.txt
1c7073
%doc %{qemudocdir}/qemu-qmp-ref.html
1c7073
%doc %{qemudocdir}/qemu-qmp-ref.txt
1c7073
%doc %{qemudocdir}/README
d3ff78
%doc %{qemudocdir}/interop
Mark McLoughlin ccf76b
%dir %{_datadir}/%{name}/
d3ff78
%{_datadir}/applications/qemu.desktop
d3ff78
%{_datadir}/icons/hicolor/*/apps/*
Mark McLoughlin ccf76b
%{_datadir}/%{name}/keymaps/
ef34be
%{_datadir}/%{name}/trace-events-all
996634
%{_datadir}/%{name}/vgabios.bin
996634
%{_datadir}/%{name}/vgabios-cirrus.bin
996634
%{_datadir}/%{name}/vgabios-qxl.bin
996634
%{_datadir}/%{name}/vgabios-stdvga.bin
996634
%{_datadir}/%{name}/vgabios-vmware.bin
996634
%{_datadir}/%{name}/vgabios-virtio.bin
996634
%{_datadir}/%{name}/pxe-e1000.rom
996634
%{_datadir}/%{name}/efi-e1000.rom
996634
%{_datadir}/%{name}/pxe-e1000e.rom
996634
%{_datadir}/%{name}/efi-e1000e.rom
996634
%{_datadir}/%{name}/pxe-eepro100.rom
996634
%{_datadir}/%{name}/efi-eepro100.rom
996634
%{_datadir}/%{name}/pxe-ne2k_pci.rom
996634
%{_datadir}/%{name}/efi-ne2k_pci.rom
996634
%{_datadir}/%{name}/pxe-pcnet.rom
996634
%{_datadir}/%{name}/efi-pcnet.rom
996634
%{_datadir}/%{name}/pxe-rtl8139.rom
996634
%{_datadir}/%{name}/efi-rtl8139.rom
996634
%{_datadir}/%{name}/pxe-virtio.rom
996634
%{_datadir}/%{name}/efi-virtio.rom
996634
%{_datadir}/%{name}/pxe-vmxnet3.rom
996634
%{_datadir}/%{name}/efi-vmxnet3.rom
Mark McLoughlin 666df9
%{_mandir}/man1/qemu.1*
d3ff78
%{_mandir}/man1/qemu-trace-stap.1*
852ee3
%{_mandir}/man1/virtfs-proxy-helper.1*
700f12
%{_mandir}/man7/qemu-block-drivers.7*
007776
%{_mandir}/man7/qemu-cpu-models.7*
1c7073
%{_mandir}/man7/qemu-ga-ref.7*
1c7073
%{_mandir}/man7/qemu-qmp-ref.7*
d3ff78
%{_bindir}/elf2dmp
007776
%{_bindir}/qemu-edid
700f12
%{_bindir}/qemu-keymap
Paolo Bonzini 0fb2b2
%{_bindir}/qemu-pr-helper
f35188
%{_bindir}/qemu-trace-stap
d3ff78
%{_bindir}/virtfs-proxy-helper
Paolo Bonzini 0fb2b2
%{_unitdir}/qemu-pr-helper.service
Paolo Bonzini 0fb2b2
%{_unitdir}/qemu-pr-helper.socket
acbc4a
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
Paolo Bonzini 15489f
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
979ec1
%dir %{_sysconfdir}/qemu
979ec1
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
ecbe00
%dir %{_libdir}/qemu
979ec1
c27704
Daniel P. Berrange 1ad1f9
%files guest-agent
Daniel P. Berrange 1ad1f9
%{_bindir}/qemu-ga
88b379
%{_mandir}/man8/qemu-ga.8*
Daniel P. Berrange 1ad1f9
%{_unitdir}/qemu-guest-agent.service
Daniel P. Berrange fbe43c
%{_udevdir}/99-qemu-guest-agent.rules
Paolo Bonzini bfe7b8
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
Paolo Bonzini bfe7b8
%{_sysconfdir}/qemu-ga
Paolo Bonzini e978b4
%ghost %{_localstatedir}/log/qga-fsfreeze-hook.log
Daniel P. Berrange 1ad1f9
c27704
48e07c
%files img
48e07c
%{_bindir}/qemu-img
48e07c
%{_bindir}/qemu-io
48e07c
%{_bindir}/qemu-nbd
48e07c
%{_mandir}/man1/qemu-img.1*
48e07c
%{_mandir}/man8/qemu-nbd.8*
48e07c
48e07c
ecbe00
%files block-curl
ecbe00
%{_libdir}/qemu/block-curl.so
ecbe00
%files block-dmg
151958
%{_libdir}/qemu/block-dmg-bz2.so
Daniel P. Berrangé e1923c
%if %{with_block_gluster}
ecbe00
%files block-gluster
Daniel P. Berrangé e1923c
%{_libdir}/qemu/block-gluster.so
Daniel P. Berrangé e1923c
%endif
ecbe00
%files block-iscsi
ecbe00
%{_libdir}/qemu/block-iscsi.so
151958
%files block-nfs
151958
%{_libdir}/qemu/block-nfs.so
Daniel P. Berrangé a4b3db
%if %{with_block_rbd}
ecbe00
%files block-rbd
ecbe00
%{_libdir}/qemu/block-rbd.so
Daniel P. Berrangé a4b3db
%endif
ecbe00
%files block-ssh
ecbe00
%{_libdir}/qemu/block-ssh.so
ecbe00
ecbe00
3c6a0c
%files audio-alsa
3c6a0c
%{_libdir}/qemu/audio-alsa.so
3c6a0c
%files audio-oss
3c6a0c
%{_libdir}/qemu/audio-oss.so
3c6a0c
%files audio-pa
3c6a0c
%{_libdir}/qemu/audio-pa.so
3c6a0c
%files audio-sdl
3c6a0c
%{_libdir}/qemu/audio-sdl.so
3c6a0c
3c6a0c
3c6a0c
%files ui-curses
3c6a0c
%{_libdir}/qemu/ui-curses.so
3c6a0c
%files ui-gtk
3c6a0c
%{_libdir}/qemu/ui-gtk.so
3c6a0c
%files ui-sdl
3c6a0c
%{_libdir}/qemu/ui-sdl.so
3c6a0c
3c6a0c
48e07c
%files -n ivshmem-tools
48e07c
%{_bindir}/ivshmem-client
48e07c
%{_bindir}/ivshmem-server
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
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
Paolo Bonzini ffa1cc
%{_bindir}/qemu-ppc64abi32
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-tilegx
80404b
%{_bindir}/qemu-xtensa
80404b
%{_bindir}/qemu-xtensaeb
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-i386-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-x86_64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-aarch64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-aarch64_be.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-aarch64_be-log.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-aarch64_be-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-alpha-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-arm-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-armeb-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-cris-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-hppa-log.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-m68k-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-microblaze-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-microblazeel-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mips-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mipsel-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mips64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mips64el-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mipsn32-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-mipsn32el-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-nios2-log.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-or1k-log.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-ppc64le-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le-simpletrace.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv32.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-riscv32-log.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv32-simpletrace.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-riscv64-log.stp
3c6a0c
%{_datadir}/systemtap/tapset/qemu-riscv64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-s390x-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sh4-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sh4eb-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sparc-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sparc32plus-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-sparc64-log.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64-simpletrace.stp
80404b
%{_datadir}/systemtap/tapset/qemu-tilegx.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-tilegx-log.stp
80404b
%{_datadir}/systemtap/tapset/qemu-tilegx-simpletrace.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensa.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-xtensa-log.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensa-simpletrace.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensaeb.stp
d3ff78
%{_datadir}/systemtap/tapset/qemu-xtensaeb-log.stp
80404b
%{_datadir}/systemtap/tapset/qemu-xtensaeb-simpletrace.stp
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
80404b
%{_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
3758f8
%{_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
259393
%{_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
259393
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
979ec1
%{_mandir}/man1/qemu-system-arm.1*
Peter Robinson 09747c
Daniel P. Berrange 35d458
c27704
%files system-cris
ecbe00
%files system-cris-core
Justin M. Forbes bc9e71
%{_bindir}/qemu-system-cris
259393
%{_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
3758f8
%{_datadir}/systemtap/tapset/qemu-system-hppa*.stp
3758f8
%{_mandir}/man1/qemu-system-hppa.1*
3758f8
%{_datadir}/%{name}/hppa-firmware.img
3758f8
ecbe00
3758f8
%files system-lm32
ecbe00
%files system-lm32-core
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-lm32
259393
%{_datadir}/systemtap/tapset/qemu-system-lm32*.stp
979ec1
%{_mandir}/man1/qemu-system-lm32.1*
Paolo Bonzini 40e61a
c27704
c27704
%files system-m68k
ecbe00
%files system-m68k-core
Glauber Costa 485711
%{_bindir}/qemu-system-m68k
259393
%{_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
259393
%{_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
3758f8
%{_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-moxie
3758f8
%files system-moxie-core
3758f8
%{_bindir}/qemu-system-moxie
3758f8
%{_datadir}/systemtap/tapset/qemu-system-moxie*.stp
3758f8
%{_mandir}/man1/qemu-system-moxie.1*
3758f8
3758f8
3758f8
%files system-nios2
3758f8
%files system-nios2-core
3758f8
%{_bindir}/qemu-system-nios2
3758f8
%{_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
1c7073
%{_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
3758f8
%{_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}/ppc_rom.bin
3758f8
%{_datadir}/%{name}/qemu_vga.ndrv
3758f8
%{_datadir}/%{name}/skiboot.lid
3758f8
%{_datadir}/%{name}/spapr-rtas.bin
3758f8
%{_datadir}/%{name}/u-boot.e500
3758f8
%{_datadir}/%{name}/u-boot-sam460-20100605.bin
3758f8
%ifarch %{power64}
3758f8
%{_sysconfdir}/security/limits.d/95-kvm-ppc64-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
3c6a0c
%{_datadir}/systemtap/tapset/qemu-system-riscv*.stp
3c6a0c
%{_mandir}/man1/qemu-system-riscv*.1*
3c6a0c
3c6a0c
c27704
%files system-s390x
ecbe00
%files system-s390x-core
Paolo Bonzini c32efe
%{_bindir}/qemu-system-s390x
259393
%{_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
259393
%{_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
259393
%{_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
3758f8
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
3758f8
%{_mandir}/man1/qemu-system-tricore.1*
Daniel P. Berrange 36ffed
c27704
c27704
%files system-unicore32
ecbe00
%files system-unicore32-core
Paolo Bonzini 40e61a
%{_bindir}/qemu-system-unicore32
259393
%{_datadir}/systemtap/tapset/qemu-system-unicore32*.stp
979ec1
%{_mandir}/man1/qemu-system-unicore32.1*
Paolo Bonzini 40e61a
c27704
3758f8
%files system-x86
3758f8
%files system-x86-core
3758f8
%{_bindir}/qemu-system-i386
3758f8
%{_bindir}/qemu-system-x86_64
3758f8
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
3758f8
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
3758f8
%{_mandir}/man1/qemu-system-i386.1*
3758f8
%{_mandir}/man1/qemu-system-x86_64.1*
3758f8
%{_datadir}/%{name}/bios.bin
3758f8
%{_datadir}/%{name}/bios-256k.bin
d3ff78
%{_datadir}/%{name}/kvmvapic.bin
3758f8
%{_datadir}/%{name}/linuxboot.bin
3758f8
%{_datadir}/%{name}/linuxboot_dma.bin
3758f8
%{_datadir}/%{name}/multiboot.bin
d3ff78
%{_datadir}/%{name}/pvh.bin
d3ff78
%{_datadir}/%{name}/sgabios.bin
3758f8
%if 0%{?need_qemu_kvm}
3758f8
%{_bindir}/qemu-kvm
3758f8
%{_mandir}/man1/qemu-kvm.1*
5bdb06
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
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
259393
%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
979ec1
%{_mandir}/man1/qemu-system-xtensa.1*
979ec1
%{_mandir}/man1/qemu-system-xtensaeb.1*
Paolo Bonzini 40e61a
c27704
David Woodhouse 5c3734
%changelog
e14a8c
* Tue Apr 16 2019 Cole Robinson <crobinso@redhat.com> - 2:4.0.0-0.7.rc3
e14a8c
- Don't block migration with nested VMX (bz #1697997)
e14a8c
- Update to qemu-4.0.0-rc3
e14a8c
09f7c0
* Sat Apr 06 2019 Richard W.M. Jones <rjones@redhat.com> - 2:4.0.0-0.6.rc2
09f7c0
- Rebuild against xen 4.12.
09f7c0
4266c9
* Wed Apr 03 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.5.rc2
4266c9
- Update to 4.0.0-rc2
4266c9
c9654a
* Wed Mar 27 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.4.rc1
c9654a
- Update to 4.0.0-rc1
c9654a
Adam Williamson fd8638
* Mon Mar 25 2019 Adam Williamson <awilliam@redhat.com> - 2:4.0.0-0.3.rc0
Adam Williamson fd8638
- Backport patch to fix 3D crasher bug (bz #1692323)
Adam Williamson fd8638
f35188
* Thu Mar 21 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.2.rc0
f35188
- Fix python paths for qemu-trace-stap
f35188
f35188
* Wed Mar 20 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.2.rc0
d3ff78
- Update to 4.0.0-rc0
d3ff78
Daniel P. Berrangé e24cbb
* Wed Mar 20 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:3.1.0-5
Daniel P. Berrangé e24cbb
- Fix compat with latest glibc which has gettid func
Daniel P. Berrangé e24cbb
de10d8
* Sun Mar 03 2019 Cole Robinson <aintdiscole@gmail.com> - 2:3.1.0-4.3
de10d8
- Temporarily disable glusterfs (bz #1684298)
de10d8
2679bc
* Thu Feb 28 2019 Cole Robinson <aintdiscole@gmail.com> - 2:3.1.0-4.2
2679bc
- Rebuild for brltty soname bump
2679bc
Fedora Release Engineering 8e22bb
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:3.1.0-4.1
Fedora Release Engineering 8e22bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Fedora Release Engineering 8e22bb
f1ea04
* Sat Jan 12 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-4
f1ea04
- Remove temporary patch and rebuild against fixed capstone.
f1ea04
843392
* Fri Jan 11 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-3
843392
- Rebuild for unannounced libcapstone soname bump from 3 to 4.
e0155f
- Add a temporary patch to fix capstone header location.
843392
Adam Williamson 61ad1f
* Tue Dec 18 2018 Adam Williamson <awilliam@redhat.com> - 2:3.1.0-1.1
Adam Williamson 61ad1f
- Restore patch to drop phantom 86 key from en-us keymap (bz #1658676)
Adam Williamson 61ad1f
570464
* Tue Dec 11 2018 Cole Robinson <crobinso@redhat.com> - 2:3.1.0-1
570464
- Rebase to qemu-3.1.0 GA
570464
Daniel P. Berrangé a4b3db
* Mon Dec 10 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:3.1.0-0.2.rc1
Daniel P. Berrangé a4b3db
- Disable RBD on 32-bit arches
Daniel P. Berrangé a4b3db
007776
* Thu Nov 15 2018 Cole Robinson <crobinso@redhat.com> - 2:3.1.0-0.1.rc1
007776
- Rebase to qemu-3.1.0-rc1
007776
a6f688
* Wed Aug 15 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-1
a6f688
- Rebase to qemu-3.0.0 GA
a6f688
748bb2
* Mon Aug 13 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-0.2.rc3
748bb2
- Drop ksm package, moved to ksmtuned srpm
748bb2
d4c450
* Tue Jul 31 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-0.1.rc3
d4c450
- Rebase to qemu-3.0.0-rc3
d4c450
- Drop now unneeded s390x conf (bz #1609706)
5bdb06
- Only install modprobe kvm.conf on x86 (bz #1517989)
d4c450
Peter Robinson b12f5a
* Fri Jul 13 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.12.0-4
Peter Robinson b12f5a
- Rebuild for Xen 4.11
Peter Robinson b12f5a
Daniel P. Berrangé b91dae
* Mon Jun 18 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:2.12.0-3
Daniel P. Berrangé b91dae
- New CPU features for speculative store bypass (CVE-2018-3639)
Daniel P. Berrangé b91dae
330481
* Tue Jun 05 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-2
330481
- Fix qxl memslot_get_virt crashes (bz #1565354)
330481
97eed6
* Mon Apr 30 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-1
97eed6
- Update to qemu-2.12.0 GA
97eed6
6dab4a
* Mon Apr 16 2018 Richard W.M. Jones <rjones@redhat.com> - 2:2.12.0-0.7.rc3
6dab4a
- Update to qemu-2.12.0-rc3
6dab4a
- Remove upstream patch.
6dab4a
- Fixes issues with partition / LV minimum alignment (RHBZ#1565714).
6dab4a
7b9b67
* Thu Apr 05 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.6.rc2
7b9b67
- Update to qemu-2.12.0-rc2
7b9b67
0d2d5c
* Wed Mar 28 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.5.rc1
0d2d5c
- Update to qemu-2.12.0-rc1
0d2d5c
80404b
* Mon Mar 26 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.4.rc0
80404b
- Enable missing tilegx, xtensa* qemu-user targets
80404b
a28cfa
* Sun Mar 25 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.3.rc0
a28cfa
- Generate binfmt configs with qemu-binfmt-conf.sh
a28cfa
e9e03f
* Fri Mar 23 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.2.rc0
e9e03f
- Fix audio and ui module RPM deps
e9e03f
- Drop some arch restrictions for rdma, spice, xen, numactl
e9e03f
- Fix hppa firmware packaging
e9e03f
3c6a0c
* Thu Mar 22 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.1.rc0
3c6a0c
- Rebase to qemu-2.12.0-rc0
3c6a0c
- Add hppa and riscv32/64 targets
3c6a0c
- Add audio and ui modules
3c6a0c
Daniel P. Berrangé 55054b
* Mon Mar 19 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:2.11.1-2
Daniel P. Berrangé 55054b
- Re-enable normal hardened build macros to fix ksmctl.c hardening
Daniel P. Berrangé 55054b
- Don't strip _FORTIFY_SOURCE from compiler flags
Daniel P. Berrangé 55054b
- Don't pass -pie as an extra ldflags when we use --enable-pie
Daniel P. Berrangé 55054b
a7e248
* Wed Feb 28 2018 Cole Robinson <crobinso@redhat.com> - 2:2.11.1-1
a7e248
- Rebase to qemu 2.11.1 bugfix release
a7e248
Daniel P. Berrangé 603dd9
* Tue Feb 27 2018 Daniel P. Berrange <berrange@redhat.com> - 2:2.11.0-5
Daniel P. Berrangé 603dd9
- Improve License tag
Daniel P. Berrangé 603dd9
- Honour CC/LD flags for ksmctl
Daniel P. Berrangé 603dd9
- Fix non-deterministic test failure
Daniel P. Berrangé 529040
- Use explicit "python2" binary to avoid "python" brokeness (rhbz#1550010)
Daniel P. Berrangé 29249a
- Avoid breakage in TLS tests due to stricter crypto policies
Daniel P. Berrangé 603dd9
Fedora Release Engineering 8253c0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.11.0-4.1
Fedora Release Engineering 8253c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 8253c0
Daniel P. Berrange ec520b
* Thu Dec 21 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.11.0-4
Daniel P. Berrange 167a6b
- Re-enable RBD on arm/ppc (rhbz #1528378)
Daniel P. Berrange 167a6b
Adam Williamson f81be8
* Wed Dec 20 2017 Adam Williamson <awilliam@redhat.com> - 2:2.11.0-3
Adam Williamson f81be8
- Fix problem with typing some characters via VNC (LP#1738283)
Adam Williamson f81be8
f95699
* Wed Dec 20 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-2
f95699
- Rebuild for xen 4.10
f95699
90a3c9
* Mon Dec 18 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-1
90a3c9
- Rebase to 2.11.0 GA
90a3c9
a76e08
* Mon Dec 04 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-0.3-rc3
a76e08
- Rebase to 2.11.0-rc3
a76e08
a76e08
* Tue Nov 28 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.11.0-0.2.rc2
Paolo Bonzini bfe7b8
- Fix compilation
Paolo Bonzini bfe7b8
- Upgrade qemu-ga packaging based on RHEL 7
Paolo Bonzini bfe7b8
Paolo Bonzini bfe7b8
* Mon Nov 20 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-0.1.rc1
Paolo Bonzini bfe7b8
- Rebase to 2.11.0-rc1
Paolo Bonzini bfe7b8
59eb7a
* Thu Oct 19 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.1-1
59eb7a
- Fix ppc64 KVM failure (bz #1501936)
59eb7a
- CVE-2017-15038: 9p: information disclosure when reading extended
59eb7a
  attributes (bz #1499111)
59eb7a
- CVE-2017-15268: potential memory exhaustion via websock connection to VNC
59eb7a
  (bz #1496882)
59eb7a
Paolo Bonzini b0a774
* Tue Oct 17 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-7
Paolo Bonzini b0a774
- Update patch 1014 for new libmultipath/libmpathpersist API
Paolo Bonzini b0a774
- Force build to fail if multipath is not available
Paolo Bonzini b0a774
- Tighten permissions on the qemu-pr-helper socket
Paolo Bonzini b0a774
Daniel P. Berrange 9acefb
* Mon Oct  9 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.10.0-6
Daniel P. Berrange 9acefb
- Rebuild for libiscsi changed soname again
Daniel P. Berrange 9acefb
Paolo Bonzini 4b7bd9
* Tue Oct 03 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-5
Paolo Bonzini 4b7bd9
- Rebuild with new libiscsi for iSER support
Paolo Bonzini 4b7bd9
Paolo Bonzini fd8ba3
* Thu Sep 28 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-4
Paolo Bonzini fd8ba3
- Stop using tcmalloc, glibc got faster
Paolo Bonzini fd8ba3
Paolo Bonzini 0fb2b2
* Fri Sep 22 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-3
Paolo Bonzini 0fb2b2
- Backport persistent reservation manager in preparation for SELinux work
Paolo Bonzini 0fb2b2
- Fix previous patch
Paolo Bonzini 0fb2b2
Nathaniel McCallum 98b428
* Mon Sep 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.10.0-2
Nathaniel McCallum 98b428
- Fix endianness of e_type in the ppc64le binfmt
Nathaniel McCallum 98b428
0b42e7
* Thu Sep 07 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-1
0b42e7
- Rebase to 2.10.0 GA
0b42e7
Nathaniel McCallum 3b6c81
* Tue Aug 29 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.10.0-0.5.rc4
Nathaniel McCallum 3b6c81
- Fix incorrect byte order in e_machine field in ppc64le binfmt (#1486379)
Nathaniel McCallum 3b6c81
45cb87
* Fri Aug 25 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.4.rc4
5264c6
- Rebase to 2.10.0-rc4
5264c6
Adam Williamson c2f33c
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 2:2.10.0-0.3.rc3
Adam Williamson c2f33c
- Don't build against rdma on 32-bit ARM (#1484155)
Adam Williamson c2f33c
Adam Williamson c2f33c
* Wed Aug 16 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.2.rc3
14cfc7
- Rebase to 2.10.0-rc3
14cfc7
Adam Williamson c2f33c
* Thu Aug 03 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.1.rc1
1a4355
- Rebase to 2.10.0-rc1
1a4355
26c1ce
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2:2.9.0-9
26c1ce
- Rebuild with binutils fix for ppc64le (#1475636)
26c1ce
Daniel P. Berrange 20b227
* Tue Jul 25 2017 Daniel Berrange <berrange@redhat.com> - 2:2.9.0-8
Daniel P. Berrange 6e16c0
- Disabled RBD on arm & ppc64 (rhbz #1474743)
Daniel P. Berrange 20b227
Nathaniel McCallum f73c47
* Thu Jul 20 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.9.0-7
Nathaniel McCallum f73c47
- Fix binfmt dependencies and post scriptlets
Nathaniel McCallum f73c47
- Add binfmt for ppc64le
Nathaniel McCallum f73c47
Nathaniel McCallum f73c47
* Wed Jul 19 2017 Daniel Berrange <berrange@redhat.com> - 2:2.9.0-6
Daniel P. Berrange 1e96c6
- Fixes for compat with Xen 4.9
Daniel P. Berrange 1e96c6
Nathaniel McCallum cf6afb
* Tue Jul 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.9.0-5
Nathaniel McCallum cf6afb
- Fix ucontext_t references
Nathaniel McCallum cf6afb
Daniel P. Berrange 895ba8
* Tue Jul 18 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.9.0-4
Daniel P. Berrange 895ba8
- Rebuild for changed Xen sonames
Daniel P. Berrange 895ba8
335584
* Wed Jul 12 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-3
335584
- CVE-2017-8112: vmw_pvscsi: infinite loop in pvscsi_log2 (bz #1445622)
335584
- CVE-2017-8309: audio: host memory lekage via capture buffer (bz #1446520)
335584
- CVE-2017-8379: input: host memory lekage via keyboard events (bz #1446560)
335584
- CVE-2017-8380: scsi: megasas: out-of-bounds read in megasas_mmio_write (bz
335584
  #1446578)
335584
- CVE-2017-7493: 9pfs: guest privilege escalation in virtfs mapped-file mode
335584
  (bz #1451711)
335584
- CVE-2017-9503: megasas: null pointer dereference while processing megasas
335584
  command (bz #1459478)
335584
- CVE-2017-10806: usb-redirect: stack buffer overflow in debug logging (bz
335584
  #1468497)
335584
- CVE-2017-9524: nbd: segfault due to client non-negotiation (bz #1460172)
335584
- CVE-2017-10664: qemu-nbd: server breaks with SIGPIPE upon client abort (bz
335584
  #1466192)
335584
5eae33
* Mon May 22 2017 Richard W.M. Jones <rjones@redhat.com> - 2:2.9.0-2
5eae33
- Bump release and rebuild to try to fix _ZdlPvm symbol (see RHBZ#1452813).
5eae33
33f79e
* Tue Apr 25 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-1
33f79e
- Rebase to qemu-2.9.0 GA
33f79e
514d6b
* Thu Apr 13 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.2-rc4
514d6b
- Rebase to qemu-2.9.0-rc4
514d6b
- Fix ipxe rom links for aarch64
514d6b
5dd6a7
* Sat Apr 08 2017 Richard W.M. Jones <rjones@redhat.com> - 2:2.9.0-0.2-rc3
5dd6a7
- Backport upstream fix for assertion when copy-on-read=true (RHBZ#1439922).
5dd6a7
74c0a8
* Tue Apr 04 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc3
74c0a8
- Rebase to qemu-2.9.0-rc3
74c0a8
0db325
* Wed Mar 29 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc2
0db325
- Rebase to qemu-2.9.0-rc2
0db325
- Add Obsoletes for or32-or1k rename (bz 1435016)
0db325
- spec: Pull in vga and pxe roms for ppc64 (bz 1431403)
0db325
1db581
* Tue Mar 21 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc1
1db581
- Rebase to qemu-2.9.0-rc1
1db581
1c7073
* Wed Mar 15 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc0
1c7073
* Rebase to qemu-2.9.0-rc0
1c7073
Daniel P. Berrange 6a041e
* Mon Feb 20 2017 Daniel Berrange <berrange@redhat.com> - 2:2.8.0-2
Daniel P. Berrange 6a041e
- Drop texi2html BR, since QEMU switched to using makeinfo back in 2010
Daniel P. Berrange 6a041e
Fedora Release Engineering c1f9c0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.8.0-1.1
Fedora Release Engineering c1f9c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering c1f9c0
8b317f
* Tue Dec 20 2016 Cole Robinson <crobinso@redhat.com> - 2:2.8.0-1
8b317f
- Rebase to qemu-2.8.0 GA
8b317f
50bb15
* Mon Dec 12 2016 Cole Robinson <crobinso@redhat.com> - 2:2.8.0-0.3-rc3
50bb15
- Rebase to qemu-2.8.0-rc3
50bb15
Daniel P. Berrange 828867
* Mon Dec 05 2016 Cole Robinson <crobinso@redhat.com> - 2:2.8.0-0.2-rc2
Daniel P. Berrange 828867
- Rebuild to pick up changed libxen* sonames
Daniel P. Berrange 828867
151958
* Mon Dec 05 2016 Cole Robinson <crobinso@redhat.com> - 2:2.8.0-0.1-rc2
151958
- Rebase to qemu-2.8.0-rc2
151958
Paolo Bonzini b68b5f
* Mon Nov 28 2016 Paolo Bonzini <pbonzini@redhat.com> - 2:2.7.0-10
Paolo Bonzini b68b5f
- Do not build aarch64 with -fPIC anymore (rhbz 1232499)
Paolo Bonzini b68b5f
Nathaniel McCallum 058342
* Tue Nov 15 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.7.0-9
Nathaniel McCallum 058342
- Clean up binfmt.d configuration files
Nathaniel McCallum 058342
ecbe00
* Mon Nov 14 2016 Richard W.M. Jones <rjones@redhat.com> - 2:2.7.0-8
ecbe00
- Create subpackages for modularized qemu block drivers (RHBZ#1393688).
820948
- Fix qemu-sanity-check.
ecbe00
8a5886
* Tue Oct 25 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-7
8a5886
- Fix PPC64 build with memlock file (bz #1387601)
8a5886
Bastien Nocera b8878c
* Wed Oct 19 2016 Bastien Nocera <bnocera@redhat.com> - 2:2.7.0-6
Bastien Nocera b8878c
- Add "F" flag to static user emulators' binfmt, to make them
Bastien Nocera b8878c
  available in containers (#1384615)
Bastien Nocera b8878c
- Also fixes the path of those emulators in the binfmt configurations
Bastien Nocera b8878c
cf8164
* Wed Oct 19 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-5
cf8164
- Fix nested PPC 'Unknown MMU model' error (bz #1374749)
cf8164
- Fix flickering display with boxes + wayland VM (bz #1266484)
cf8164
- Add ppc64 kvm memlock file (bz #1293024)
cf8164
3a13dd
* Sat Oct 15 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-4
3a13dd
- CVE-2016-7155: pvscsi: OOB read and infinite loop (bz #1373463)
3a13dd
- CVE-2016-7156: pvscsi: infinite loop when building SG list (bz #1373480)
3a13dd
- CVE-2016-7156: pvscsi: infinite loop when processing IO requests (bz
3a13dd
  #1373480)
3a13dd
- CVE-2016-7170: vmware_vga: OOB stack memory access (bz #1374709)
3a13dd
- CVE-2016-7157: mptsas: invalid memory access (bz #1373505)
3a13dd
- CVE-2016-7466: usb: xhci memory leakage during device unplug (bz #1377838)
3a13dd
- CVE-2016-7423: scsi: mptsas: OOB access (bz #1376777)
3a13dd
- CVE-2016-7422: virtio: null pointer dereference (bz #1376756)
3a13dd
- CVE-2016-7908: net: Infinite loop in mcf_fec_do_tx (bz #1381193)
3a13dd
- CVE-2016-8576: usb: xHCI: infinite loop vulnerability (bz #1382322)
3a13dd
- CVE-2016-7995: usb: hcd-ehci: memory leak (bz #1382669)
3a13dd
Hans de Goede a2729a
* Mon Oct 10 2016 Hans de Goede <hdegoede@redhat.com> - 2:2.7.0-3
Hans de Goede a2729a
- Fix interrupt endpoints not working with network/spice USB redirection
Hans de Goede a2729a
  on guest with an emulated xhci controller (rhbz#1382331)
Hans de Goede a2729a
Michal Toman 504e25
* Tue Sep 20 2016 Michal Toman <mtoman@fedoraproject.org> - 2:2.7.0-2
Michal Toman 504e25
- Fix build on MIPS
Michal Toman 504e25
435be3
* Thu Sep 08 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-1
435be3
- Rebase to qemu 2.7.0 GA
435be3
94ddf1
* Fri Aug 19 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-0.2.rc3
94ddf1
- Rebase to qemu 2.7.0-rc3
94ddf1
ef34be
* Wed Aug 03 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-0.1.rc2
ef34be
- Rebase to qemu 2.7.0-rc2
ef34be
84e6ec
* Sat Jul 23 2016 Richard W.M. Jones <rjones@redhat.com> - 2:2.6.0-6
84e6ec
- Rebuild to attempt to fix '2:qemu-system-xtensa-2.6.0-5.fc25.x86_64 requires libxenctrl.so.4.6()(64bit)'
84e6ec
Daniel P. Berrange 083532
* Wed Jul 13 2016 Daniel Berrange <berrange@redhat.com> - 2:2.6.0-5
Daniel P. Berrange 083532
- Introduce qemu-user-static sub-RPM
Daniel P. Berrange 083532
cf91b1
* Wed Jun 22 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-4
cf91b1
- CVE-2016-4002: net: buffer overflow in MIPSnet (bz #1326083)
cf91b1
- CVE-2016-4952 scsi: pvscsi: out-of-bounds access issue
cf91b1
- CVE-2016-4964: scsi: mptsas infinite loop (bz #1339157)
cf91b1
- CVE-2016-5106: scsi: megasas: out-of-bounds write (bz #1339581)
cf91b1
- CVE-2016-5105: scsi: megasas: stack information leakage (bz #1339585)
cf91b1
- CVE-2016-5107: scsi: megasas: out-of-bounds read (bz #1339573)
cf91b1
- CVE-2016-4454: display: vmsvga: out-of-bounds read (bz #1340740)
cf91b1
- CVE-2016-4453: display: vmsvga: infinite loop (bz #1340744)
cf91b1
- CVE-2016-5126: block: iscsi: buffer overflow (bz #1340925)
cf91b1
- CVE-2016-5238: scsi: esp: OOB write (bz #1341932)
cf91b1
- CVE-2016-5338: scsi: esp: OOB r/w access (bz #1343325)
cf91b1
- CVE-2016-5337: scsi: megasas: information leakage (bz #1343910)
cf91b1
- Fix crash with -nodefaults -sdl (bz #1340931)
cf91b1
- Add deps on edk2-ovmf and edk2-aarch64
cf91b1
f0208c
* Thu May 26 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-3
f0208c
- CVE-2016-4020: memory leak in kvmvapic.c (bz #1326904)
f0208c
- CVE-2016-4439: scsi: esb: OOB write #1 (bz #1337503)
f0208c
- CVE-2016-4441: scsi: esb: OOB write #2 (bz #1337506)
f0208c
- Fix regression installing windows 7 with qxl/vga (bz #1339267)
f0208c
- Fix crash with aarch64 gic-version=host and accel=tcg (bz #1339977)
f0208c
f8dc43
* Fri May 20 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-2
f8dc43
- Explicitly error if spice GL setup fails
f8dc43
- Fix monitor resizing with virgl (bz #1337564)
f8dc43
- Fix libvirt noise when introspecting qemu-kvm without hw virt
f8dc43
e20090
* Fri May 13 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-1
e20090
- Rebase to v2.6.0 GA
e20090
35faab
* Mon May 09 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-0.2.rc5
35faab
- Fix gtk UI crash when switching to monitor (bz #1333424)
35faab
- Fix sdl2 UI lockup lockup when switching to monitor
35faab
- Rebased to qemu-2.6.0-rc5
35faab
bc7ce0
* Mon May 02 2016 Cole Robinson <crobinso@redhat.com> 2:2.6.0-0.2.rc4
bc7ce0
- Rebased to version 2.6.0-rc4
bc7ce0
- Fix test suite on big endian hosts (bz 1330174)
bc7ce0
b455e4
* Mon Apr 25 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-0.2.rc3
b455e4
- Rebuild to pick up spice GL support
b455e4
b0b55f
* Mon Apr 18 2016 Cole Robinson <crobinso@redhat.com> 2:2.6.0-0.1.rc3
b0b55f
- Rebased to version 2.6.0-rc3
b0b55f
- Fix s390 sysctl file install (bz 1327870)
b0b55f
- Adjust spice gl version check to expect F24 backported version
b0b55f
6138a9
* Thu Apr 14 2016 Cole Robinson <crobinso@redhat.com> 2:2.6.0-0.1.rc2
6138a9
- Rebased to version 2.6.0-rc2
6138a9
- Fix GL deps (bz 1325966)
6138a9
- Ship sysctl file to fix s390x kvm (bz 1290589)
6138a9
- Fix FTBFS on s390 (bz 1326247)
6138a9
409720
* Thu Apr 07 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-0.1.rc1
409720
- Rebased to version 2.6.0-rc1
409720
54cb13
* Thu Mar 17 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-11
54cb13
- CVE-2016-2857: net: out of bounds read (bz #1309564)
54cb13
- CVE-2016-2392: usb: null pointer dereference (bz #1307115)
54cb13
54cb13
* Thu Mar 17 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-10
54cb13
- CVE-2016-2538: Integer overflow in usb module (bz #1305815)
54cb13
- CVE-2016-2841: ne2000: infinite loop (bz #1304047)
54cb13
- CVE-2016-2857 net: out of bounds read (bz #1309564)
54cb13
- CVE-2016-2392 usb: null pointer dereference (bz #1307115)
54cb13
- Fix external snapshot any more after active committing (bz #1300209)
54cb13
Peter Robinson ae1137
* Wed Mar  9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.5.0-9
Peter Robinson ae1137
- Rebuild for tcmalloc ifunc issues on non x86 arches (see rhbz 1312462)
Peter Robinson ae1137
Paolo Bonzini 438217
* Tue Mar  1 2016 Paolo Bonzini <pbonzini@redhat.com> 2:2.5.0-8
Paolo Bonzini 438217
- Disable xfsctl, fallocate works fine in newer kernels (bz #1305512)
Paolo Bonzini 438217
Peter Robinson 73731f
* Tue Mar  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.5.0-7
Peter Robinson 73731f
- All Fedora arches have libseccomp support (ARMv7, aarch64, Power64, s390(x))
Peter Robinson 73731f
7d975d
* Mon Feb 15 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-6
7d975d
- CVE-2015-8619: Fix sendkey out of bounds (bz #1292757)
7d975d
- CVE-2016-1981: infinite loop in e1000 (bz #1299995)
7d975d
- Fix Out-of-bounds read in usb-ehci (bz #1300234, bz #1299455)
7d975d
- CVE-2016-2197: ahci: null pointer dereference (bz #1302952)
7d975d
- Fix gdbstub for VSX registers for ppc64 (bz #1304377)
7d975d
- Fix qemu-img vmdk images to work with VMware (bz #1299185)
7d975d
Fedora Release Engineering 95a588
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.5.0-5
Fedora Release Engineering 95a588
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Fedora Release Engineering 95a588
b24b7f
* Wed Jan 20 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-4
b24b7f
- CVE-2015-8567: net: vmxnet3: host memory leakage (bz #1289818)
b24b7f
- CVE-2016-1922: i386: avoid null pointer dereference (bz #1292766)
b24b7f
- CVE-2015-8613: buffer overflow in megasas_ctrl_get_info (bz #1284008)
b24b7f
- CVE-2015-8701: Buffer overflow in tx_consume in rocker.c (bz #1293720)
b24b7f
- CVE-2015-8743: ne2000: OOB memory access in ioport r/w functions (bz
b24b7f
  #1294787)
b24b7f
- CVE-2016-1568: Use-after-free vulnerability in ahci (bz #1297023)
b24b7f
- Fix modules.d/kvm.conf example syntax (bz #1298823)
b24b7f
78f4db
* Sat Jan 09 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-3
78f4db
- Fix virtio 9p thread pool usage
78f4db
- CVE-2015-8558: DoS by infinite loop in ehci_advance_state (bz #1291309)
78f4db
- Re-add dist tag
78f4db
Paolo Bonzini c93961
* Thu Jan 7 2016 Paolo Bonzini <pbonzini@redhat.com> - 2:2.5.0-2
Paolo Bonzini dda6c3
- add /etc/modprobe.d/kvm.conf
Paolo Bonzini 0d5e9f
- add 0001-virtio-9p-use-accessor-to-get-thread-pool.patch
Paolo Bonzini dda6c3
6176f1
* Wed Dec 23 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-1
6176f1
- Rebased to version 2.5.0
6176f1
89aacd
* Tue Dec 08 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-0.1.rc3
89aacd
- Rebased to version 2.5.0-rc3
89aacd
6baf84
* Mon Nov 30 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-0.1.rc2
6baf84
- Rebased to version 2.5.0-rc2
6baf84
191c30
* Fri Nov 20 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-0.1.rc1
191c30
- Rebased to version 2.5.0-rc1
191c30
4f6839
* Wed Nov 04 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.1-1
4f6839
- Rebased to version 2.4.1
4f6839
86d7b9
* Sun Oct 11 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0.1-2
86d7b9
- Rebuild for xen 4.6
86d7b9
b448bf
* Thu Oct 08 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0.1-1
b448bf
- Rebased to version 2.4.0.1
b448bf
- CVE-2015-7295: virtio-net possible remote DoS (bz #1264393)
b448bf
- drive-mirror: Fix coroutine reentrance (bz #1266936)
b448bf
cf8819
* Mon Sep 21 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-4
cf8819
- CVE-2015-6815: net: e1000: infinite loop issue (bz #1260225)
cf8819
- CVE-2015-6855: ide: divide by zero issue (bz #1261793)
cf8819
- CVE-2015-5278: Infinite loop in ne2000_receive() (bz #1263284)
cf8819
- CVE-2015-5279: Heap overflow vulnerability in ne2000_receive() (bz #1263287)
cf8819
c5e576
* Sun Sep 20 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.4.0-3
c5e576
- Fix emulation of various instructions, required by libm in F22 ppc64 guests.
c5e576
821139
* Mon Aug 31 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-2
821139
- CVE-2015-5255: heap memory corruption in vnc_refresh_server_surface (bz
821139
  #1255899)
821139
747170
* Tue Aug 11 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-1
747170
- Rebased to version 2.4.0
747170
- Support for virtio-gpu, 2D only
747170
- Support for virtio-based keyboard/mouse/tablet emulation
747170
- x86 support for memory hot-unplug
747170
- ACPI v5.1 table support for 'virt' board
747170
4c6dc5
* Sun Aug 09 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-0.2.rc4
4c6dc5
- CVE-2015-3209: pcnet: multi-tmd buffer overflow in the tx path (bz #1230536)
4c6dc5
- CVE-2015-3214: i8254: out-of-bounds memory access (bz #1243728)
4c6dc5
- CVE-2015-5158: scsi stack buffer overflow (bz #1246025)
4c6dc5
- CVE-2015-5154: ide: atapi: heap overflow during I/O buffer memory access (bz
4c6dc5
  #1247141)
4c6dc5
- CVE-2015-5165: rtl8139 uninitialized heap memory information leakage to
4c6dc5
  guest (bz #1249755)
4c6dc5
- CVE-2015-5166: BlockBackend object use after free issue (bz #1249758)
4c6dc5
- CVE-2015-5745: buffer overflow in virtio-serial (bz #1251160)
4c6dc5
de4550
* Tue Jul 14 2015 Cole Robinson <crobinso@redhat.com> 2:2.4.0-0.1-rc0
de4550
- Rebased to version 2.4.0-rc0
de4550
61ce51
* Fri Jul  3 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.3.0-15
61ce51
- Bump and rebuild.
61ce51
Daniel P. Berrange d4803f
* Fri Jul  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-14
Daniel P. Berrange d4803f
- Use explicit --(enable,disable)-spice args (rhbz #1239102)
Daniel P. Berrange d4803f
Peter Robinson 1ec8e5
* Thu Jul  2 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.3.0-13
Peter Robinson 1ec8e5
- Build aarch64 with -fPIC (rhbz 1232499)
Peter Robinson 1ec8e5
Peter Robinson 806ecb
* Wed Jul 01 2015 Nick Clifton <nickc@redhat.com> - 2:2.3.0-12
Peter Robinson 806ecb
- Disable stack protection for AArch64.  F23's GCC thinks that it is available but F23's glibc does not support it.
Peter Robinson 806ecb
Paolo Bonzini 749c3c
* Fri Jun 26 2015 Paolo Bonzini <pbonzini@redhat.com> - 2:2.3.0-10
Paolo Bonzini 749c3c
- Rebuild for libiscsi soname bump
Paolo Bonzini 749c3c
Paolo Bonzini 260c0a
* Fri Jun 19 2015 Paolo Bonzini <pbonzini@redhat.com> - 2:2.3.0-10
Paolo Bonzini 260c0a
- Re-enable tcmalloc on arm
Paolo Bonzini 260c0a
662665
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.3.0-9
662665
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
662665
Dan Horák 94a40c
* Wed Jun 10 2015 Dan Horák <dan[at]danny.cz> - 2:2.3.0-8
Dan Horák 94a40c
- gperftools not available on s390(x)
Dan Horák 94a40c
6fc650
* Fri Jun 05 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-7
6fc650
- CVE-2015-4037: insecure temporary file use in /net/slirp.c (bz #1222894)
6fc650
Daniel P. Berrange aa972b
* Mon Jun  1 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-6
Daniel P. Berrange aa972b
- Disable tcmalloc on arm since it currently hangs (rhbz #1226806)
Daniel P. Berrange aa972b
- Re-enable tests on arm
Daniel P. Berrange aa972b
18eddd
* Wed May 13 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-5
18eddd
- Backport upstream 2.4 patch to link with tcmalloc, enable it
18eddd
- CVE-2015-3456: (VENOM) fdc: out-of-bounds fifo buffer memory access (bz
18eddd
  #1221152)
18eddd
Paolo Bonzini af53ec
* Sun May 10 2015 Paolo Bonzini <pbonzini@redhat.com> 2:2.3.0-4
Paolo Bonzini af53ec
- Backport upstream 2.4 patch to link with tcmalloc, enable it
7c5a42
- Add -p1 to autopatch
Paolo Bonzini af53ec
Paolo Bonzini af53ec
* Wed May 06 2015 Cole Robinson <crobinso@redhat.com> 2:2.3.0-3
poma 343c57
- Fix ksm.service (bz 1218814)
poma 343c57
Dan Horák 5059f2
* Tue May  5 2015 Dan Horák <dan[at]danny.cz> - 2:2.3.0-2
Dan Horák 5059f2
- Require libseccomp only when built with it
Dan Horák 5059f2
41aca9
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-1
41aca9
- Rebased to version 2.3.0 GA
41aca9
- Another attempt at fixing default /dev/kvm permissions (bz 950436)
41aca9
b26fb5
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.5.rc3
b26fb5
- Drop unneeded kvm.modules
b26fb5
- Fix s390/ppc64 FTBFS (bz 1212328)
b26fb5
b26fb5
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.4.rc3
9b9ad7
- Rebased to version 2.3.0-rc3
9b9ad7
b26fb5
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.3.rc2
c61e67
- Rebased to version 2.3.0-rc2
c61e67
- Don't install ksm services as executable (bz #1192720)
c61e67
- Skip hanging tests on s390 (bz #1206057)
c61e67
- CVE-2015-1779 vnc: insufficient resource limiting in VNC websockets decoder
c61e67
  (bz #1205051, bz #1199572)
c61e67
b26fb5
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.2.rc1
355b03
- Rebased to version 2.3.0-rc1
355b03
8055ee
* Sun Mar 22 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.1.rc0
8055ee
- Rebased to version 2.3.0-rc0
8055ee
5a454e
* Tue Feb 17 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.2.0-7
6c3741
- Add -fPIC flag to build to avoid
6c3741
  'relocation R_X86_64_PC32 against undefined symbol' errors.
6c3741
- Add a hopefully temporary hack so that -fPIC is used to build
6c3741
  NSS files in libcacard.
6c3741
391fb8
* Wed Feb  4 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.2.0-5
391fb8
- Add UEFI support for aarch64.
391fb8
Daniel P. Berrange f287dc
* Tue Feb  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.2.0-4
Daniel P. Berrange f287dc
- Re-enable SPICE after previous build fixes circular dep
Daniel P. Berrange f287dc
Daniel P. Berrange 0716c2
* Tue Feb  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.2.0-3
Daniel P. Berrange 0716c2
- Rebuild for changed xen soname
Daniel P. Berrange cad2bc
- Temporarily disable SPICE to break circular build-dep on libcacard
Daniel P. Berrange fc57f4
- Stop libcacard linking against the entire world
Daniel P. Berrange 0716c2
Daniel P. Berrange 10fa62
* Wed Jan 28 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.2.0-2
Daniel P. Berrange 10fa62
- Pass package information to configure