orion / rpms / qemu

Forked from rpms/qemu 4 years ago
Clone
2803fc8
%ifarch %{ix86}
2803fc8
%global kvm_package   system-x86
b26fb5a
# need_qemu_kvm should only ever be used by x86
2803fc8
%global need_qemu_kvm 1
2803fc8
%endif
2803fc8
%ifarch x86_64
2803fc8
%global kvm_package   system-x86
b26fb5a
# need_qemu_kvm should only ever be used by x86
2803fc8
%global need_qemu_kvm 1
2803fc8
%endif
8dd6b5e
%ifarch %{power64}
2803fc8
%global kvm_package   system-ppc
2803fc8
%endif
31c6335
%ifarch s390x
31c6335
%global kvm_package   system-s390x
31c6335
%endif
4413400
%ifarch armv7hl
4413400
%global kvm_package   system-arm
4413400
%endif
21cd6fa
%ifarch aarch64
21cd6fa
%global kvm_package   system-aarch64
d43799b
%endif
504e254
%ifarch %{mips}
504e254
%global kvm_package   system-mips
504e254
%endif
d43799b
0835325
%global user_static 1
d52607e
# glibc static libs are fubar on i386, s390 & ppc64*
0835325
# https://bugzilla.redhat.com/show_bug.cgi?id=1352625
d52607e
%ifarch %{?ix86} s390 s390x %{power64}
0835325
%global user_static 0
0835325
%endif
0835325
d43799b
%global have_kvm 0
d43799b
%if 0%{?kvm_package:1}
d43799b
%global have_kvm 1
21cd6fa
%endif
2803fc8
504e254
%ifarch %{ix86} x86_64 %{arm} aarch64 %{power64} s390 s390x %{mips}
b26fb5a
%global have_seccomp 1
73731f9
%endif
73731f9
%ifarch %{ix86} x86_64
b26fb5a
%global have_spice   1
b26fb5a
%endif
b26fb5a
b26fb5a
# Xen is available only on i386 x86_64 (from libvirt spec)
b26fb5a
%ifarch %{ix86} x86_64
b26fb5a
%global have_xen 1
b26fb5a
%endif
b26fb5a
57dbb7a
# Matches edk2.spec ExclusiveArch
57dbb7a
%ifarch %{ix86} x86_64 %{arm} aarch64
57dbb7a
%global have_edk2 1
57dbb7a
%endif
57dbb7a
820948c
# If we can run qemu-sanity-check, hostqemu gets defined.
820948c
%ifarch %{arm}
820948c
%global hostqemu arm-softmmu/qemu-system-arm
820948c
%endif
820948c
%ifarch aarch64
820948c
%global hostqemu arm-softmmu/qemu-system-aarch64
820948c
%endif
820948c
%ifarch %{ix86}
820948c
%global hostqemu i386-softmmu/qemu-system-i386
820948c
%endif
820948c
%ifarch x86_64
820948c
%global hostqemu x86_64-softmmu/qemu-system-x86_64
820948c
%endif
820948c
ecbe006
# All block-* modules should be listed here.
ecbe006
%global requires_all_block_modules                               \
ecbe006
Requires: %{name}-block-curl = %{epoch}:%{version}-%{release}    \
ecbe006
Requires: %{name}-block-dmg = %{epoch}:%{version}-%{release}     \
ecbe006
Requires: %{name}-block-gluster = %{epoch}:%{version}-%{release} \
ecbe006
Requires: %{name}-block-iscsi = %{epoch}:%{version}-%{release}   \
151958b
Requires: %{name}-block-nfs = %{epoch}:%{version}-%{release}     \
ecbe006
Requires: %{name}-block-rbd = %{epoch}:%{version}-%{release}     \
ecbe006
Requires: %{name}-block-ssh = %{epoch}:%{version}-%{release}
ecbe006
0835325
# Temp hack for https://bugzilla.redhat.com/show_bug.cgi?id=1343892
0835325
# We'll manually turn on hardened build later in this spec
0835325
%undefine _hardened_build
0835325
4097206
# Release candidate version tracking
151958b
%global rcver rc2
4097206
%if 0%{?rcver:1}
e200903
%global rcrel .%{rcver}
4097206
%global rcstr -%{rcver}
4097206
%endif
4097206
3400e70
5c37348
Summary: QEMU is a FAST! processor emulator
5c37348
Name: qemu
151958b
Version: 2.8.0
151958b
Release: 0.1%{?rcrel}%{?dist}
Glauber Costa 9235f99
Epoch: 2
913ab98
License: GPLv2+ and LGPLv2+ and BSD
5c37348
Group: Development/Tools
67348d7
URL: http://www.qemu.org/
3304918
4097206
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}%{?rcstr}.tar.bz2
0c846be
603dd66
Source1: qemu.binfmt
b112209
b112209
# Creates /dev/kvm
fc8b74d
Source3: 80-kvm.rules
cd8d5cb
# KSM control scripts
603dd66
Source4: ksm.service
b112209
Source5: ksm.sysconfig
603dd66
Source6: ksmctl.c
603dd66
Source7: ksmtuned.service
603dd66
Source8: ksmtuned
603dd66
Source9: ksmtuned.conf
c752245
# guest agent service
1ad1f9a
Source10: qemu-guest-agent.service
c752245
# guest agent udev rules
1ad1f9a
Source11: 99-qemu-guest-agent.rules
c752245
# /etc/qemu/bridge.conf
773d5bd
Source12: bridge.conf
c752245
# qemu-kvm back compat wrapper installed as /usr/bin/qemu-kvm
96a5f8d
Source13: qemu-kvm.sh
c752245
# /etc/modprobe.d/kvm.conf
dda6c38
Source20: kvm.conf
c752245
# /etc/sysctl.d/50-kvm-s390x.conf
c752245
Source21: 50-kvm-s390x.conf
d19693d
# /etc/security/limits.d/95-kvm-ppc64-memlock.conf
d19693d
Source22: 95-kvm-ppc64-memlock.conf
c752245
151958b
# Fix flickering display with boxes + wayland VM (bz #1392239)
151958b
# Posted, but not yet upstream
151958b
Patch0001: 0001-qxl-Only-emit-QXL_INTERRUPT_CLIENT_MONITORS_CONFIG-o.patch
a2729a2
837eb7e
# documentation deps
837eb7e
BuildRequires: texi2html
837eb7e
BuildRequires: texinfo
837eb7e
# For /usr/bin/pod2man
837eb7e
BuildRequires: perl-podlators
837eb7e
# For sanity test
837eb7e
BuildRequires: qemu-sanity-check-nodeps
837eb7e
BuildRequires: kernel
837eb7e
# For acpi compilation
837eb7e
BuildRequires: iasl
837eb7e
# For chrpath calls in specfile
837eb7e
BuildRequires: chrpath
837eb7e
837eb7e
# -display sdl support
b440863
BuildRequires: SDL2-devel
837eb7e
# used in various places for compression
b6dd5ac
BuildRequires: zlib-devel
837eb7e
# used in various places for crypto
b6dd5ac
BuildRequires: gnutls-devel
837eb7e
# VNC sasl auth support
b6dd5ac
BuildRequires: cyrus-sasl-devel
837eb7e
# aio implementation for block drivers
3a55055
BuildRequires: libaio-devel
837eb7e
# pulseaudio audio output
6d887bd
BuildRequires: pulseaudio-libs-devel
ecee1ec
# alsa audio output
ecee1ec
BuildRequires: alsa-lib-devel
837eb7e
# iscsi drive support
625ba4a
BuildRequires: libiscsi-devel
837eb7e
# NFS drive support
4097206
BuildRequires: libnfs-devel
837eb7e
# snappy compression for memory dump
4097206
BuildRequires: snappy-devel
837eb7e
# lzo compression for memory dump
4097206
BuildRequires: lzo-devel
837eb7e
# needed for -display curses
62fb375
BuildRequires: ncurses-devel
837eb7e
# used by 9pfs
2af28c1
BuildRequires: libattr-devel
837eb7e
BuildRequires: libcap-devel
837eb7e
# used by qemu-bridge-helper
837eb7e
BuildRequires: libcap-ng-devel
837eb7e
# spice usb redirection support
5ba1a77
BuildRequires: usbredir-devel >= 0.5.2
94a40ce
%ifnarch s390 s390x
837eb7e
# tcmalloc support
af53ec6
BuildRequires: gperftools-devel
94a40ce
%endif
2803fc8
%if 0%{?have_spice:1}
837eb7e
# spice graphics support
ca70dc3
BuildRequires: spice-protocol >= 0.12.2
ca70dc3
BuildRequires: spice-server-devel >= 0.12.0
2803fc8
%endif
2803fc8
%if 0%{?have_seccomp:1}
837eb7e
# seccomp containment support
73731f9
BuildRequires: libseccomp-devel >= 2.3.0
0516054
%endif
a930507
# For network block driver
4a7239a
BuildRequires: libcurl-devel
25a35cc
# For rbd block driver
f950cd7
BuildRequires: ceph-devel >= 0.61
7b1d660
# We need both because the 'stap' binary is probed for by configure
7b1d660
BuildRequires: systemtap
7b1d660
BuildRequires: systemtap-sdt-devel
eaebe44
# For VNC JPEG support
eaebe44
BuildRequires: libjpeg-devel
eaebe44
# For VNC PNG support
eaebe44
BuildRequires: libpng-devel
eaebe44
# For uuid generation
eaebe44
BuildRequires: libuuid-devel
eaebe44
# For BlueZ device support
eaebe44
BuildRequires: bluez-libs-devel
eaebe44
# For Braille device support
eaebe44
BuildRequires: brlapi-devel
eaebe44
# For FDT device tree support
eaebe44
BuildRequires: libfdt-devel
7e50c47
# Hard requirement for version >= 1.3
7e50c47
BuildRequires: pixman-devel
af14887
# For gluster support
af14887
BuildRequires: glusterfs-devel >= 3.4.0
af14887
BuildRequires: glusterfs-api-devel >= 3.4.0
7fae7fb
# Needed for usb passthrough for qemu >= 1.5
7fae7fb
BuildRequires: libusbx-devel
7fae7fb
# SSH block driver
7fae7fb
BuildRequires: libssh2-devel
7fae7fb
# GTK frontend
7fae7fb
BuildRequires: gtk3-devel
6f55752
BuildRequires: vte291-devel
b9a8d04
# GTK translations
b9a8d04
BuildRequires: gettext
76dcac3
# RDMA migration
52cf046
%ifnarch s390 s390x
76dcac3
BuildRequires: librdmacm-devel
52cf046
%endif
c277043
%if 0%{?have_xen:1}
837eb7e
# Xen support
3400e70
BuildRequires: xen-devel
3400e70
%endif
c277043
%ifarch %{ix86} x86_64 aarch64
837eb7e
# qemu 2.1: needed for memdev hostmem backend
145f8dc
BuildRequires: numactl-devel
ad339ad
%endif
837eb7e
# qemu 2.3: reading bzip2 compressed dmg images
8055ee2
BuildRequires: bzip2-devel
837eb7e
# qemu 2.4: needed for opengl bits
1ae1f09
BuildRequires: libepoxy-devel
837eb7e
# qemu 2.5: needed for TLS test suite
88b3793
BuildRequires: libtasn1-devel
837eb7e
# qemu 2.5: libcacard is it's own project now
88b3793
BuildRequires: libcacard-devel >= 2.5.0
837eb7e
# qemu 2.5: virgl 3d support
88b3793
BuildRequires: virglrenderer-devel
837eb7e
# qemu 2.6: Needed for gtk GL support
fa6cd1d
BuildRequires: mesa-libgbm-devel
8055ee2
0835325
BuildRequires: glibc-static pcre-static glib2-static zlib-static
0835325
820948c
%if 0%{?hostqemu:1}
820948c
# For complicated reasons, this is required so that
820948c
# /bin/kernel-install puts the kernel directly into /boot, instead of
820948c
# into a /boot/<machine-id> subdirectory (in Fedora >= 23).  This is
820948c
# so we can run qemu-sanity-check.  Read the kernel-install script to
820948c
# understand why.
820948c
BuildRequires: grubby
820948c
%endif
7e50c47
c277043
Requires: %{name}-user = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-alpha = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-lm32 = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-microblaze = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-or32 = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-s390x = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-unicore32 = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-moxie = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-aarch64 = %{epoch}:%{version}-%{release}
c277043
Requires: %{name}-system-tricore = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-img = %{epoch}:%{version}-%{release}
Glauber Costa 8571d06
Glauber Costa 485711f
5c37348
%description
67348d7
QEMU is a generic and open source processor emulator which achieves a good
67348d7
emulation speed by using dynamic translation. QEMU has two operating modes:
5c37348
67348d7
 * Full system emulation. In this mode, QEMU emulates a full system (for
67348d7
   example a PC), including a processor and various peripherials. It can be
67348d7
   used to launch different Operating Systems without rebooting the PC or
67348d7
   to debug system code.
5c37348
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
67348d7
   for one CPU on another CPU.
5c37348
67348d7
As QEMU requires no host kernel patches to run, it is safe and easy to use.
5c37348
c277043
Glauber Costa 9235f99
%package  common
Glauber Costa 9235f99
Summary: QEMU common files needed by all QEMU targets
Glauber Costa 9235f99
Group: Development/Tools
6d739f7
Requires(post): /usr/bin/getent
6d739f7
Requires(post): /usr/sbin/groupadd
6d739f7
Requires(post): /usr/sbin/useradd
5439f9b
Requires(post): systemd-units
5439f9b
Requires(preun): systemd-units
5439f9b
Requires(postun): systemd-units
f950cd7
Glauber Costa 9235f99
%description common
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the common files needed by all QEMU targets
Glauber Costa 485711f
c277043
48e07c5
%package -n ksm
48e07c5
Summary: Kernel Samepage Merging services
48e07c5
Group: Development/Tools
48e07c5
Requires(post): systemd-units
48e07c5
Requires(postun): systemd-units
48e07c5
%description -n ksm
48e07c5
Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature,
48e07c5
that merges anonymous (private) pages (not pagecache ones).
48e07c5
48e07c5
This package provides service files for disabling and tuning KSM.
48e07c5
48e07c5
1ad1f9a
%package guest-agent
1ad1f9a
Summary: QEMU guest agent
1ad1f9a
Group: System Environment/Daemons
1ad1f9a
Requires(post): systemd-units
1ad1f9a
Requires(preun): systemd-units
1ad1f9a
Requires(postun): systemd-units
1ad1f9a
1ad1f9a
%description guest-agent
1ad1f9a
QEMU is a generic and open source processor emulator which achieves a good
1ad1f9a
emulation speed by using dynamic translation.
1ad1f9a
1ad1f9a
This package provides an agent to run inside guests, which communicates
1ad1f9a
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
1ad1f9a
1ad1f9a
This package does not need to be installed on the host OS.
1ad1f9a
1ad1f9a
48e07c5
%package  img
48e07c5
Summary: QEMU command line tool for manipulating disk images
48e07c5
Group: Development/Tools
1ad1f9a
48e07c5
%description img
48e07c5
This package provides a command line tool for manipulating disk images
1ad1f9a
1ad1f9a
ecbe006
%package  block-curl
ecbe006
Summary: QEMU CURL block driver
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description block-curl
ecbe006
This package provides the additional CURL block driver for QEMU.
ecbe006
ecbe006
Install this package if you want to access remote disks over
ecbe006
http, https, ftp and other transports provided by the CURL library.
ecbe006
ecbe006
ecbe006
%package  block-dmg
ecbe006
Summary: QEMU block driver for DMG disk images
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description block-dmg
ecbe006
This package provides the additional DMG block driver for QEMU.
ecbe006
ecbe006
Install this package if you want to open '.dmg' files.
ecbe006
ecbe006
ecbe006
%package  block-gluster
ecbe006
Summary: QEMU Gluster block driver
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description block-gluster
ecbe006
This package provides the additional Gluster block driver for QEMU.
ecbe006
ecbe006
Install this package if you want to access remote Gluster storage.
ecbe006
ecbe006
ecbe006
%package  block-iscsi
ecbe006
Summary: QEMU iSCSI block driver
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description block-iscsi
ecbe006
This package provides the additional iSCSI block driver for QEMU.
ecbe006
ecbe006
Install this package if you want to access iSCSI volumes.
ecbe006
ecbe006
151958b
%package  block-nfs
151958b
Summary: QEMU NFS block driver
151958b
Group: Development/Tools
151958b
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
151958b
151958b
%description block-nfs
151958b
This package provides the additional NFS block driver for QEMU.
151958b
151958b
Install this package if you want to access remote NFS storage.
151958b
151958b
ecbe006
%package  block-rbd
ecbe006
Summary: QEMU Ceph/RBD block driver
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description block-rbd
ecbe006
This package provides the additional Ceph/RBD block driver for QEMU.
ecbe006
ecbe006
Install this package if you want to access remote Ceph volumes
ecbe006
using the rbd protocol.
ecbe006
ecbe006
ecbe006
%package  block-ssh
ecbe006
Summary: QEMU SSH block driver
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description block-ssh
ecbe006
This package provides the additional SSH block driver for QEMU.
ecbe006
ecbe006
Install this package if you want to access remote disks using
ecbe006
the Secure Shell (SSH) protocol.
ecbe006
ecbe006
48e07c5
%package -n ivshmem-tools
48e07c5
Summary: Client and server for QEMU ivshmem device
979ec18
Group: Development/Tools
979ec18
48e07c5
%description -n ivshmem-tools
48e07c5
This package provides client and server tools for QEMU's ivshmem device.
48e07c5
48e07c5
48e07c5
%if %{have_kvm}
48e07c5
%package kvm
48e07c5
Summary: QEMU metapackage for KVM support
48e07c5
Group: Development/Tools
48e07c5
Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
48e07c5
48e07c5
%description kvm
48e07c5
This is a meta-package that provides a qemu-system-<arch> package for native
48e07c5
architectures where kvm can be enabled. For example, in an x86 system, this
48e07c5
will install qemu-system-x86
ecbe006
ecbe006
ecbe006
%package kvm-core
ecbe006
Summary: QEMU metapackage for KVM support
ecbe006
Group: Development/Tools
ecbe006
Requires: qemu-%{kvm_package}-core = %{epoch}:%{version}-%{release}
ecbe006
ecbe006
%description kvm-core
ecbe006
This is a meta-package that provides a qemu-system-<arch>-core package
ecbe006
for native architectures where kvm can be enabled. For example, in an
ecbe006
x86 system, this will install qemu-system-x86-core
48e07c5
%endif
979ec18
979ec18
c277043
%package user
Glauber Costa 9235f99
Summary: QEMU user mode emulation of qemu targets
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
5439f9b
Requires(post): systemd-units
5439f9b
Requires(postun): systemd-units
0835325
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
9e71574
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
0835325
c277043
%description user
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 485711f
Glauber Costa 9235f99
This package provides the user mode emulation of qemu targets
Glauber Costa 9235f99
c277043
0835325
%package user-binfmt
0835325
Summary: QEMU user mode emulation of qemu targets
0835325
Group: Development/Tools
0835325
Requires: %{name}-user = %{epoch}:%{version}-%{release}
0835325
Requires(post): systemd-units
0835325
Requires(postun): systemd-units
0835325
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
0835325
Conflicts: %{name}-user-static
0835325
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
9e71574
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
0835325
0835325
%description user-binfmt
0835325
QEMU is a generic and open source processor emulator which achieves a good
0835325
emulation speed by using dynamic translation.
0835325
0835325
This package provides the user mode emulation of qemu targets
0835325
0835325
%if %{user_static}
0835325
%package user-static
0835325
Summary: QEMU user mode emulation of qemu targets static build
0835325
Group: Development/Tools
0835325
Requires: %{name}-common = %{epoch}:%{version}-%{release}
0835325
Requires(post): systemd-units
0835325
Requires(postun): systemd-units
0835325
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
0835325
Conflicts: %{name}-user-binfmt
0835325
Provides: %{name}-user-binfmt
0835325
0835325
%description user-static
0835325
QEMU is a generic and open source processor emulator which achieves a good
0835325
emulation speed by using dynamic translation.
0835325
0835325
This package provides the user mode emulation of qemu targets built as
0835325
static binaries
0835325
%endif
0835325
ecbe006
c277043
%package system-x86
Glauber Costa 9235f99
Summary: QEMU system emulator for x86
Glauber Costa 9235f99
Group: Development/Tools
ecbe006
Requires: %{name}-system-x86-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
ecbe006
ecbe006
%description system-x86
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for x86. When being run in a x86
ecbe006
machine that supports it, this package also provides the KVM virtualization
ecbe006
platform.
ecbe006
ecbe006
ecbe006
%package system-x86-core
ecbe006
Summary: QEMU system emulator for x86
ecbe006
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 0c2ec92
Provides: kvm = 85
Glauber Costa 9235f99
Obsoletes: kvm < 85
49c3b9c
Requires: seavgabios-bin
6ce0be8
# virtio-blk booting is broken for Windows guests
6ce0be8
# if you mix seabios 1.7.4 and qemu 2.1.x
6ce0be8
Requires: seabios-bin >= 1.7.5
27c3309
Requires: sgabios-bin
c277043
Requires: ipxe-roms-qemu
57dbb7a
%if 0%{?have_edk2:1}
f9730da
Requires: edk2-ovmf
57dbb7a
%endif
5059f25
%if 0%{?have_seccomp:1}
5a454ef
Requires: libseccomp >= 1.0.0
5059f25
%endif
Glauber Costa 9235f99
c277043
ecbe006
%description system-x86-core
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 4da298f
This package provides the system emulator for x86. When being run in a x86
Glauber Costa 4da298f
machine that supports it, this package also provides the KVM virtualization
Glauber Costa 4da298f
platform.
Glauber Costa 9235f99
c277043
c277043
%package system-alpha
c32efea
Summary: QEMU system emulator for Alpha
c32efea
Group: Development/Tools
ecbe006
Requires: %{name}-system-alpha-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-alpha
c32efea
QEMU is a generic and open source processor emulator which achieves a good
c32efea
emulation speed by using dynamic translation.
c32efea
c32efea
This package provides the system emulator for Alpha systems.
c32efea
ecbe006
%package system-alpha-core
ecbe006
Summary: QEMU system emulator for Alpha
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-alpha-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for Alpha systems.
ecbe006
c277043
c277043
%package system-arm
40e61a7
Summary: QEMU system emulator for ARM
Glauber Costa 9235f99
Group: Development/Tools
ecbe006
Requires: %{name}-system-arm-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-arm
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
ecbe006
This package provides the system emulator for ARM systems.
ecbe006
ecbe006
%package system-arm-core
ecbe006
Summary: QEMU system emulator for ARM
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-arm-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
40e61a7
This package provides the system emulator for ARM boards.
Glauber Costa 9235f99
c277043
c277043
%package system-mips
40e61a7
Summary: QEMU system emulator for MIPS
Glauber Costa 9235f99
Group: Development/Tools
ecbe006
Requires: %{name}-system-mips-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-mips
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
ecbe006
This package provides the system emulator for MIPS systems.
ecbe006
ecbe006
%package system-mips-core
ecbe006
Summary: QEMU system emulator for MIPS
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-mips-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
40e61a7
This package provides the system emulator for MIPS boards.
Glauber Costa 485711f
c277043
c277043
%package system-cris
40e61a7
Summary: QEMU system emulator for CRIS
bc9e714
Group: Development/Tools
ecbe006
Requires: %{name}-system-cris-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-cris
bc9e714
QEMU is a generic and open source processor emulator which achieves a good
bc9e714
emulation speed by using dynamic translation.
Glauber Costa 9235f99
ecbe006
This package provides the system emulator for CRIS systems.
ecbe006
ecbe006
%package system-cris-core
ecbe006
Summary: QEMU system emulator for CRIS
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-cris-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
40e61a7
This package provides the system emulator for CRIS boards.
40e61a7
c277043
c277043
%package system-lm32
40e61a7
Summary: QEMU system emulator for LatticeMico32
40e61a7
Group: Development/Tools
ecbe006
Requires: %{name}-system-lm32-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-lm32
40e61a7
QEMU is a generic and open source processor emulator which achieves a good
40e61a7
emulation speed by using dynamic translation.
40e61a7
ecbe006
This package provides the system emulator for LatticeMico32 systems.
ecbe006
ecbe006
%package system-lm32-core
ecbe006
Summary: QEMU system emulator for LatticeMico32
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-lm32-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
40e61a7
This package provides the system emulator for LatticeMico32 boards.
Glauber Costa 9235f99
c277043
c277043
%package system-m68k
40e61a7
Summary: QEMU system emulator for ColdFire (m68k)
Glauber Costa 9235f99
Group: Development/Tools
ecbe006
Requires: %{name}-system-m68k-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-m68k
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
40e61a7
This package provides the system emulator for ColdFire boards.
40e61a7
ecbe006
%package system-m68k-core
ecbe006
Summary: QEMU system emulator for ColdFire (m68k)
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-m68k-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for ColdFire boards.
ecbe006
c277043
c277043
%package system-microblaze
c32efea
Summary: QEMU system emulator for Microblaze
c32efea
Group: Development/Tools
ecbe006
Requires: %{name}-system-microblaze-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-microblaze
c32efea
QEMU is a generic and open source processor emulator which achieves a good
c32efea
emulation speed by using dynamic translation.
c32efea
c32efea
This package provides the system emulator for Microblaze boards.
c32efea
ecbe006
%package system-microblaze-core
ecbe006
Summary: QEMU system emulator for Microblaze
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-microblaze-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for Microblaze boards.
ecbe006
c277043
c277043
%package system-or32
40e61a7
Summary: QEMU system emulator for OpenRisc32
40e61a7
Group: Development/Tools
ecbe006
Requires: %{name}-system-or32-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-or32
40e61a7
QEMU is a generic and open source processor emulator which achieves a good
40e61a7
emulation speed by using dynamic translation.
40e61a7
40e61a7
This package provides the system emulator for OpenRisc32 boards.
36ffedc
ecbe006
%package system-or32-core
ecbe006
Summary: QEMU system emulator for OpenRisc32
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-or32-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for OpenRisc32 boards.
ecbe006
c277043
c277043
%package system-s390x
c32efea
Summary: QEMU system emulator for S390
c32efea
Group: Development/Tools
ecbe006
Requires: %{name}-system-s390x-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-s390x
c32efea
QEMU is a generic and open source processor emulator which achieves a good
c32efea
emulation speed by using dynamic translation.
c32efea
c32efea
This package provides the system emulator for S390 systems.
c32efea
ecbe006
%package system-s390x-core
ecbe006
Summary: QEMU system emulator for S390
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-s390x-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for S390 systems.
ecbe006
c277043
c277043
%package system-sh4
40e61a7
Summary: QEMU system emulator for SH4
Glauber Costa 9235f99
Group: Development/Tools
ecbe006
Requires: %{name}-system-sh4-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-sh4
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
40e61a7
This package provides the system emulator for SH4 boards.
57c57a1
ecbe006
%package system-sh4-core
ecbe006
Summary: QEMU system emulator for SH4
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-sh4-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for SH4 boards.
ecbe006
c277043
c277043
%package system-sparc
40e61a7
Summary: QEMU system emulator for SPARC
57c57a1
Group: Development/Tools
ecbe006
Requires: %{name}-system-sparc-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
ecbe006
%description system-sparc
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for SPARC and SPARC64 systems.
ecbe006
ecbe006
%package system-sparc-core
ecbe006
Summary: QEMU system emulator for SPARC
ecbe006
Group: Development/Tools
57c57a1
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57c57a1
Requires: openbios
ecbe006
%description system-sparc-core
57c57a1
QEMU is a generic and open source processor emulator which achieves a good
57c57a1
emulation speed by using dynamic translation.
57c57a1
40e61a7
This package provides the system emulator for SPARC and SPARC64 systems.
57c57a1
c277043
c277043
%package system-ppc
57c57a1
Summary: QEMU system emulator for PPC
57c57a1
Group: Development/Tools
ecbe006
Requires: %{name}-system-ppc-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
ecbe006
%description system-ppc
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for PPC and PPC64 systems.
ecbe006
ecbe006
%package system-ppc-core
ecbe006
Summary: QEMU system emulator for PPC
ecbe006
Group: Development/Tools
57c57a1
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57c57a1
Requires: openbios
c277043
Requires: SLOF
ecbe006
%description system-ppc-core
57c57a1
QEMU is a generic and open source processor emulator which achieves a good
57c57a1
emulation speed by using dynamic translation.
57c57a1
40e61a7
This package provides the system emulator for PPC and PPC64 systems.
40e61a7
c277043
c277043
%package system-xtensa
40e61a7
Summary: QEMU system emulator for Xtensa
40e61a7
Group: Development/Tools
ecbe006
Requires: %{name}-system-xtensa-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-xtensa
40e61a7
QEMU is a generic and open source processor emulator which achieves a good
40e61a7
emulation speed by using dynamic translation.
40e61a7
40e61a7
This package provides the system emulator for Xtensa boards.
40e61a7
ecbe006
%package system-xtensa-core
ecbe006
Summary: QEMU system emulator for Xtensa
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-xtensa-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for Xtensa boards.
ecbe006
c277043
c277043
%package system-unicore32
40e61a7
Summary: QEMU system emulator for Unicore32
40e61a7
Group: Development/Tools
ecbe006
Requires: %{name}-system-xtensa-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-unicore32
40e61a7
QEMU is a generic and open source processor emulator which achieves a good
40e61a7
emulation speed by using dynamic translation.
40e61a7
40e61a7
This package provides the system emulator for Unicore32 boards.
36ffedc
ecbe006
%package system-unicore32-core
ecbe006
Summary: QEMU system emulator for Unicore32
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-unicore32-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for Unicore32 boards.
ecbe006
c277043
c277043
%package system-moxie
7fae7fb
Summary: QEMU system emulator for Moxie
7fae7fb
Group: Development/Tools
ecbe006
Requires: %{name}-system-moxie-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-moxie
7fae7fb
QEMU is a generic and open source processor emulator which achieves a good
7fae7fb
emulation speed by using dynamic translation.
7fae7fb
7fae7fb
This package provides the system emulator for Moxie boards.
7fae7fb
ecbe006
%package system-moxie-core
ecbe006
Summary: QEMU system emulator for Moxie
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-moxie-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for Moxie boards.
ecbe006
c277043
c277043
%package system-aarch64
21cd6fa
Summary: QEMU system emulator for AArch64
21cd6fa
Group: Development/Tools
ecbe006
Requires: %{name}-system-aarch64-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
ecbe006
%description system-aarch64
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for AArch64.
ecbe006
ecbe006
%package system-aarch64-core
ecbe006
Summary: QEMU system emulator for AArch64
ecbe006
Group: Development/Tools
21cd6fa
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57dbb7a
%if 0%{?have_edk2:1}
f9730da
Requires: edk2-aarch64
57dbb7a
%endif
ecbe006
%description system-aarch64-core
21cd6fa
QEMU is a generic and open source processor emulator which achieves a good
21cd6fa
emulation speed by using dynamic translation.
21cd6fa
21cd6fa
This package provides the system emulator for AArch64.
21cd6fa
c277043
c277043
%package system-tricore
2593936
Summary: QEMU system emulator for tricore
2593936
Group: Development/Tools
ecbe006
Requires: %{name}-system-aarch64-core = %{epoch}:%{version}-%{release}
ecbe006
%{requires_all_block_modules}
c277043
%description system-tricore
2593936
QEMU is a generic and open source processor emulator which achieves a good
2593936
emulation speed by using dynamic translation.
2593936
2593936
This package provides the system emulator for Tricore.
2593936
ecbe006
%package system-tricore-core
ecbe006
Summary: QEMU system emulator for tricore
ecbe006
Group: Development/Tools
ecbe006
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe006
%description system-tricore-core
ecbe006
QEMU is a generic and open source processor emulator which achieves a good
ecbe006
emulation speed by using dynamic translation.
ecbe006
ecbe006
This package provides the system emulator for Tricore.
ecbe006
21cd6fa
c277043
5c37348
%prep
4097206
%setup -q -n qemu-%{version}%{?rcstr}
af53ec6
%autopatch -p1
355b03e
Alon Levy c8a79ad
5c37348
%build
c277043
749c3c4
# QEMU already knows how to set _FORTIFY_SOURCE
749c3c4
%global optflags %(echo %{optflags} | sed 's/-Wp,-D_FORTIFY_SOURCE=2//')
749c3c4
c277043
# drop -g flag to prevent memory exhaustion by linker
c277043
%ifarch s390
c277043
%global optflags %(echo %{optflags} | sed 's/-g//')
c277043
sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
c277043
%endif
c277043
c277043
# OOM killer breaks builds with parallel make on s390(x)
c277043
%ifarch s390 s390x
e8a6e4f
%global _smp_mflags %{nil}
c277043
%endif
c277043
c277043
c277043
# --build-id option is used for giving info to the debug packages.
c277043
extraldflags="-Wl,--build-id";
c277043
buildldflags="VL_LDFLAGS=-Wl,--build-id"
c277043
c277043
# As of qemu 2.1, --enable-trace-backends supports multiple backends,
c277043
# but there's a performance impact for non-dtrace so we don't use them
c277043
tracebackends="dtrace"
c277043
0835325
system_arch="\
0835325
  aarch64 \
0835325
  alpha \
0835325
  arm \
0835325
  cris \
0835325
  i386 \
0835325
  lm32 \
0835325
  m68k \
0835325
  microblaze \
0835325
  microblazeel \
0835325
  mips \
0835325
  mips64 \
0835325
  mips64el \
0835325
  mipsel \
0835325
  moxie \
0835325
  or32 \
0835325
  ppc \
0835325
  ppc64 \
0835325
  ppcemb \
0835325
  s390x \
0835325
  sh4 \
0835325
  sh4eb \
0835325
  sparc \
0835325
  sparc64 \
0835325
  tricore \
0835325
  unicore32 \
0835325
  x86_64 \
0835325
  xtensa \
0835325
  xtensaeb"
0835325
0835325
user_arch="\
0835325
  aarch64 \
0835325
  alpha \
0835325
  arm \
0835325
  armeb \
0835325
  cris \
0835325
  i386 \
0835325
  m68k \
0835325
  microblaze \
0835325
  microblazeel \
0835325
  mips \
0835325
  mips64 \
0835325
  mips64el \
0835325
  mipsel \
0835325
  mipsn32 \
0835325
  mipsn32el \
0835325
  or32 \
0835325
  ppc \
0835325
  ppc64 \
0835325
  ppc64abi32 \
0835325
  ppc64le \
0835325
  s390x \
0835325
  sh4 \
0835325
  sh4eb \
0835325
  sparc \
0835325
  sparc32plus \
0835325
  sparc64 \
0835325
  x86_64"
0835325
0835325
dynamic_targets=
0835325
static_targets=
0835325
0835325
for arch in $system_arch
0835325
do
0835325
  dynamic_targets="$dynamic_targets $arch-softmmu"
0835325
done
0835325
0835325
for arch in $user_arch
0835325
do
0835325
  dynamic_targets="$dynamic_targets $arch-linux-user"
0835325
  static_targets="$static_targets $arch-linux-user"
0835325
done
0835325
ad339ad
94a40ce
# gperftools providing tcmalloc is not ported to s390(x)
260c0ac
%ifarch s390 s390x
e8a6e4f
    %global tcmallocflag --disable-tcmalloc
7bf3158
%else
e8a6e4f
    %global tcmallocflag --enable-tcmalloc
7bf3158
%endif
7bf3158
bcb37b2
%if 0%{?have_spice:1}
e8a6e4f
    %global spiceflag --enable-spice
d4803fe
%else
e8a6e4f
    %global spiceflag --disable-spice
d4803fe
%endif
7bf3158
84eeb10
run_configure() {
84eeb10
    ../configure \
84eeb10
        --prefix=%{_prefix} \
84eeb10
        --libdir=%{_libdir} \
84eeb10
        --sysconfdir=%{_sysconfdir} \
84eeb10
        --interp-prefix=%{_prefix}/qemu-%%M \
84eeb10
        --localstatedir=%{_localstatedir} \
84eeb10
        --libexecdir=%{_libexecdir} \
84eeb10
        --with-pkgversion=%{name}-%{version}-%{release} \
84eeb10
        --disable-strip \
84eeb10
        --disable-werror \
84eeb10
        --enable-kvm \
84eeb10
%ifarch s390 %{mips64}
84eeb10
        --enable-tcg-interpreter \
84eeb10
%endif
84eeb10
        --enable-trace-backend=$tracebackends \
84eeb10
        --disable-xfsctl \
84eeb10
        "$@" || cat config.log
84eeb10
}
84eeb10
0835325
mkdir build-dynamic
0835325
pushd build-dynamic
0835325
84eeb10
run_configure \
a6c4500
%ifnarch aarch64
0835325
    --extra-ldflags="$extraldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -Wl,-z,relro -Wl,-z,now" \
b68b5fe
%else
0835325
    --extra-ldflags="$extraldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" \
806ecbe
%endif
b68b5fe
    --extra-cflags="%{optflags} -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" \
0835325
    --target-list="$dynamic_targets" \
84eeb10
    --enable-pie \
ecbe006
    --enable-modules \
84eeb10
    --audio-drv-list=pa,sdl,alsa,oss \
84eeb10
    --tls-priority=@QEMU,SYSTEM \
7bf3158
    %{tcmallocflag} \
d4803fe
    %{spiceflag} \
b440863
    --with-sdlabi="2.0" \
84eeb10
    --with-gtkabi="3.0"
Glauber Costa 8571d06
ac843bf
echo "config-host.mak contents:"
ac843bf
echo "==="
ac843bf
cat config-host.mak
ac843bf
echo "==="
71430da
ac843bf
make V=1 %{?_smp_mflags} $buildldflags
71430da
0835325
popd
0835325
0835325
%if %{user_static}
0835325
mkdir build-static
0835325
pushd build-static
0835325
84eeb10
run_configure \
0835325
%ifnarch aarch64
0835325
    --extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
b68b5fe
%else
0835325
    --extra-ldflags="$extraldflags" \
0835325
%endif
b68b5fe
    --extra-cflags="%{optflags}" \
0835325
    --target-list="$static_targets" \
0835325
    --static \
84eeb10
    --disable-pie \
0835325
    --disable-tcmalloc \
0835325
    --disable-sdl \
0835325
    --disable-gtk \
0835325
    --disable-spice \
0835325
    --disable-tools \
0835325
    --disable-guest-agent \
0835325
    --disable-guest-agent-msi \
0835325
    --disable-curses \
0835325
    --disable-curl \
0835325
    --disable-gnutls \
0835325
    --disable-gcrypt \
0835325
    --disable-nettle \
0835325
    --disable-cap-ng \
0835325
    --disable-brlapi \
84eeb10
    --disable-libnfs
0835325
0835325
make V=1 %{?_smp_mflags} $buildldflags
0835325
0835325
popd
0835325
%endif
0835325
c277043
gcc %{_sourcedir}/ksmctl.c -O2 -g -o ksmctl
603dd66
603dd66
5c37348
%install
5c37348
e8a6e4f
%global _udevdir /lib/udev/rules.d
e8a6e4f
%global qemudocdir %{_docdir}/%{name}
c277043
c277043
mkdir -p %{buildroot}%{_udevdir}
c277043
mkdir -p %{buildroot}%{_unitdir}
de45509
mkdir -p %{buildroot}%{_sysconfdir}/qemu
fbe43c5
c61e67e
install -D -p -m 0644 %{_sourcedir}/ksm.service %{buildroot}%{_unitdir}
c277043
install -D -p -m 0644 %{_sourcedir}/ksm.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/ksm
c61e67e
install -D -p -m 0755 ksmctl %{buildroot}%{_libexecdir}/ksmctl
b112209
c61e67e
install -D -p -m 0644 %{_sourcedir}/ksmtuned.service %{buildroot}%{_unitdir}
c277043
install -D -p -m 0755 %{_sourcedir}/ksmtuned %{buildroot}%{_sbindir}/ksmtuned
c277043
install -D -p -m 0644 %{_sourcedir}/ksmtuned.conf %{buildroot}%{_sysconfdir}/ksmtuned.conf
cd8d5cb
dda6c38
install -D -p -m 0644 %{_sourcedir}/kvm.conf %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
dda6c38
c277043
# Install qemu-guest-agent service and udev rules
c277043
install -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}
c277043
install -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevdir}
c277043
c752245
%ifarch s390x
c752245
install -d %{buildroot}%{_sysconfdir}/sysctl.d
b0b55fd
install -m 0644 %{_sourcedir}/50-kvm-s390x.conf %{buildroot}%{_sysconfdir}/sysctl.d
c752245
%endif
c752245
d19693d
%ifarch %{power64}
d19693d
install -d %{buildroot}%{_sysconfdir}/security/limits.d
8a58869
install -m 0644 %{_sourcedir}/95-kvm-ppc64-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d
d19693d
%endif
d19693d
c752245
c277043
# Install kvm specific bits
d43799b
%if %{have_kvm}
c277043
mkdir -p %{buildroot}%{_bindir}/
c277043
install -m 0644 %{_sourcedir}/80-kvm.rules %{buildroot}%{_udevdir}
Glauber Costa 9235f99
%endif
Glauber Costa 9235f99
0835325
%if %{user_static}
0835325
pushd build-static
0835325
make DESTDIR=%{buildroot} install
0835325
0835325
# Give all QEMU user emulators a -static suffix
0835325
for src in %{buildroot}%{_bindir}/qemu-*
0835325
do
0835325
  mv $src $src-static
0835325
done
0835325
0835325
# Update trace files to match
0835325
0835325
for src in %{buildroot}%{_datadir}/systemtap/tapset/qemu-*.stp
0835325
do
0835325
  dst=`echo $src | sed -e 's/.stp/-static.stp/'`
0835325
  mv $src $dst
0835325
  perl -i -p -e 's/(qemu-\w+)/$1-static/g; s/(qemu\.user\.\w+)/$1.static/g' $dst
0835325
done
0835325
c277043
0835325
popd
0835325
%endif
0835325
0835325
pushd build-dynamic
c277043
make DESTDIR=%{buildroot} install
0835325
popd
2803fc8
7fae7fb
%find_lang %{name}
7fae7fb
c277043
chmod -x %{buildroot}%{_mandir}/man1/*
c277043
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE
c277043
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
c277043
    ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
979ec18
done
b26fb5a
f81e738
%if 0%{?need_qemu_kvm}
b26fb5a
install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm
c277043
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz
f81e738
%endif
5c37348
c277043
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf
42af212
71430da
# Provided by package openbios
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64
71430da
# Provided by package SLOF
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
2803fc8
# Provided by package ipxe
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/efi*rom
d1a627e
# Provided by package seavgabios
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
2803fc8
# Provided by package seabios
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/bios.bin
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/bios-256k.bin
2803fc8
# Provided by package sgabios
c277043
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
Glauber Costa f0365cc
Glauber Costa f0365cc
pxe_link() {
e907ae4
  ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
7fae7fb
  ln -s ../ipxe.efi/$2.rom %{buildroot}%{_datadir}/%{name}/efi-$1.rom
Glauber Costa f0365cc
}
Glauber Costa f0365cc
990c3a7
pxe_link e1000 8086100e
e907ae4
pxe_link ne2k_pci 10ec8029
e907ae4
pxe_link pcnet 10222000
e907ae4
pxe_link rtl8139 10ec8139
e907ae4
pxe_link virtio 1af41000
ef34be9
pxe_link eepro100 80861209
ef34be9
pxe_link e1000e 808610d3
ef34be9
pxe_link vmxnet3 15ad07b0
71430da
71430da
rom_link() {
71430da
    ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
71430da
}
71430da
d1a627e
rom_link ../seavgabios/vgabios-isavga.bin vgabios.bin
d1a627e
rom_link ../seavgabios/vgabios-cirrus.bin vgabios-cirrus.bin
d1a627e
rom_link ../seavgabios/vgabios-qxl.bin vgabios-qxl.bin
d1a627e
rom_link ../seavgabios/vgabios-stdvga.bin vgabios-stdvga.bin
d1a627e
rom_link ../seavgabios/vgabios-vmware.bin vgabios-vmware.bin
de45509
rom_link ../seavgabios/vgabios-virtio.bin vgabios-virtio.bin
71430da
rom_link ../seabios/bios.bin bios.bin
ac843bf
rom_link ../seabios/bios-256k.bin bios-256k.bin
71430da
rom_link ../sgabios/sgabios.bin sgabios.bin
1ad1f9a
c277043
# Install binfmt
c277043
mkdir -p %{buildroot}%{_exec_prefix}/lib/binfmt.d
603dd66
for i in dummy \
603dd66
%ifnarch %{ix86} x86_64
45f96fe
    qemu-i386 \
603dd66
%endif
a96ffe8
%ifnarch alpha
a96ffe8
    qemu-alpha \
a96ffe8
%endif
0583426
%ifnarch aarch64
0583426
    qemu-aarch64 \
0583426
%endif
81a3da8
%ifnarch %{arm}
603dd66
    qemu-arm \
603dd66
%endif
a96ffe8
    qemu-armeb \
b049f16
    qemu-cris \
b049f16
    qemu-microblaze qemu-microblazeel \
504e254
%ifnarch mips64
504e254
    qemu-mips64 \
a96ffe8
%ifnarch mips
504e254
    qemu-mips \
504e254
%endif
a96ffe8
%endif
504e254
%ifnarch mips64el
504e254
    qemu-mips64el \
a96ffe8
%ifnarch mipsel
504e254
    qemu-mipsel \
504e254
%endif
a96ffe8
%endif
a96ffe8
%ifnarch m68k
a96ffe8
    qemu-m68k \
a96ffe8
%endif
8dd6b5e
%ifnarch ppc %{power64}
b049f16
    qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
603dd66
%endif
603dd66
%ifnarch sparc sparc64
b049f16
    qemu-sparc qemu-sparc32plus qemu-sparc64 \
603dd66
%endif
a96ffe8
%ifnarch s390 s390x
a96ffe8
    qemu-s390x \
a96ffe8
%endif
603dd66
%ifnarch sh4
603dd66
    qemu-sh4 \
603dd66
%endif
a96ffe8
    qemu-sh4eb \
603dd66
; do
603dd66
  test $i = dummy && continue
0835325
0835325
  grep /$i:\$ %{_sourcedir}/qemu.binfmt > %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-dynamic.conf
0835325
  chmod 644 %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-dynamic.conf
0835325
0835325
%if %{user_static}
Bastien Nocera b8878c0
  grep /$i:\$ %{_sourcedir}/qemu.binfmt | tr -d '\n' > %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
Bastien Nocera b8878c0
  echo "F" >> %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
Bastien Nocera b8878c0
  perl -i -p -e "s/$i:F/$i-static:F/" %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
0835325
  chmod 644 %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
0835325
%endif
0835325
c277043
done < %{_sourcedir}/qemu.binfmt
1ad1f9a
1ad1f9a
773d5bd
# Install rules to use the bridge helper with libvirt's virbr0
c277043
install -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/qemu
c277043
cf5f9d2
# When building using 'rpmbuild' or 'fedpkg local', RPATHs can be left in
dd16baa
# the binaries and libraries (although this doesn't occur when
cf5f9d2
# building in Koji, for some unknown reason). Some discussion here:
cf5f9d2
#
cf5f9d2
# https://lists.fedoraproject.org/pipermail/devel/2013-November/192553.html
cf5f9d2
#
cf5f9d2
# In any case it should always be safe to remove RPATHs from
cf5f9d2
# the final binaries:
c277043
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
c277043
         %{buildroot}%{_libexecdir}/*; do
0835325
  if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
dd16baa
done
dd16baa
ecbe006
# We need to make the block device modules executable else
ecbe006
# RPM won't pick up their dependencies.
ecbe006
chmod +x %{buildroot}%{_libdir}/qemu/block-*.so
ecbe006
c277043
6986e10
%check
c61e67e
89aacd5
# Tests are hanging on s390 as of 2.3.0
89aacd5
#   https://bugzilla.redhat.com/show_bug.cgi?id=1206057
198e142
# Tests seem to be a recurring problem on s390, so I'd suggest just leaving
198e142
# it disabled.
aa972b9
%global archs_skip_tests s390
c61e67e
%global archs_ignore_test_failures 0
c61e67e
ef34be9
pushd build-dynamic
c61e67e
%ifnarch %{archs_skip_tests}
198e142
198e142
# Check the binary runs (see eg RHBZ#998722).
198e142
b="./x86_64-softmmu/qemu-system-x86_64"
198e142
if [ -x "$b" ]; then "$b" -help; fi
198e142
c61e67e
%ifarch %{archs_ignore_test_failures}
d35cbd0
make check V=1
d35cbd0
%else
c61e67e
make check V=1 || :
c61e67e
%endif
1ad1f9a
820948c
%if 0%{?hostqemu:1}
5489198
# Sanity-check current kernel can boot on this qemu.
5489198
# The results are advisory only.
820948c
qemu-sanity-check --qemu=%{?hostqemu} ||:
5489198
%endif
c277043
198e142
%endif  # archs_skip_tests
ef34be9
popd
198e142
5489198
d43799b
%if %{have_kvm}
2803fc8
%post %{kvm_package}
41aca95
# Default /dev/kvm permissions are 660, we install a udev rule changing that
41aca95
# to 666. However trying to trigger the re-permissioning via udev has been
198e142
# a neverending source of trouble, so we just force it with chmod. For
41aca95
# more info see: https://bugzilla.redhat.com/show_bug.cgi?id=950436
41aca95
chmod --quiet 666 /dev/kvm || :
c752245
c752245
%ifarch s390x
c752245
%sysctl_apply 50-kvm-s390x.conf
c752245
%endif
Glauber Costa 8571d06
%endif
Glauber Costa 8571d06
c277043
cd8d5cb
%post common
cd8d5cb
getent group kvm >/dev/null || groupadd -g 36 -r kvm
cd8d5cb
getent group qemu >/dev/null || groupadd -g 107 -r qemu
cd8d5cb
getent passwd qemu >/dev/null || \
cd8d5cb
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
cd8d5cb
    -c "qemu user" qemu
cd8d5cb
c277043
979ec18
%post -n ksm
979ec18
%systemd_post ksm.service
979ec18
%systemd_post ksmtuned.service
979ec18
%preun -n ksm
6986e10
%systemd_preun ksm.service
6986e10
%systemd_preun ksmtuned.service
979ec18
%postun -n ksm
6986e10
%systemd_postun_with_restart ksm.service
6986e10
%systemd_postun_with_restart ksmtuned.service
cd8d5cb
c277043
c277043
%post user
603dd66
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
c277043
%postun user
603dd66
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
c277043
5c37348
48e07c5
%post guest-agent
48e07c5
%systemd_post qemu-guest-agent.service
48e07c5
%preun guest-agent
48e07c5
%systemd_preun qemu-guest-agent.service
48e07c5
%postun guest-agent
48e07c5
%systemd_postun_with_restart qemu-guest-agent.service
48e07c5
48e07c5
48e07c5
2803fc8
%global kvm_files \
2803fc8
%{_udevdir}/80-kvm.rules
2803fc8
eec5cd5
%files
48e07c5
# Deliberately empty
Glauber Costa 485711f
f2160a7
7fae7fb
%files common -f %{name}.lang
73d3c28
%dir %{qemudocdir}
Glauber Costa 485711f
%doc %{qemudocdir}/Changelog
Glauber Costa 485711f
%doc %{qemudocdir}/README
eec5cd5
%doc %{qemudocdir}/qemu-doc.html
5439f9b
%doc %{qemudocdir}/qmp-commands.txt
eec5cd5
%doc %{qemudocdir}/COPYING
eec5cd5
%doc %{qemudocdir}/COPYING.LIB
Glauber Costa 485711f
%doc %{qemudocdir}/LICENSE
ccf76b7
%dir %{_datadir}/%{name}/
7fae7fb
%{_datadir}/%{name}/qemu-icon.bmp
76dcac3
%{_datadir}/%{name}/qemu_logo_no_text.svg
ccf76b7
%{_datadir}/%{name}/keymaps/
ef34be9
%{_datadir}/%{name}/trace-events-all
666df9e
%{_mandir}/man1/qemu.1*
852ee38
%{_mandir}/man1/virtfs-proxy-helper.1*
852ee38
%{_bindir}/virtfs-proxy-helper
acbc4a5
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
15489f4
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
dda6c38
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
979ec18
%dir %{_sysconfdir}/qemu
979ec18
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
ecbe006
%dir %{_libdir}/qemu
979ec18
c277043
979ec18
%files -n ksm
c61e67e
%{_libexecdir}/ksmctl
cd8d5cb
%{_sbindir}/ksmtuned
c277043
%{_unitdir}/ksmtuned.service
c277043
%{_unitdir}/ksm.service
cd8d5cb
%config(noreplace) %{_sysconfdir}/ksmtuned.conf
c277043
%config(noreplace) %{_sysconfdir}/sysconfig/ksm
c277043
35d458d
1ad1f9a
%files guest-agent
1ad1f9a
%{_bindir}/qemu-ga
88b3793
%{_mandir}/man8/qemu-ga.8*
1ad1f9a
%{_unitdir}/qemu-guest-agent.service
fbe43c5
%{_udevdir}/99-qemu-guest-agent.rules
1ad1f9a
c277043
48e07c5
%files img
48e07c5
%{_bindir}/qemu-img
48e07c5
%{_bindir}/qemu-io
48e07c5
%{_bindir}/qemu-nbd
48e07c5
%{_mandir}/man1/qemu-img.1*
48e07c5
%{_mandir}/man8/qemu-nbd.8*
48e07c5
48e07c5
ecbe006
%files block-curl
ecbe006
%{_libdir}/qemu/block-curl.so
ecbe006
ecbe006
ecbe006
%files block-dmg
151958b
%{_libdir}/qemu/block-dmg-bz2.so
ecbe006
ecbe006
ecbe006
%files block-gluster
ecbe006
%{_libdir}/qemu/block-gluster.so
ecbe006
ecbe006
ecbe006
%files block-iscsi
ecbe006
%{_libdir}/qemu/block-iscsi.so
ecbe006
ecbe006
151958b
%files block-nfs
151958b
%{_libdir}/qemu/block-nfs.so
151958b
151958b
ecbe006
%files block-rbd
ecbe006
%{_libdir}/qemu/block-rbd.so
ecbe006
ecbe006
ecbe006
%files block-ssh
ecbe006
%{_libdir}/qemu/block-ssh.so
ecbe006
ecbe006
48e07c5
%files -n ivshmem-tools
48e07c5
%{_bindir}/ivshmem-client
48e07c5
%{_bindir}/ivshmem-server
48e07c5
48e07c5
48e07c5
%if %{have_kvm}
48e07c5
%files kvm
48e07c5
# Deliberately empty
ecbe006
ecbe006
%files kvm-core
ecbe006
# Deliberately empty
48e07c5
%endif
48e07c5
48e07c5
c277043
%files user
3a55055
%{_bindir}/qemu-i386
3a55055
%{_bindir}/qemu-x86_64
ac843bf
%{_bindir}/qemu-aarch64
b4adffa
%{_bindir}/qemu-alpha
36ffedc
%{_bindir}/qemu-arm
36ffedc
%{_bindir}/qemu-armeb
b4adffa
%{_bindir}/qemu-cris
36ffedc
%{_bindir}/qemu-m68k
b7a1ff8
%{_bindir}/qemu-microblaze
b7a1ff8
%{_bindir}/qemu-microblazeel
36ffedc
%{_bindir}/qemu-mips
36ffedc
%{_bindir}/qemu-mipsel
7fae7fb
%{_bindir}/qemu-mips64
7fae7fb
%{_bindir}/qemu-mips64el
7fae7fb
%{_bindir}/qemu-mipsn32
7fae7fb
%{_bindir}/qemu-mipsn32el
b7a1ff8
%{_bindir}/qemu-or32
ffa1ccd
%{_bindir}/qemu-ppc
ffa1ccd
%{_bindir}/qemu-ppc64
ffa1ccd
%{_bindir}/qemu-ppc64abi32
ad339ad
%{_bindir}/qemu-ppc64le
b7a1ff8
%{_bindir}/qemu-s390x
b4adffa
%{_bindir}/qemu-sh4
b4adffa
%{_bindir}/qemu-sh4eb
ffa1ccd
%{_bindir}/qemu-sparc
ffa1ccd
%{_bindir}/qemu-sparc32plus
ffa1ccd
%{_bindir}/qemu-sparc64
0835325
0835325
%{_datadir}/systemtap/tapset/qemu-i386.stp
0835325
%{_datadir}/systemtap/tapset/qemu-i386-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-x86_64.stp
0835325
%{_datadir}/systemtap/tapset/qemu-x86_64-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-aarch64.stp
0835325
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-alpha.stp
0835325
%{_datadir}/systemtap/tapset/qemu-alpha-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-arm.stp
0835325
%{_datadir}/systemtap/tapset/qemu-arm-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-armeb.stp
0835325
%{_datadir}/systemtap/tapset/qemu-armeb-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-cris.stp
0835325
%{_datadir}/systemtap/tapset/qemu-cris-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-m68k.stp
0835325
%{_datadir}/systemtap/tapset/qemu-m68k-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblaze.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblaze-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblazeel.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblazeel-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsel.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsel-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64el.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64el-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32el.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32el-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-or32.stp
0835325
%{_datadir}/systemtap/tapset/qemu-or32-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64le.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64le-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-s390x.stp
0835325
%{_datadir}/systemtap/tapset/qemu-s390x-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4eb.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4eb-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc32plus-simpletrace.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc64.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc64-simpletrace.stp
0835325
0835325
%files user-binfmt
0835325
%{_exec_prefix}/lib/binfmt.d/qemu-*-dynamic.conf
0835325
0835325
%if %{user_static}
0835325
%files user-static
0835325
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
0835325
%{_bindir}/qemu-i386-static
0835325
%{_bindir}/qemu-x86_64-static
0835325
%{_bindir}/qemu-aarch64-static
0835325
%{_bindir}/qemu-alpha-static
0835325
%{_bindir}/qemu-arm-static
0835325
%{_bindir}/qemu-armeb-static
0835325
%{_bindir}/qemu-cris-static
0835325
%{_bindir}/qemu-m68k-static
0835325
%{_bindir}/qemu-microblaze-static
0835325
%{_bindir}/qemu-microblazeel-static
0835325
%{_bindir}/qemu-mips-static
0835325
%{_bindir}/qemu-mipsel-static
0835325
%{_bindir}/qemu-mips64-static
0835325
%{_bindir}/qemu-mips64el-static
0835325
%{_bindir}/qemu-mipsn32-static
0835325
%{_bindir}/qemu-mipsn32el-static
0835325
%{_bindir}/qemu-or32-static
0835325
%{_bindir}/qemu-ppc-static
0835325
%{_bindir}/qemu-ppc64-static
0835325
%{_bindir}/qemu-ppc64abi32-static
0835325
%{_bindir}/qemu-ppc64le-static
0835325
%{_bindir}/qemu-s390x-static
0835325
%{_bindir}/qemu-sh4-static
0835325
%{_bindir}/qemu-sh4eb-static
0835325
%{_bindir}/qemu-sparc-static
0835325
%{_bindir}/qemu-sparc32plus-static
0835325
%{_bindir}/qemu-sparc64-static
0835325
0835325
%{_datadir}/systemtap/tapset/qemu-i386-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-i386-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-x86_64-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-x86_64-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-aarch64-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-alpha-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-alpha-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-arm-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-arm-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-armeb-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-armeb-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-cris-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-cris-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-m68k-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-m68k-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblaze-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblaze-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblazeel-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-microblazeel-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsel-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsel-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64el-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mips64el-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32el-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-mipsn32el-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-or32-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-or32-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64le-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-ppc64le-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-s390x-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-s390x-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4eb-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sh4eb-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc32plus-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc32plus-simpletrace-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc64-static.stp
0835325
%{_datadir}/systemtap/tapset/qemu-sparc64-simpletrace-static.stp
0835325
%endif
35d458d
c277043
c277043
%files system-x86
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-x86-core
27c3309
%{_bindir}/qemu-system-i386
Glauber Costa 485711f
%{_bindir}/qemu-system-x86_64
2593936
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
2593936
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
979ec18
%{_mandir}/man1/qemu-system-i386.1*
979ec18
%{_mandir}/man1/qemu-system-x86_64.1*
b26fb5a
b26fb5a
%if 0%{?need_qemu_kvm}
b26fb5a
%{_bindir}/qemu-kvm
b26fb5a
%{_mandir}/man1/qemu-kvm.1*
b26fb5a
%endif
b26fb5a
96a5f8d
%{_datadir}/%{name}/acpi-dsdt.aml
ccf76b7
%{_datadir}/%{name}/bios.bin
ac843bf
%{_datadir}/%{name}/bios-256k.bin
27c3309
%{_datadir}/%{name}/sgabios.bin
41dea4d
%{_datadir}/%{name}/linuxboot.bin
ef34be9
%{_datadir}/%{name}/linuxboot_dma.bin
f2bd6c6
%{_datadir}/%{name}/multiboot.bin
46f7a97
%{_datadir}/%{name}/kvmvapic.bin
ccf76b7
%{_datadir}/%{name}/vgabios.bin
ccf76b7
%{_datadir}/%{name}/vgabios-cirrus.bin
dbbd2b2
%{_datadir}/%{name}/vgabios-qxl.bin
dbbd2b2
%{_datadir}/%{name}/vgabios-stdvga.bin
dbbd2b2
%{_datadir}/%{name}/vgabios-vmware.bin
de45509
%{_datadir}/%{name}/vgabios-virtio.bin
0c846be
%{_datadir}/%{name}/pxe-e1000.rom
7fae7fb
%{_datadir}/%{name}/efi-e1000.rom
ef34be9
%{_datadir}/%{name}/pxe-e1000e.rom
ef34be9
%{_datadir}/%{name}/efi-e1000e.rom
ef34be9
%{_datadir}/%{name}/pxe-eepro100.rom
ef34be9
%{_datadir}/%{name}/efi-eepro100.rom
ef34be9
%{_datadir}/%{name}/pxe-ne2k_pci.rom
ef34be9
%{_datadir}/%{name}/efi-ne2k_pci.rom
0c846be
%{_datadir}/%{name}/pxe-pcnet.rom
7fae7fb
%{_datadir}/%{name}/efi-pcnet.rom
0c846be
%{_datadir}/%{name}/pxe-rtl8139.rom
7fae7fb
%{_datadir}/%{name}/efi-rtl8139.rom
ef34be9
%{_datadir}/%{name}/pxe-virtio.rom
ef34be9
%{_datadir}/%{name}/efi-virtio.rom
ef34be9
%{_datadir}/%{name}/pxe-vmxnet3.rom
ef34be9
%{_datadir}/%{name}/efi-vmxnet3.rom
09747c8
%ifarch %{ix86} x86_64
2803fc8
%{?kvm_files:}
2803fc8
%endif
c277043
35d458d
c277043
%files system-alpha
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-alpha-core
c32efea
%{_bindir}/qemu-system-alpha
2593936
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
979ec18
%{_mandir}/man1/qemu-system-alpha.1*
c32efea
%{_datadir}/%{name}/palcode-clipper
c32efea
c277043
c277043
%files system-arm
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-arm-core
36ffedc
%{_bindir}/qemu-system-arm
2593936
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
979ec18
%{_mandir}/man1/qemu-system-arm.1*
09747c8
%ifarch armv7hl
4413400
%{?kvm_files:}
09747c8
%endif
09747c8
35d458d
c277043
%files system-mips
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-mips-core
36ffedc
%{_bindir}/qemu-system-mips
36ffedc
%{_bindir}/qemu-system-mipsel
b4adffa
%{_bindir}/qemu-system-mips64
b4adffa
%{_bindir}/qemu-system-mips64el
2593936
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
979ec18
%{_mandir}/man1/qemu-system-mips.1*
979ec18
%{_mandir}/man1/qemu-system-mipsel.1*
979ec18
%{_mandir}/man1/qemu-system-mips64el.1*
979ec18
%{_mandir}/man1/qemu-system-mips64.1*
504e254
%ifarch %{mips}
504e254
%{?kvm_files:}
504e254
%endif
35d458d
c277043
c277043
%files system-cris
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-cris-core
bc9e714
%{_bindir}/qemu-system-cris
2593936
%{_datadir}/systemtap/tapset/qemu-system-cris*.stp
979ec18
%{_mandir}/man1/qemu-system-cris.1*
35d458d
c277043
c277043
%files system-lm32
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-lm32-core
40e61a7
%{_bindir}/qemu-system-lm32
2593936
%{_datadir}/systemtap/tapset/qemu-system-lm32*.stp
979ec18
%{_mandir}/man1/qemu-system-lm32.1*
40e61a7
c277043
c277043
%files system-m68k
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-m68k-core
Glauber Costa 485711f
%{_bindir}/qemu-system-m68k
2593936
%{_datadir}/systemtap/tapset/qemu-system-m68k*.stp
979ec18
%{_mandir}/man1/qemu-system-m68k.1*
35d458d
c277043
c277043
%files system-microblaze
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-microblaze-core
c32efea
%{_bindir}/qemu-system-microblaze
c32efea
%{_bindir}/qemu-system-microblazeel
2593936
%{_datadir}/systemtap/tapset/qemu-system-microblaze*.stp
979ec18
%{_mandir}/man1/qemu-system-microblaze.1*
979ec18
%{_mandir}/man1/qemu-system-microblazeel.1*
c32efea
%{_datadir}/%{name}/petalogix*.dtb
c32efea
c277043
c277043
%files system-or32
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-or32-core
40e61a7
%{_bindir}/qemu-system-or32
2593936
%{_datadir}/systemtap/tapset/qemu-system-or32*.stp
979ec18
%{_mandir}/man1/qemu-system-or32.1*
40e61a7
c277043
c277043
%files system-s390x
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-s390x-core
c32efea
%{_bindir}/qemu-system-s390x
2593936
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
979ec18
%{_mandir}/man1/qemu-system-s390x.1*
7fae7fb
%{_datadir}/%{name}/s390-ccw.img
31c6335
%ifarch s390x
31c6335
%{?kvm_files:}
c752245
%{_sysconfdir}/sysctl.d/50-kvm-s390x.conf
31c6335
%endif
c32efea
c277043
c277043
%files system-sh4
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-sh4-core
b4adffa
%{_bindir}/qemu-system-sh4
b4adffa
%{_bindir}/qemu-system-sh4eb
2593936
%{_datadir}/systemtap/tapset/qemu-system-sh4*.stp
979ec18
%{_mandir}/man1/qemu-system-sh4.1*
979ec18
%{_mandir}/man1/qemu-system-sh4eb.1*
35d458d
c277043
c277043
%files system-sparc
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-sparc-core
57c57a1
%{_bindir}/qemu-system-sparc
57c57a1
%{_bindir}/qemu-system-sparc64
2593936
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
979ec18
%{_mandir}/man1/qemu-system-sparc.1*
979ec18
%{_mandir}/man1/qemu-system-sparc64.1*
bacd9b0
%{_datadir}/%{name}/QEMU,tcx.bin
ac843bf
%{_datadir}/%{name}/QEMU,cgthree.bin
57c57a1
c277043
c277043
%files system-ppc
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-ppc-core
57c57a1
%{_bindir}/qemu-system-ppc
57c57a1
%{_bindir}/qemu-system-ppc64
57c57a1
%{_bindir}/qemu-system-ppcemb
2593936
%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
979ec18
%{_mandir}/man1/qemu-system-ppc.1*
979ec18
%{_mandir}/man1/qemu-system-ppc64.1*
979ec18
%{_mandir}/man1/qemu-system-ppcemb.1*
2803fc8
%{_datadir}/%{name}/bamboo.dtb
2803fc8
%{_datadir}/%{name}/ppc_rom.bin
151958b
%{_datadir}/%{name}/skiboot.lid
2803fc8
%{_datadir}/%{name}/spapr-rtas.bin
b440863
%{_datadir}/%{name}/u-boot.e500
8dd6b5e
%ifarch %{power64}
2803fc8
%{?kvm_files:}
d19693d
%{_sysconfdir}/security/limits.d/95-kvm-ppc64-memlock.conf
2803fc8
%endif
36ffedc
c277043
c277043
%files system-unicore32
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-unicore32-core
40e61a7
%{_bindir}/qemu-system-unicore32
2593936
%{_datadir}/systemtap/tapset/qemu-system-unicore32*.stp
979ec18
%{_mandir}/man1/qemu-system-unicore32.1*
40e61a7
c277043
c277043
%files system-xtensa
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-xtensa-core
40e61a7
%{_bindir}/qemu-system-xtensa
40e61a7
%{_bindir}/qemu-system-xtensaeb
2593936
%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
979ec18
%{_mandir}/man1/qemu-system-xtensa.1*
979ec18
%{_mandir}/man1/qemu-system-xtensaeb.1*
40e61a7
c277043
c277043
%files system-moxie
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-moxie-core
7fae7fb
%{_bindir}/qemu-system-moxie
2593936
%{_datadir}/systemtap/tapset/qemu-system-moxie*.stp
979ec18
%{_mandir}/man1/qemu-system-moxie.1*
7fae7fb
c277043
c277043
%files system-aarch64
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-aarch64-core
21cd6fa
%{_bindir}/qemu-system-aarch64
2593936
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
21cd6fa
%{_mandir}/man1/qemu-system-aarch64.1*
21cd6fa
%ifarch aarch64
21cd6fa
%{?kvm_files:}
21cd6fa
%endif
21cd6fa
c277043
c277043
%files system-tricore
ecbe006
# Deliberately empty
ecbe006
ecbe006
%files system-tricore-core
2593936
%{_bindir}/qemu-system-tricore
2593936
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
2593936
%{_mandir}/man1/qemu-system-tricore.1*
2593936
c277043
5c37348
%changelog
151958b
* Mon Dec 05 2016 Cole Robinson <crobinso@redhat.com> - 2:2.8.0-0.1-rc2
151958b
- Rebase to qemu-2.8.0-rc2
151958b
b68b5fe
* Mon Nov 28 2016 Paolo Bonzini <pbonzini@redhat.com> - 2:2.7.0-10
b68b5fe
- Do not build aarch64 with -fPIC anymore (rhbz 1232499)
b68b5fe
0583426
* Tue Nov 15 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.7.0-9
0583426
- Clean up binfmt.d configuration files
0583426
ecbe006
* Mon Nov 14 2016 Richard W.M. Jones <rjones@redhat.com> - 2:2.7.0-8
ecbe006
- Create subpackages for modularized qemu block drivers (RHBZ#1393688).
820948c
- Fix qemu-sanity-check.
ecbe006
8a58869
* Tue Oct 25 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-7
8a58869
- Fix PPC64 build with memlock file (bz #1387601)
8a58869
Bastien Nocera b8878c0
* Wed Oct 19 2016 Bastien Nocera <bnocera@redhat.com> - 2:2.7.0-6
Bastien Nocera b8878c0
- Add "F" flag to static user emulators' binfmt, to make them
Bastien Nocera b8878c0
  available in containers (#1384615)
Bastien Nocera b8878c0
- Also fixes the path of those emulators in the binfmt configurations
Bastien Nocera b8878c0
cf81640
* Wed Oct 19 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-5
cf81640
- Fix nested PPC 'Unknown MMU model' error (bz #1374749)
cf81640
- Fix flickering display with boxes + wayland VM (bz #1266484)
cf81640
- Add ppc64 kvm memlock file (bz #1293024)
cf81640
3a13ddd
* Sat Oct 15 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-4
3a13ddd
- CVE-2016-7155: pvscsi: OOB read and infinite loop (bz #1373463)
3a13ddd
- CVE-2016-7156: pvscsi: infinite loop when building SG list (bz #1373480)
3a13ddd
- CVE-2016-7156: pvscsi: infinite loop when processing IO requests (bz
3a13ddd
  #1373480)
3a13ddd
- CVE-2016-7170: vmware_vga: OOB stack memory access (bz #1374709)
3a13ddd
- CVE-2016-7157: mptsas: invalid memory access (bz #1373505)
3a13ddd
- CVE-2016-7466: usb: xhci memory leakage during device unplug (bz #1377838)
3a13ddd
- CVE-2016-7423: scsi: mptsas: OOB access (bz #1376777)
3a13ddd
- CVE-2016-7422: virtio: null pointer dereference (bz #1376756)
3a13ddd
- CVE-2016-7908: net: Infinite loop in mcf_fec_do_tx (bz #1381193)
3a13ddd
- CVE-2016-8576: usb: xHCI: infinite loop vulnerability (bz #1382322)
3a13ddd
- CVE-2016-7995: usb: hcd-ehci: memory leak (bz #1382669)
3a13ddd
a2729a2
* Mon Oct 10 2016 Hans de Goede <hdegoede@redhat.com> - 2:2.7.0-3
a2729a2
- Fix interrupt endpoints not working with network/spice USB redirection
a2729a2
  on guest with an emulated xhci controller (rhbz#1382331)
a2729a2
504e254
* Tue Sep 20 2016 Michal Toman <mtoman@fedoraproject.org> - 2:2.7.0-2
504e254
- Fix build on MIPS
504e254
435be36
* Thu Sep 08 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-1
435be36
- Rebase to qemu 2.7.0 GA
435be36
94ddf1c
* Fri Aug 19 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-0.2.rc3
94ddf1c
- Rebase to qemu 2.7.0-rc3
94ddf1c
ef34be9
* Wed Aug 03 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-0.1.rc2
ef34be9
- Rebase to qemu 2.7.0-rc2
ef34be9
84e6eca
* Sat Jul 23 2016 Richard W.M. Jones <rjones@redhat.com> - 2:2.6.0-6
84e6eca
- Rebuild to attempt to fix '2:qemu-system-xtensa-2.6.0-5.fc25.x86_64 requires libxenctrl.so.4.6()(64bit)'
84e6eca
0835325
* Wed Jul 13 2016 Daniel Berrange <berrange@redhat.com> - 2:2.6.0-5
0835325
- Introduce qemu-user-static sub-RPM
0835325
cf91b1d
* Wed Jun 22 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-4
cf91b1d
- CVE-2016-4002: net: buffer overflow in MIPSnet (bz #1326083)
cf91b1d
- CVE-2016-4952 scsi: pvscsi: out-of-bounds access issue
cf91b1d
- CVE-2016-4964: scsi: mptsas infinite loop (bz #1339157)
cf91b1d
- CVE-2016-5106: scsi: megasas: out-of-bounds write (bz #1339581)
cf91b1d
- CVE-2016-5105: scsi: megasas: stack information leakage (bz #1339585)
cf91b1d
- CVE-2016-5107: scsi: megasas: out-of-bounds read (bz #1339573)
cf91b1d
- CVE-2016-4454: display: vmsvga: out-of-bounds read (bz #1340740)
cf91b1d
- CVE-2016-4453: display: vmsvga: infinite loop (bz #1340744)
cf91b1d
- CVE-2016-5126: block: iscsi: buffer overflow (bz #1340925)
cf91b1d
- CVE-2016-5238: scsi: esp: OOB write (bz #1341932)
cf91b1d
- CVE-2016-5338: scsi: esp: OOB r/w access (bz #1343325)
cf91b1d
- CVE-2016-5337: scsi: megasas: information leakage (bz #1343910)
cf91b1d
- Fix crash with -nodefaults -sdl (bz #1340931)
cf91b1d
- Add deps on edk2-ovmf and edk2-aarch64
cf91b1d
f0208c9
* Thu May 26 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-3
f0208c9
- CVE-2016-4020: memory leak in kvmvapic.c (bz #1326904)
f0208c9
- CVE-2016-4439: scsi: esb: OOB write #1 (bz #1337503)
f0208c9
- CVE-2016-4441: scsi: esb: OOB write #2 (bz #1337506)
f0208c9
- Fix regression installing windows 7 with qxl/vga (bz #1339267)
f0208c9
- Fix crash with aarch64 gic-version=host and accel=tcg (bz #1339977)
f0208c9
f8dc431
* Fri May 20 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-2
f8dc431
- Explicitly error if spice GL setup fails
f8dc431
- Fix monitor resizing with virgl (bz #1337564)
f8dc431
- Fix libvirt noise when introspecting qemu-kvm without hw virt
f8dc431
e200903
* Fri May 13 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-1
e200903
- Rebase to v2.6.0 GA
e200903
35faab4
* Mon May 09 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-0.2.rc5
35faab4
- Fix gtk UI crash when switching to monitor (bz #1333424)
35faab4
- Fix sdl2 UI lockup lockup when switching to monitor
35faab4
- Rebased to qemu-2.6.0-rc5
35faab4
bc7ce05
* Mon May 02 2016 Cole Robinson <crobinso@redhat.com> 2:2.6.0-0.2.rc4
bc7ce05
- Rebased to version 2.6.0-rc4
bc7ce05
- Fix test suite on big endian hosts (bz 1330174)
bc7ce05
b455e4b
* Mon Apr 25 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-0.2.rc3
b455e4b
- Rebuild to pick up spice GL support
b455e4b
b0b55fd
* Mon Apr 18 2016 Cole Robinson <crobinso@redhat.com> 2:2.6.0-0.1.rc3
b0b55fd
- Rebased to version 2.6.0-rc3
b0b55fd
- Fix s390 sysctl file install (bz 1327870)
b0b55fd
- Adjust spice gl version check to expect F24 backported version
b0b55fd
6138a98
* Thu Apr 14 2016 Cole Robinson <crobinso@redhat.com> 2:2.6.0-0.1.rc2
6138a98
- Rebased to version 2.6.0-rc2
6138a98
- Fix GL deps (bz 1325966)
6138a98
- Ship sysctl file to fix s390x kvm (bz 1290589)
6138a98
- Fix FTBFS on s390 (bz 1326247)
6138a98
4097206
* Thu Apr 07 2016 Cole Robinson <crobinso@redhat.com> - 2:2.6.0-0.1.rc1
4097206
- Rebased to version 2.6.0-rc1
4097206
54cb130
* Thu Mar 17 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-11
54cb130
- CVE-2016-2857: net: out of bounds read (bz #1309564)
54cb130
- CVE-2016-2392: usb: null pointer dereference (bz #1307115)
54cb130
54cb130
* Thu Mar 17 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-10
54cb130
- CVE-2016-2538: Integer overflow in usb module (bz #1305815)
54cb130
- CVE-2016-2841: ne2000: infinite loop (bz #1304047)
54cb130
- CVE-2016-2857 net: out of bounds read (bz #1309564)
54cb130
- CVE-2016-2392 usb: null pointer dereference (bz #1307115)
54cb130
- Fix external snapshot any more after active committing (bz #1300209)
54cb130
ae11374
* Wed Mar  9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.5.0-9
ae11374
- Rebuild for tcmalloc ifunc issues on non x86 arches (see rhbz 1312462)
ae11374
4382174
* Tue Mar  1 2016 Paolo Bonzini <pbonzini@redhat.com> 2:2.5.0-8
4382174
- Disable xfsctl, fallocate works fine in newer kernels (bz #1305512)
4382174
73731f9
* Tue Mar  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.5.0-7
73731f9
- All Fedora arches have libseccomp support (ARMv7, aarch64, Power64, s390(x))
73731f9
7d975d9
* Mon Feb 15 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-6
7d975d9
- CVE-2015-8619: Fix sendkey out of bounds (bz #1292757)
7d975d9
- CVE-2016-1981: infinite loop in e1000 (bz #1299995)
7d975d9
- Fix Out-of-bounds read in usb-ehci (bz #1300234, bz #1299455)
7d975d9
- CVE-2016-2197: ahci: null pointer dereference (bz #1302952)
7d975d9
- Fix gdbstub for VSX registers for ppc64 (bz #1304377)
7d975d9
- Fix qemu-img vmdk images to work with VMware (bz #1299185)
7d975d9
95a5886
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.5.0-5
95a5886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
95a5886
b24b7f1
* Wed Jan 20 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-4
b24b7f1
- CVE-2015-8567: net: vmxnet3: host memory leakage (bz #1289818)
b24b7f1
- CVE-2016-1922: i386: avoid null pointer dereference (bz #1292766)
b24b7f1
- CVE-2015-8613: buffer overflow in megasas_ctrl_get_info (bz #1284008)
b24b7f1
- CVE-2015-8701: Buffer overflow in tx_consume in rocker.c (bz #1293720)
b24b7f1
- CVE-2015-8743: ne2000: OOB memory access in ioport r/w functions (bz
b24b7f1
  #1294787)
b24b7f1
- CVE-2016-1568: Use-after-free vulnerability in ahci (bz #1297023)
b24b7f1
- Fix modules.d/kvm.conf example syntax (bz #1298823)
b24b7f1
78f4db5
* Sat Jan 09 2016 Cole Robinson <crobinso@redhat.com> - 2:2.5.0-3
78f4db5
- Fix virtio 9p thread pool usage
78f4db5
- CVE-2015-8558: DoS by infinite loop in ehci_advance_state (bz #1291309)
78f4db5
- Re-add dist tag
78f4db5
c939615
* Thu Jan 7 2016 Paolo Bonzini <pbonzini@redhat.com> - 2:2.5.0-2
dda6c38
- add /etc/modprobe.d/kvm.conf
0d5e9f6
- add 0001-virtio-9p-use-accessor-to-get-thread-pool.patch
dda6c38
6176f1d
* Wed Dec 23 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-1
6176f1d
- Rebased to version 2.5.0
6176f1d
89aacd5
* Tue Dec 08 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-0.1.rc3
89aacd5
- Rebased to version 2.5.0-rc3
89aacd5
6baf84a
* Mon Nov 30 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-0.1.rc2
6baf84a
- Rebased to version 2.5.0-rc2
6baf84a
191c302
* Fri Nov 20 2015 Cole Robinson <crobinso@redhat.com> 2:2.5.0-0.1.rc1
191c302
- Rebased to version 2.5.0-rc1
191c302
4f68392
* Wed Nov 04 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.1-1
4f68392
- Rebased to version 2.4.1
4f68392
86d7b9f
* Sun Oct 11 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0.1-2
86d7b9f
- Rebuild for xen 4.6
86d7b9f
b448bfa
* Thu Oct 08 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0.1-1
b448bfa
- Rebased to version 2.4.0.1
b448bfa
- CVE-2015-7295: virtio-net possible remote DoS (bz #1264393)
b448bfa
- drive-mirror: Fix coroutine reentrance (bz #1266936)
b448bfa
cf88190
* Mon Sep 21 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-4
cf88190
- CVE-2015-6815: net: e1000: infinite loop issue (bz #1260225)
cf88190
- CVE-2015-6855: ide: divide by zero issue (bz #1261793)
cf88190
- CVE-2015-5278: Infinite loop in ne2000_receive() (bz #1263284)
cf88190
- CVE-2015-5279: Heap overflow vulnerability in ne2000_receive() (bz #1263287)
cf88190
c5e5768
* Sun Sep 20 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.4.0-3
c5e5768
- Fix emulation of various instructions, required by libm in F22 ppc64 guests.
c5e5768
8211390
* Mon Aug 31 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-2
8211390
- CVE-2015-5255: heap memory corruption in vnc_refresh_server_surface (bz
8211390
  #1255899)
8211390
7471705
* Tue Aug 11 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-1
7471705
- Rebased to version 2.4.0
7471705
- Support for virtio-gpu, 2D only
7471705
- Support for virtio-based keyboard/mouse/tablet emulation
7471705
- x86 support for memory hot-unplug
7471705
- ACPI v5.1 table support for 'virt' board
7471705
4c6dc5b
* Sun Aug 09 2015 Cole Robinson <crobinso@redhat.com> - 2:2.4.0-0.2.rc4
4c6dc5b
- CVE-2015-3209: pcnet: multi-tmd buffer overflow in the tx path (bz #1230536)
4c6dc5b
- CVE-2015-3214: i8254: out-of-bounds memory access (bz #1243728)
4c6dc5b
- CVE-2015-5158: scsi stack buffer overflow (bz #1246025)
4c6dc5b
- CVE-2015-5154: ide: atapi: heap overflow during I/O buffer memory access (bz
4c6dc5b
  #1247141)
4c6dc5b
- CVE-2015-5165: rtl8139 uninitialized heap memory information leakage to
4c6dc5b
  guest (bz #1249755)
4c6dc5b
- CVE-2015-5166: BlockBackend object use after free issue (bz #1249758)
4c6dc5b
- CVE-2015-5745: buffer overflow in virtio-serial (bz #1251160)
4c6dc5b
de45509
* Tue Jul 14 2015 Cole Robinson <crobinso@redhat.com> 2:2.4.0-0.1-rc0
de45509
- Rebased to version 2.4.0-rc0
de45509
61ce511
* Fri Jul  3 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.3.0-15
61ce511
- Bump and rebuild.
61ce511
d4803fe
* Fri Jul  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-14
d4803fe
- Use explicit --(enable,disable)-spice args (rhbz #1239102)
d4803fe
1ec8e52
* Thu Jul  2 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.3.0-13
1ec8e52
- Build aarch64 with -fPIC (rhbz 1232499)
1ec8e52
806ecbe
* Wed Jul 01 2015 Nick Clifton <nickc@redhat.com> - 2:2.3.0-12
806ecbe
- Disable stack protection for AArch64.  F23's GCC thinks that it is available but F23's glibc does not support it.
806ecbe
749c3c4
* Fri Jun 26 2015 Paolo Bonzini <pbonzini@redhat.com> - 2:2.3.0-10
749c3c4
- Rebuild for libiscsi soname bump
749c3c4
260c0ac
* Fri Jun 19 2015 Paolo Bonzini <pbonzini@redhat.com> - 2:2.3.0-10
260c0ac
- Re-enable tcmalloc on arm
260c0ac
6626651
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.3.0-9
6626651
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6626651
94a40ce
* Wed Jun 10 2015 Dan Horák <dan[at]danny.cz> - 2:2.3.0-8
94a40ce
- gperftools not available on s390(x)
94a40ce
6fc6504
* Fri Jun 05 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-7
6fc6504
- CVE-2015-4037: insecure temporary file use in /net/slirp.c (bz #1222894)
6fc6504
aa972b9
* Mon Jun  1 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-6
aa972b9
- Disable tcmalloc on arm since it currently hangs (rhbz #1226806)
aa972b9
- Re-enable tests on arm
aa972b9
18eddd1
* Wed May 13 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-5
18eddd1
- Backport upstream 2.4 patch to link with tcmalloc, enable it
18eddd1
- CVE-2015-3456: (VENOM) fdc: out-of-bounds fifo buffer memory access (bz
18eddd1
  #1221152)
18eddd1
af53ec6
* Sun May 10 2015 Paolo Bonzini <pbonzini@redhat.com> 2:2.3.0-4
af53ec6
- Backport upstream 2.4 patch to link with tcmalloc, enable it
7c5a423
- Add -p1 to autopatch
af53ec6
af53ec6
* Wed May 06 2015 Cole Robinson <crobinso@redhat.com> 2:2.3.0-3
poma 343c579
- Fix ksm.service (bz 1218814)
poma 343c579
5059f25
* Tue May  5 2015 Dan Horák <dan[at]danny.cz> - 2:2.3.0-2
5059f25
- Require libseccomp only when built with it
5059f25
41aca95
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-1
41aca95
- Rebased to version 2.3.0 GA
41aca95
- Another attempt at fixing default /dev/kvm permissions (bz 950436)
41aca95
b26fb5a
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.5.rc3
b26fb5a
- Drop unneeded kvm.modules
b26fb5a
- Fix s390/ppc64 FTBFS (bz 1212328)
b26fb5a
b26fb5a
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.4.rc3
9b9ad7b
- Rebased to version 2.3.0-rc3
9b9ad7b
b26fb5a
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.3.rc2
c61e67e
- Rebased to version 2.3.0-rc2
c61e67e
- Don't install ksm services as executable (bz #1192720)
c61e67e
- Skip hanging tests on s390 (bz #1206057)
c61e67e
- CVE-2015-1779 vnc: insufficient resource limiting in VNC websockets decoder
c61e67e
  (bz #1205051, bz #1199572)
c61e67e
b26fb5a
* Tue Mar 24 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.2.rc1
355b03e
- Rebased to version 2.3.0-rc1
355b03e
8055ee2
* Sun Mar 22 2015 Cole Robinson <crobinso@redhat.com> - 2:2.3.0-0.1.rc0
8055ee2
- Rebased to version 2.3.0-rc0
8055ee2
5a454ef
* Tue Feb 17 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.2.0-7
6c3741c
- Add -fPIC flag to build to avoid
6c3741c
  'relocation R_X86_64_PC32 against undefined symbol' errors.
6c3741c
- Add a hopefully temporary hack so that -fPIC is used to build
6c3741c
  NSS files in libcacard.
6c3741c
391fb81
* Wed Feb  4 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.2.0-5
391fb81
- Add UEFI support for aarch64.
391fb81
f287dc5
* Tue Feb  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.2.0-4
f287dc5
- Re-enable SPICE after previous build fixes circular dep
f287dc5
0716c2e
* Tue Feb  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.2.0-3
0716c2e
- Rebuild for changed xen soname
cad2bcb
- Temporarily disable SPICE to break circular build-dep on libcacard
fc57f44
- Stop libcacard linking against the entire world
0716c2e
10fa62f
* Wed Jan 28 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.2.0-2
10fa62f
- Pass package information to configure