render / rpms / qemu

Forked from rpms/qemu 10 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 d52607
# glibc static libs are fubar on i386, s390 & ppc64*
Daniel P. Berrange 083532
# https://bugzilla.redhat.com/show_bug.cgi?id=1352625
Daniel P. Berrange d52607
%ifarch %{?ix86} s390 s390x %{power64}
Daniel P. Berrange 083532
%global user_static 0
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
d43799
%global have_kvm 0
d43799
%if 0%{?kvm_package:1}
d43799
%global have_kvm 1
21cd6f
%endif
Paolo Bonzini 2803fc
Michal Toman 504e25
%ifarch %{ix86} x86_64 %{arm} aarch64 %{power64} s390 s390x %{mips}
b26fb5
%global have_seccomp 1
Peter Robinson 73731f
%endif
Peter Robinson 73731f
%ifarch %{ix86} x86_64
b26fb5
%global have_spice   1
b26fb5
%endif
b26fb5
Daniel P. Berrange a3b9d9
%global have_rbd 1
Daniel P. Berrange 6e16c0
%ifarch %{arm} ppc64
Daniel P. Berrange a3b9d9
%global have_rbd 0
Daniel P. Berrange a3b9d9
%endif
Daniel P. Berrange a3b9d9
b26fb5
# Xen is available only on i386 x86_64 (from libvirt spec)
b26fb5
%ifarch %{ix86} x86_64
b26fb5
%global have_xen 1
b26fb5
%endif
b26fb5
57dbb7
# Matches edk2.spec ExclusiveArch
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
ecbe00
# All block-* modules should be listed here.
Daniel P. Berrange a3b9d9
%if %{have_rbd}
ecbe00
%global requires_all_block_modules                               \
ecbe00
Requires: %{name}-block-curl = %{epoch}:%{version}-%{release}    \
ecbe00
Requires: %{name}-block-dmg = %{epoch}:%{version}-%{release}     \
ecbe00
Requires: %{name}-block-gluster = %{epoch}:%{version}-%{release} \
ecbe00
Requires: %{name}-block-iscsi = %{epoch}:%{version}-%{release}   \
151958
Requires: %{name}-block-nfs = %{epoch}:%{version}-%{release}     \
ecbe00
Requires: %{name}-block-rbd = %{epoch}:%{version}-%{release}     \
ecbe00
Requires: %{name}-block-ssh = %{epoch}:%{version}-%{release}
Daniel P. Berrange a3b9d9
%else
Daniel P. Berrange a3b9d9
%global requires_all_block_modules                               \
Daniel P. Berrange a3b9d9
Requires: %{name}-block-curl = %{epoch}:%{version}-%{release}    \
Daniel P. Berrange a3b9d9
Requires: %{name}-block-dmg = %{epoch}:%{version}-%{release}     \
Daniel P. Berrange a3b9d9
Requires: %{name}-block-gluster = %{epoch}:%{version}-%{release} \
Daniel P. Berrange a3b9d9
Requires: %{name}-block-iscsi = %{epoch}:%{version}-%{release}   \
Daniel P. Berrange a3b9d9
Requires: %{name}-block-nfs = %{epoch}:%{version}-%{release}     \
Daniel P. Berrange a3b9d9
Requires: %{name}-block-ssh = %{epoch}:%{version}-%{release}
Daniel P. Berrange a3b9d9
%endif
ecbe00
Daniel P. Berrange 083532
# Temp hack for https://bugzilla.redhat.com/show_bug.cgi?id=1343892
Daniel P. Berrange 083532
# We'll manually turn on hardened build later in this spec
Daniel P. Berrange 083532
%undefine _hardened_build
Daniel P. Berrange 083532
409720
# Release candidate version tracking
0b42e7
# global rcver rc4
1a4355
%if 0%{?rcver:1}
1a4355
%global rcrel .%{rcver}
1a4355
%global rcstr -%{rcver}
1a4355
%endif
409720
3400e7
David Woodhouse 5c3734
Summary: QEMU is a FAST! processor emulator
David Woodhouse 5c3734
Name: qemu
1a4355
Version: 2.10.0
Nathaniel McCallum 98b428
Release: 2%{?rcrel}%{?dist}
Glauber Costa 9235f9
Epoch: 2
Daniel P. Berrange 913ab9
License: GPLv2+ and LGPLv2+ and BSD
David Woodhouse 5c3734
Group: Development/Tools
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
Justin M. Forbes 603dd6
Source1: qemu.binfmt
Mark McLoughlin b11220
Mark McLoughlin cd8d5c
# KSM control scripts
Justin M. Forbes 603dd6
Source4: ksm.service
Mark McLoughlin b11220
Source5: ksm.sysconfig
Justin M. Forbes 603dd6
Source6: ksmctl.c
Justin M. Forbes 603dd6
Source7: ksmtuned.service
Justin M. Forbes 603dd6
Source8: ksmtuned
Justin M. Forbes 603dd6
Source9: ksmtuned.conf
c75224
# guest agent service
Daniel P. Berrange 1ad1f9
Source10: qemu-guest-agent.service
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
c75224
# /etc/modprobe.d/kvm.conf
Paolo Bonzini dda6c3
Source20: kvm.conf
c75224
# /etc/sysctl.d/50-kvm-s390x.conf
c75224
Source21: 50-kvm-s390x.conf
d19693
# /etc/security/limits.d/95-kvm-ppc64-memlock.conf
d19693
Source22: 95-kvm-ppc64-memlock.conf
c75224
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
837eb7
# For acpi compilation
837eb7
BuildRequires: iasl
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
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
837eb7
# used by qemu-bridge-helper
837eb7
BuildRequires: libcap-ng-devel
837eb7
# spice usb redirection support
Hans de Goede 5ba1a7
BuildRequires: usbredir-devel >= 0.5.2
Dan Horák 94a40c
%ifnarch s390 s390x
837eb7
# tcmalloc support
Paolo Bonzini af53ec
BuildRequires: gperftools-devel
Dan Horák 94a40c
%endif
Paolo Bonzini 2803fc
%if 0%{?have_spice:1}
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
Paolo Bonzini 2803fc
%if 0%{?have_seccomp:1}
837eb7
# seccomp containment support
Peter Robinson 73731f
BuildRequires: libseccomp-devel >= 2.3.0
Justin M. Forbes 051605
%endif
Daniel P. Berrange a93050
# For network block driver
Daniel P. Berrange 4a7239
BuildRequires: libcurl-devel
Daniel P. Berrange a3b9d9
%if %{have_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. Berrange a3b9d9
%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 uuid generation
Daniel P. Berrange eaebe4
BuildRequires: libuuid-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
af1488
# For gluster support
af1488
BuildRequires: glusterfs-devel >= 3.4.0
af1488
BuildRequires: glusterfs-api-devel >= 3.4.0
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
Adam Williamson c2f33c
%ifnarch s390 s390x %{arm}
76dcac
BuildRequires: librdmacm-devel
Dan Horák 52cf04
%endif
c27704
%if 0%{?have_xen:1}
837eb7
# Xen support
3400e7
BuildRequires: xen-devel
3400e7
%endif
c27704
%ifarch %{ix86} x86_64 aarch64
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
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}
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}
1c7073
Requires: %{name}-system-or1k = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-ppc = %{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}
c27704
Requires: %{name}-system-unicore32 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-moxie = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-aarch64 = %{epoch}:%{version}-%{release}
c27704
Requires: %{name}-system-tricore = %{epoch}:%{version}-%{release}
1c7073
Requires: %{name}-system-nios2 = %{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
Glauber Costa 9235f9
Group: Development/Tools
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
f950cd
Glauber Costa 9235f9
%description common
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the common files needed by all QEMU targets
Glauber Costa 485711
c27704
48e07c
%package -n ksm
48e07c
Summary: Kernel Samepage Merging services
48e07c
Group: Development/Tools
48e07c
Requires(post): systemd-units
48e07c
Requires(postun): systemd-units
48e07c
%description -n ksm
48e07c
Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature,
48e07c
that merges anonymous (private) pages (not pagecache ones).
48e07c
48e07c
This package provides service files for disabling and tuning KSM.
48e07c
48e07c
Daniel P. Berrange 1ad1f9
%package guest-agent
Daniel P. Berrange 1ad1f9
Summary: QEMU guest agent
Daniel P. Berrange 1ad1f9
Group: System Environment/Daemons
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
Daniel P. Berrange 1ad1f9
%description guest-agent
Daniel P. Berrange 1ad1f9
QEMU is a generic and open source processor emulator which achieves a good
Daniel P. Berrange 1ad1f9
emulation speed by using dynamic translation.
Daniel P. Berrange 1ad1f9
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
Group: Development/Tools
Daniel P. Berrange 1ad1f9
48e07c
%description img
48e07c
This package provides a command line tool for manipulating disk images
Daniel P. Berrange 1ad1f9
Daniel P. Berrange 1ad1f9
ecbe00
%package  block-curl
ecbe00
Summary: QEMU CURL block driver
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
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
Group: Development/Tools
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
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
ecbe00
%package  block-gluster
ecbe00
Summary: QEMU Gluster block driver
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
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.
ecbe00
ecbe00
ecbe00
%package  block-iscsi
ecbe00
Summary: QEMU iSCSI block driver
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
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
Group: Development/Tools
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
Daniel P. Berrange a3b9d9
%if %{have_rbd}
ecbe00
%package  block-rbd
ecbe00
Summary: QEMU Ceph/RBD block driver
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
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. Berrange a3b9d9
%endif
ecbe00
ecbe00
ecbe00
%package  block-ssh
ecbe00
Summary: QEMU SSH block driver
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
ecbe00
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
48e07c
%package -n ivshmem-tools
48e07c
Summary: Client and server for QEMU ivshmem device
979ec1
Group: Development/Tools
979ec1
48e07c
%description -n ivshmem-tools
48e07c
This package provides client and server tools for QEMU's ivshmem device.
48e07c
48e07c
48e07c
%if %{have_kvm}
48e07c
%package kvm
48e07c
Summary: QEMU metapackage for KVM support
48e07c
Group: Development/Tools
48e07c
Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
48e07c
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
Group: Development/Tools
ecbe00
Requires: qemu-%{kvm_package}-core = %{epoch}:%{version}-%{release}
ecbe00
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
Group: Development/Tools
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}
Daniel P. Berrange 083532
c27704
%description user
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 485711
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
Group: Development/Tools
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
Daniel P. Berrange 083532
%description user-binfmt
Daniel P. Berrange 083532
QEMU is a generic and open source processor emulator which achieves a good
Daniel P. Berrange 083532
emulation speed by using dynamic translation.
Daniel P. Berrange 083532
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
Group: Development/Tools
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
Daniel P. Berrange 083532
%description user-static
Daniel P. Berrange 083532
QEMU is a generic and open source processor emulator which achieves a good
Daniel P. Berrange 083532
emulation speed by using dynamic translation.
Daniel P. Berrange 083532
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
c27704
%package system-x86
Glauber Costa 9235f9
Summary: QEMU system emulator for x86
Glauber Costa 9235f9
Group: Development/Tools
ecbe00
Requires: %{name}-system-x86-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
ecbe00
ecbe00
%description system-x86
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for x86. When being run in a x86
ecbe00
machine that supports it, this package also provides the KVM virtualization
ecbe00
platform.
ecbe00
ecbe00
ecbe00
%package system-x86-core
ecbe00
Summary: QEMU system emulator for x86
ecbe00
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
996634
Requires: seabios-bin
Justin M. Forbes 27c330
Requires: sgabios-bin
996634
Requires: seavgabios-bin
57dbb7
%if 0%{?have_edk2:1}
f9730d
Requires: edk2-ovmf
57dbb7
%endif
Dan Horák 5059f2
%if 0%{?have_seccomp:1}
5a454e
Requires: libseccomp >= 1.0.0
Dan Horák 5059f2
%endif
Glauber Costa 9235f9
c27704
ecbe00
%description system-x86-core
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 4da298
This package provides the system emulator for x86. When being run in a x86
Glauber Costa 4da298
machine that supports it, this package also provides the KVM virtualization
Glauber Costa 4da298
platform.
Glauber Costa 9235f9
c27704
c27704
%package system-alpha
Paolo Bonzini c32efe
Summary: QEMU system emulator for Alpha
Paolo Bonzini c32efe
Group: Development/Tools
ecbe00
Requires: %{name}-system-alpha-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-alpha
Paolo Bonzini c32efe
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini c32efe
emulation speed by using dynamic translation.
Paolo Bonzini c32efe
Paolo Bonzini c32efe
This package provides the system emulator for Alpha systems.
Paolo Bonzini c32efe
ecbe00
%package system-alpha-core
ecbe00
Summary: QEMU system emulator for Alpha
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-alpha-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for Alpha systems.
ecbe00
c27704
c27704
%package system-arm
Paolo Bonzini 40e61a
Summary: QEMU system emulator for ARM
Glauber Costa 9235f9
Group: Development/Tools
ecbe00
Requires: %{name}-system-arm-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-arm
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
ecbe00
This package provides the system emulator for ARM systems.
ecbe00
ecbe00
%package system-arm-core
ecbe00
Summary: QEMU system emulator for ARM
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-arm-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
Paolo Bonzini 40e61a
This package provides the system emulator for ARM boards.
Glauber Costa 9235f9
c27704
c27704
%package system-mips
Paolo Bonzini 40e61a
Summary: QEMU system emulator for MIPS
Glauber Costa 9235f9
Group: Development/Tools
ecbe00
Requires: %{name}-system-mips-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-mips
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
ecbe00
This package provides the system emulator for MIPS systems.
ecbe00
ecbe00
%package system-mips-core
ecbe00
Summary: QEMU system emulator for MIPS
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-mips-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
Paolo Bonzini 40e61a
This package provides the system emulator for MIPS boards.
Glauber Costa 485711
c27704
c27704
%package system-cris
Paolo Bonzini 40e61a
Summary: QEMU system emulator for CRIS
Justin M. Forbes bc9e71
Group: Development/Tools
ecbe00
Requires: %{name}-system-cris-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-cris
Justin M. Forbes bc9e71
QEMU is a generic and open source processor emulator which achieves a good
Justin M. Forbes bc9e71
emulation speed by using dynamic translation.
Glauber Costa 9235f9
ecbe00
This package provides the system emulator for CRIS systems.
ecbe00
ecbe00
%package system-cris-core
ecbe00
Summary: QEMU system emulator for CRIS
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-cris-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
Paolo Bonzini 40e61a
This package provides the system emulator for CRIS boards.
Paolo Bonzini 40e61a
c27704
c27704
%package system-lm32
Paolo Bonzini 40e61a
Summary: QEMU system emulator for LatticeMico32
Paolo Bonzini 40e61a
Group: Development/Tools
ecbe00
Requires: %{name}-system-lm32-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-lm32
Paolo Bonzini 40e61a
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini 40e61a
emulation speed by using dynamic translation.
Paolo Bonzini 40e61a
ecbe00
This package provides the system emulator for LatticeMico32 systems.
ecbe00
ecbe00
%package system-lm32-core
ecbe00
Summary: QEMU system emulator for LatticeMico32
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-lm32-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
Paolo Bonzini 40e61a
This package provides the system emulator for LatticeMico32 boards.
Glauber Costa 9235f9
c27704
c27704
%package system-m68k
Paolo Bonzini 40e61a
Summary: QEMU system emulator for ColdFire (m68k)
Glauber Costa 9235f9
Group: Development/Tools
ecbe00
Requires: %{name}-system-m68k-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-m68k
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Paolo Bonzini 40e61a
This package provides the system emulator for ColdFire boards.
Paolo Bonzini 40e61a
ecbe00
%package system-m68k-core
ecbe00
Summary: QEMU system emulator for ColdFire (m68k)
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-m68k-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for ColdFire boards.
ecbe00
c27704
c27704
%package system-microblaze
Paolo Bonzini c32efe
Summary: QEMU system emulator for Microblaze
Paolo Bonzini c32efe
Group: Development/Tools
ecbe00
Requires: %{name}-system-microblaze-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-microblaze
Paolo Bonzini c32efe
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini c32efe
emulation speed by using dynamic translation.
Paolo Bonzini c32efe
Paolo Bonzini c32efe
This package provides the system emulator for Microblaze boards.
Paolo Bonzini c32efe
ecbe00
%package system-microblaze-core
ecbe00
Summary: QEMU system emulator for Microblaze
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-microblaze-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for Microblaze boards.
ecbe00
c27704
1c7073
%package system-or1k
Paolo Bonzini 40e61a
Summary: QEMU system emulator for OpenRisc32
Paolo Bonzini 40e61a
Group: Development/Tools
1c7073
Requires: %{name}-system-or1k-core = %{epoch}:%{version}-%{release}
0db325
Obsoletes: %{name}-system-or32 < 2:2.9.0
ecbe00
%{requires_all_block_modules}
1c7073
%description system-or1k
Paolo Bonzini 40e61a
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini 40e61a
emulation speed by using dynamic translation.
Paolo Bonzini 40e61a
Paolo Bonzini 40e61a
This package provides the system emulator for OpenRisc32 boards.
Daniel P. Berrange 36ffed
1c7073
%package system-or1k-core
ecbe00
Summary: QEMU system emulator for OpenRisc32
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
0db325
Obsoletes: %{name}-system-or32-core < 2:2.9.0
1c7073
%description system-or1k-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for OpenRisc32 boards.
ecbe00
c27704
c27704
%package system-s390x
Paolo Bonzini c32efe
Summary: QEMU system emulator for S390
Paolo Bonzini c32efe
Group: Development/Tools
ecbe00
Requires: %{name}-system-s390x-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-s390x
Paolo Bonzini c32efe
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini c32efe
emulation speed by using dynamic translation.
Paolo Bonzini c32efe
Paolo Bonzini c32efe
This package provides the system emulator for S390 systems.
Paolo Bonzini c32efe
ecbe00
%package system-s390x-core
ecbe00
Summary: QEMU system emulator for S390
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-s390x-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for S390 systems.
ecbe00
c27704
c27704
%package system-sh4
Paolo Bonzini 40e61a
Summary: QEMU system emulator for SH4
Glauber Costa 9235f9
Group: Development/Tools
ecbe00
Requires: %{name}-system-sh4-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-sh4
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Paolo Bonzini 40e61a
This package provides the system emulator for SH4 boards.
57c57a
ecbe00
%package system-sh4-core
ecbe00
Summary: QEMU system emulator for SH4
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-sh4-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for SH4 boards.
ecbe00
c27704
c27704
%package system-sparc
Paolo Bonzini 40e61a
Summary: QEMU system emulator for SPARC
57c57a
Group: Development/Tools
ecbe00
Requires: %{name}-system-sparc-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
ecbe00
%description system-sparc
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for SPARC and SPARC64 systems.
ecbe00
ecbe00
%package system-sparc-core
ecbe00
Summary: QEMU system emulator for SPARC
ecbe00
Group: Development/Tools
57c57a
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57c57a
Requires: openbios
ecbe00
%description system-sparc-core
57c57a
QEMU is a generic and open source processor emulator which achieves a good
57c57a
emulation speed by using dynamic translation.
57c57a
Paolo Bonzini 40e61a
This package provides the system emulator for SPARC and SPARC64 systems.
57c57a
c27704
c27704
%package system-ppc
57c57a
Summary: QEMU system emulator for PPC
57c57a
Group: Development/Tools
ecbe00
Requires: %{name}-system-ppc-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
ecbe00
%description system-ppc
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for PPC and PPC64 systems.
ecbe00
ecbe00
%package system-ppc-core
ecbe00
Summary: QEMU system emulator for PPC
ecbe00
Group: Development/Tools
57c57a
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57c57a
Requires: openbios
c27704
Requires: SLOF
996634
Requires: seavgabios-bin
ecbe00
%description system-ppc-core
57c57a
QEMU is a generic and open source processor emulator which achieves a good
57c57a
emulation speed by using dynamic translation.
57c57a
Paolo Bonzini 40e61a
This package provides the system emulator for PPC and PPC64 systems.
Paolo Bonzini 40e61a
c27704
c27704
%package system-xtensa
Paolo Bonzini 40e61a
Summary: QEMU system emulator for Xtensa
Paolo Bonzini 40e61a
Group: Development/Tools
ecbe00
Requires: %{name}-system-xtensa-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-xtensa
Paolo Bonzini 40e61a
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini 40e61a
emulation speed by using dynamic translation.
Paolo Bonzini 40e61a
Paolo Bonzini 40e61a
This package provides the system emulator for Xtensa boards.
Paolo Bonzini 40e61a
ecbe00
%package system-xtensa-core
ecbe00
Summary: QEMU system emulator for Xtensa
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-xtensa-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for Xtensa boards.
ecbe00
c27704
c27704
%package system-unicore32
Paolo Bonzini 40e61a
Summary: QEMU system emulator for Unicore32
Paolo Bonzini 40e61a
Group: Development/Tools
1c7073
Requires: %{name}-system-unicore32-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-unicore32
Paolo Bonzini 40e61a
QEMU is a generic and open source processor emulator which achieves a good
Paolo Bonzini 40e61a
emulation speed by using dynamic translation.
Paolo Bonzini 40e61a
Paolo Bonzini 40e61a
This package provides the system emulator for Unicore32 boards.
Daniel P. Berrange 36ffed
ecbe00
%package system-unicore32-core
ecbe00
Summary: QEMU system emulator for Unicore32
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-unicore32-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for Unicore32 boards.
ecbe00
c27704
c27704
%package system-moxie
7fae7f
Summary: QEMU system emulator for Moxie
7fae7f
Group: Development/Tools
ecbe00
Requires: %{name}-system-moxie-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-moxie
7fae7f
QEMU is a generic and open source processor emulator which achieves a good
7fae7f
emulation speed by using dynamic translation.
7fae7f
7fae7f
This package provides the system emulator for Moxie boards.
7fae7f
ecbe00
%package system-moxie-core
ecbe00
Summary: QEMU system emulator for Moxie
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-moxie-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for Moxie boards.
ecbe00
c27704
c27704
%package system-aarch64
21cd6f
Summary: QEMU system emulator for AArch64
21cd6f
Group: Development/Tools
ecbe00
Requires: %{name}-system-aarch64-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
ecbe00
%description system-aarch64
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for AArch64.
ecbe00
ecbe00
%package system-aarch64-core
ecbe00
Summary: QEMU system emulator for AArch64
ecbe00
Group: Development/Tools
21cd6f
Requires: %{name}-common = %{epoch}:%{version}-%{release}
57dbb7
%if 0%{?have_edk2:1}
f9730d
Requires: edk2-aarch64
57dbb7
%endif
ecbe00
%description system-aarch64-core
21cd6f
QEMU is a generic and open source processor emulator which achieves a good
21cd6f
emulation speed by using dynamic translation.
21cd6f
21cd6f
This package provides the system emulator for AArch64.
21cd6f
c27704
c27704
%package system-tricore
259393
Summary: QEMU system emulator for tricore
259393
Group: Development/Tools
1c7073
Requires: %{name}-system-tricore-core = %{epoch}:%{version}-%{release}
ecbe00
%{requires_all_block_modules}
c27704
%description system-tricore
259393
QEMU is a generic and open source processor emulator which achieves a good
259393
emulation speed by using dynamic translation.
259393
259393
This package provides the system emulator for Tricore.
259393
ecbe00
%package system-tricore-core
ecbe00
Summary: QEMU system emulator for tricore
ecbe00
Group: Development/Tools
ecbe00
Requires: %{name}-common = %{epoch}:%{version}-%{release}
ecbe00
%description system-tricore-core
ecbe00
QEMU is a generic and open source processor emulator which achieves a good
ecbe00
emulation speed by using dynamic translation.
ecbe00
ecbe00
This package provides the system emulator for Tricore.
ecbe00
21cd6f
1c7073
%package system-nios2
1c7073
Summary: QEMU system emulator for nios2
1c7073
Group: Development/Tools
1c7073
Requires: %{name}-system-nios2-core = %{epoch}:%{version}-%{release}
1c7073
%{requires_all_block_modules}
1c7073
%description system-nios2
1c7073
QEMU is a generic and open source processor emulator which achieves a good
1c7073
emulation speed by using dynamic translation.
1c7073
1c7073
This package provides the system emulator for NIOS2.
1c7073
1c7073
%package system-nios2-core
1c7073
Summary: QEMU system emulator for nios2
1c7073
Group: Development/Tools
1c7073
Requires: %{name}-common = %{epoch}:%{version}-%{release}
1c7073
%description system-nios2-core
1c7073
QEMU is a generic and open source processor emulator which achieves a good
1c7073
emulation speed by using dynamic translation.
1c7073
1c7073
This package provides the system emulator for NIOS2.
1c7073
1c7073
c27704
David Woodhouse 5c3734
%prep
409720
%setup -q -n qemu-%{version}%{?rcstr}
Paolo Bonzini af53ec
%autopatch -p1
355b03
Alon Levy c8a79a
David Woodhouse 5c3734
%build
c27704
Paolo Bonzini 749c3c
# QEMU already knows how to set _FORTIFY_SOURCE
Paolo Bonzini 749c3c
%global optflags %(echo %{optflags} | sed 's/-Wp,-D_FORTIFY_SOURCE=2//')
Paolo Bonzini 749c3c
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
Daniel P. Berrange 083532
system_arch="\
Daniel P. Berrange 083532
  aarch64 \
Daniel P. Berrange 083532
  alpha \
Daniel P. Berrange 083532
  arm \
Daniel P. Berrange 083532
  cris \
Daniel P. Berrange 083532
  i386 \
Daniel P. Berrange 083532
  lm32 \
Daniel P. Berrange 083532
  m68k \
Daniel P. Berrange 083532
  microblaze \
Daniel P. Berrange 083532
  microblazeel \
Daniel P. Berrange 083532
  mips \
Daniel P. Berrange 083532
  mips64 \
Daniel P. Berrange 083532
  mips64el \
Daniel P. Berrange 083532
  mipsel \
Daniel P. Berrange 083532
  moxie \
1c7073
  nios2 \
1c7073
  or1k \
Daniel P. Berrange 083532
  ppc \
Daniel P. Berrange 083532
  ppc64 \
Daniel P. Berrange 083532
  ppcemb \
Daniel P. Berrange 083532
  s390x \
Daniel P. Berrange 083532
  sh4 \
Daniel P. Berrange 083532
  sh4eb \
Daniel P. Berrange 083532
  sparc \
Daniel P. Berrange 083532
  sparc64 \
Daniel P. Berrange 083532
  tricore \
Daniel P. Berrange 083532
  unicore32 \
Daniel P. Berrange 083532
  x86_64 \
Daniel P. Berrange 083532
  xtensa \
Daniel P. Berrange 083532
  xtensaeb"
Daniel P. Berrange 083532
Daniel P. Berrange 083532
user_arch="\
Daniel P. Berrange 083532
  aarch64 \
Daniel P. Berrange 083532
  alpha \
Daniel P. Berrange 083532
  arm \
Daniel P. Berrange 083532
  armeb \
Daniel P. Berrange 083532
  cris \
Daniel P. Berrange 083532
  i386 \
1c7073
  hppa \
Daniel P. Berrange 083532
  m68k \
Daniel P. Berrange 083532
  microblaze \
Daniel P. Berrange 083532
  microblazeel \
Daniel P. Berrange 083532
  mips \
Daniel P. Berrange 083532
  mips64 \
Daniel P. Berrange 083532
  mips64el \
Daniel P. Berrange 083532
  mipsel \
Daniel P. Berrange 083532
  mipsn32 \
Daniel P. Berrange 083532
  mipsn32el \
1c7073
  nios2 \
1c7073
  or1k \
Daniel P. Berrange 083532
  ppc \
Daniel P. Berrange 083532
  ppc64 \
Daniel P. Berrange 083532
  ppc64abi32 \
Daniel P. Berrange 083532
  ppc64le \
Daniel P. Berrange 083532
  s390x \
Daniel P. Berrange 083532
  sh4 \
Daniel P. Berrange 083532
  sh4eb \
Daniel P. Berrange 083532
  sparc \
Daniel P. Berrange 083532
  sparc32plus \
Daniel P. Berrange 083532
  sparc64 \
Daniel P. Berrange 083532
  x86_64"
Daniel P. Berrange 083532
Daniel P. Berrange 083532
dynamic_targets=
Daniel P. Berrange 083532
static_targets=
Daniel P. Berrange 083532
Daniel P. Berrange 083532
for arch in $system_arch
Daniel P. Berrange 083532
do
Daniel P. Berrange 083532
  dynamic_targets="$dynamic_targets $arch-softmmu"
Daniel P. Berrange 083532
done
Daniel P. Berrange 083532
Daniel P. Berrange 083532
for arch in $user_arch
Daniel P. Berrange 083532
do
Daniel P. Berrange 083532
  dynamic_targets="$dynamic_targets $arch-linux-user"
Daniel P. Berrange 083532
  static_targets="$static_targets $arch-linux-user"
Daniel P. Berrange 083532
done
Daniel P. Berrange 083532
ad339a
Dan Horák 94a40c
# gperftools providing tcmalloc is not ported to s390(x)
Paolo Bonzini 260c0a
%ifarch s390 s390x
e8a6e4
    %global tcmallocflag --disable-tcmalloc
Daniel P. Berrange 7bf315
%else
e8a6e4
    %global tcmallocflag --enable-tcmalloc
Daniel P. Berrange 7bf315
%endif
Daniel P. Berrange 7bf315
Daniel P. Berrange bcb37b
%if 0%{?have_spice:1}
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
        --interp-prefix=%{_prefix}/qemu-%%M \
84eeb1
        --localstatedir=%{_localstatedir} \
84eeb1
        --libexecdir=%{_libexecdir} \
84eeb1
        --with-pkgversion=%{name}-%{version}-%{release} \
84eeb1
        --disable-strip \
84eeb1
        --disable-werror \
84eeb1
        --enable-kvm \
84eeb1
%ifarch s390 %{mips64}
84eeb1
        --enable-tcg-interpreter \
84eeb1
%endif
84eeb1
        --enable-trace-backend=$tracebackends \
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 \
a6c450
%ifnarch aarch64
Daniel P. Berrange 083532
    --extra-ldflags="$extraldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -Wl,-z,relro -Wl,-z,now" \
Paolo Bonzini b68b5f
%else
Daniel P. Berrange 083532
    --extra-ldflags="$extraldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" \
Peter Robinson 806ecb
%endif
Paolo Bonzini b68b5f
    --extra-cflags="%{optflags} -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" \
Daniel P. Berrange 083532
    --target-list="$dynamic_targets" \
84eeb1
    --enable-pie \
ecbe00
    --enable-modules \
84eeb1
    --audio-drv-list=pa,sdl,alsa,oss \
84eeb1
    --tls-priority=@QEMU,SYSTEM \
Daniel P. Berrange 7bf315
    %{tcmallocflag} \
Daniel P. Berrange d4803f
    %{spiceflag} \
b44086
    --with-sdlabi="2.0" \
84eeb1
    --with-gtkabi="3.0"
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 \
Daniel P. Berrange 083532
%ifnarch aarch64
Daniel P. Berrange 083532
    --extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
Paolo Bonzini b68b5f
%else
Daniel P. Berrange 083532
    --extra-ldflags="$extraldflags" \
Daniel P. Berrange 083532
%endif
Paolo Bonzini b68b5f
    --extra-cflags="%{optflags}" \
Daniel P. Berrange 083532
    --target-list="$static_targets" \
Daniel P. Berrange 083532
    --static \
84eeb1
    --disable-pie \
Daniel P. Berrange 083532
    --disable-tcmalloc \
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 \
84eeb1
    --disable-libnfs
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
c27704
gcc %{_sourcedir}/ksmctl.c -O2 -g -o ksmctl
Justin M. Forbes 603dd6
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
c61e67
install -D -p -m 0644 %{_sourcedir}/ksm.service %{buildroot}%{_unitdir}
c27704
install -D -p -m 0644 %{_sourcedir}/ksm.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/ksm
c61e67
install -D -p -m 0755 ksmctl %{buildroot}%{_libexecdir}/ksmctl
Mark McLoughlin b11220
c61e67
install -D -p -m 0644 %{_sourcedir}/ksmtuned.service %{buildroot}%{_unitdir}
c27704
install -D -p -m 0755 %{_sourcedir}/ksmtuned %{buildroot}%{_sbindir}/ksmtuned
c27704
install -D -p -m 0644 %{_sourcedir}/ksmtuned.conf %{buildroot}%{_sysconfdir}/ksmtuned.conf
Mark McLoughlin cd8d5c
Paolo Bonzini dda6c3
install -D -p -m 0644 %{_sourcedir}/kvm.conf %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
Paolo Bonzini dda6c3
c27704
# Install qemu-guest-agent service and udev rules
c27704
install -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}
c27704
install -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevdir}
c27704
c75224
%ifarch s390x
c75224
install -d %{buildroot}%{_sysconfdir}/sysctl.d
b0b55f
install -m 0644 %{_sourcedir}/50-kvm-s390x.conf %{buildroot}%{_sysconfdir}/sysctl.d
c75224
%endif
c75224
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
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
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
c27704
mkdir -p %{buildroot}%{_exec_prefix}/lib/binfmt.d
Justin M. Forbes 603dd6
for i in dummy \
Justin M. Forbes 603dd6
%ifnarch %{ix86} x86_64
Paolo Bonzini 45f96f
    qemu-i386 \
Justin M. Forbes 603dd6
%endif
Paolo Bonzini a96ffe
%ifnarch alpha
Paolo Bonzini a96ffe
    qemu-alpha \
Paolo Bonzini a96ffe
%endif
Nathaniel McCallum 058342
%ifnarch aarch64
Nathaniel McCallum 058342
    qemu-aarch64 \
Nathaniel McCallum 058342
%endif
81a3da
%ifnarch %{arm}
Justin M. Forbes 603dd6
    qemu-arm \
Justin M. Forbes 603dd6
%endif
Paolo Bonzini a96ffe
    qemu-armeb \
b049f1
    qemu-cris \
b049f1
    qemu-microblaze qemu-microblazeel \
Michal Toman 504e25
%ifnarch mips64
Michal Toman 504e25
    qemu-mips64 \
Paolo Bonzini a96ffe
%ifnarch mips
Michal Toman 504e25
    qemu-mips \
Michal Toman 504e25
%endif
Paolo Bonzini a96ffe
%endif
Michal Toman 504e25
%ifnarch mips64el
Michal Toman 504e25
    qemu-mips64el \
Paolo Bonzini a96ffe
%ifnarch mipsel
Michal Toman 504e25
    qemu-mipsel \
Michal Toman 504e25
%endif
Paolo Bonzini a96ffe
%endif
Paolo Bonzini a96ffe
%ifnarch m68k
Paolo Bonzini a96ffe
    qemu-m68k \
Paolo Bonzini a96ffe
%endif
8dd6b5
%ifnarch ppc %{power64}
Nathaniel McCallum f73c47
    qemu-ppc qemu-ppc64abi32 qemu-ppc64le qemu-ppc64 \
Justin M. Forbes 603dd6
%endif
Justin M. Forbes 603dd6
%ifnarch sparc sparc64
b049f1
    qemu-sparc qemu-sparc32plus qemu-sparc64 \
Justin M. Forbes 603dd6
%endif
Paolo Bonzini a96ffe
%ifnarch s390 s390x
Paolo Bonzini a96ffe
    qemu-s390x \
Paolo Bonzini a96ffe
%endif
Justin M. Forbes 603dd6
%ifnarch sh4
Justin M. Forbes 603dd6
    qemu-sh4 \
Justin M. Forbes 603dd6
%endif
Paolo Bonzini a96ffe
    qemu-sh4eb \
Justin M. Forbes 603dd6
; do
Justin M. Forbes 603dd6
  test $i = dummy && continue
Daniel P. Berrange 083532
Daniel P. Berrange 083532
  grep /$i:\$ %{_sourcedir}/qemu.binfmt > %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-dynamic.conf
Daniel P. Berrange 083532
  chmod 644 %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-dynamic.conf
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%if %{user_static}
Bastien Nocera b8878c
  grep /$i:\$ %{_sourcedir}/qemu.binfmt | tr -d '\n' > %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
Bastien Nocera b8878c
  echo "F" >> %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
Bastien Nocera b8878c
  perl -i -p -e "s/$i:F/$i-static:F/" %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
Daniel P. Berrange 083532
  chmod 644 %{buildroot}%{_exec_prefix}/lib/binfmt.d/$i-static.conf
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 083532
c27704
done < %{_sourcedir}/qemu.binfmt
Daniel P. Berrange 1ad1f9
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
ecbe00
# We need to make the block device modules executable else
ecbe00
# RPM won't pick up their dependencies.
ecbe00
chmod +x %{buildroot}%{_libdir}/qemu/block-*.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
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}
Peter Robinson d35cbd
make check V=1
Peter Robinson d35cbd
%else
c61e67
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
d43799
%if %{have_kvm}
Paolo Bonzini 2803fc
%post %{kvm_package}
c75224
c75224
%ifarch s390x
c75224
%sysctl_apply 50-kvm-s390x.conf
c75224
%endif
Glauber Costa 8571d0
%endif
Glauber Costa 8571d0
c27704
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
979ec1
%post -n ksm
979ec1
%systemd_post ksm.service
979ec1
%systemd_post ksmtuned.service
979ec1
%preun -n ksm
6986e1
%systemd_preun ksm.service
6986e1
%systemd_preun ksmtuned.service
979ec1
%postun -n ksm
6986e1
%systemd_postun_with_restart ksm.service
6986e1
%systemd_postun_with_restart ksmtuned.service
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
Mark McLoughlin ccf76b
%dir %{_datadir}/%{name}/
7fae7f
%{_datadir}/%{name}/qemu-icon.bmp
76dcac
%{_datadir}/%{name}/qemu_logo_no_text.svg
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*
852ee3
%{_mandir}/man1/virtfs-proxy-helper.1*
1c7073
%{_mandir}/man7/qemu-ga-ref.7*
1c7073
%{_mandir}/man7/qemu-qmp-ref.7*
852ee3
%{_bindir}/virtfs-proxy-helper
acbc4a
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
Paolo Bonzini 15489f
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
Paolo Bonzini dda6c3
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
979ec1
%dir %{_sysconfdir}/qemu
979ec1
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
ecbe00
%dir %{_libdir}/qemu
979ec1
c27704
979ec1
%files -n ksm
c61e67
%{_libexecdir}/ksmctl
Mark McLoughlin cd8d5c
%{_sbindir}/ksmtuned
c27704
%{_unitdir}/ksmtuned.service
c27704
%{_unitdir}/ksm.service
Mark McLoughlin cd8d5c
%config(noreplace) %{_sysconfdir}/ksmtuned.conf
c27704
%config(noreplace) %{_sysconfdir}/sysconfig/ksm
c27704
Daniel P. Berrange 35d458
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
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
ecbe00
ecbe00
%files block-dmg
151958
%{_libdir}/qemu/block-dmg-bz2.so
ecbe00
ecbe00
ecbe00
%files block-gluster
ecbe00
%{_libdir}/qemu/block-gluster.so
ecbe00
ecbe00
ecbe00
%files block-iscsi
ecbe00
%{_libdir}/qemu/block-iscsi.so
ecbe00
ecbe00
151958
%files block-nfs
151958
%{_libdir}/qemu/block-nfs.so
151958
Daniel P. Berrange a3b9d9
%if %{have_rbd}
ecbe00
%files block-rbd
ecbe00
%{_libdir}/qemu/block-rbd.so
Daniel P. Berrange a3b9d9
%endif
ecbe00
ecbe00
ecbe00
%files block-ssh
ecbe00
%{_libdir}/qemu/block-ssh.so
ecbe00
ecbe00
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
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
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
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2-simpletrace.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus-simpletrace.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64-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
Daniel P. Berrange 083532
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
Daniel P. Berrange 083532
%{_bindir}/qemu-i386-static
Daniel P. Berrange 083532
%{_bindir}/qemu-x86_64-static
Daniel P. Berrange 083532
%{_bindir}/qemu-aarch64-static
Daniel P. Berrange 083532
%{_bindir}/qemu-alpha-static
Daniel P. Berrange 083532
%{_bindir}/qemu-arm-static
Daniel P. Berrange 083532
%{_bindir}/qemu-armeb-static
Daniel P. Berrange 083532
%{_bindir}/qemu-cris-static
1c7073
%{_bindir}/qemu-hppa-static
Daniel P. Berrange 083532
%{_bindir}/qemu-m68k-static
Daniel P. Berrange 083532
%{_bindir}/qemu-microblaze-static
Daniel P. Berrange 083532
%{_bindir}/qemu-microblazeel-static
Daniel P. Berrange 083532
%{_bindir}/qemu-mips-static
Daniel P. Berrange 083532
%{_bindir}/qemu-mipsel-static
Daniel P. Berrange 083532
%{_bindir}/qemu-mips64-static
Daniel P. Berrange 083532
%{_bindir}/qemu-mips64el-static
Daniel P. Berrange 083532
%{_bindir}/qemu-mipsn32-static
Daniel P. Berrange 083532
%{_bindir}/qemu-mipsn32el-static
1c7073
%{_bindir}/qemu-nios2-static
1c7073
%{_bindir}/qemu-or1k-static
Daniel P. Berrange 083532
%{_bindir}/qemu-ppc-static
Daniel P. Berrange 083532
%{_bindir}/qemu-ppc64-static
Daniel P. Berrange 083532
%{_bindir}/qemu-ppc64abi32-static
Daniel P. Berrange 083532
%{_bindir}/qemu-ppc64le-static
Daniel P. Berrange 083532
%{_bindir}/qemu-s390x-static
Daniel P. Berrange 083532
%{_bindir}/qemu-sh4-static
Daniel P. Berrange 083532
%{_bindir}/qemu-sh4eb-static
Daniel P. Berrange 083532
%{_bindir}/qemu-sparc-static
Daniel P. Berrange 083532
%{_bindir}/qemu-sparc32plus-static
Daniel P. Berrange 083532
%{_bindir}/qemu-sparc64-static
Daniel P. Berrange 083532
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-i386-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-x86_64-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-aarch64-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-alpha-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-arm-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-armeb-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-cris-simpletrace-static.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa-static.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-hppa-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-m68k-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblaze-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-microblazeel-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsel-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mips64el-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-mipsn32el-simpletrace-static.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2-static.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-nios2-simpletrace-static.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k-static.stp
1c7073
%{_datadir}/systemtap/tapset/qemu-or1k-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64abi32-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-ppc64le-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-s390x-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sh4eb-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc32plus-simpletrace-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64-static.stp
Daniel P. Berrange 083532
%{_datadir}/systemtap/tapset/qemu-sparc64-simpletrace-static.stp
Daniel P. Berrange 083532
%endif
Daniel P. Berrange 35d458
c27704
c27704
%files system-x86
ecbe00
# Deliberately empty
ecbe00
ecbe00
%files system-x86-core
Justin M. Forbes 27c330
%{_bindir}/qemu-system-i386
Glauber Costa 485711
%{_bindir}/qemu-system-x86_64
259393
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
259393
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
979ec1
%{_mandir}/man1/qemu-system-i386.1*
979ec1
%{_mandir}/man1/qemu-system-x86_64.1*
b26fb5
b26fb5
%if 0%{?need_qemu_kvm}
b26fb5
%{_bindir}/qemu-kvm
b26fb5
%{_mandir}/man1/qemu-kvm.1*
b26fb5
%endif
b26fb5
96a5f8
%{_datadir}/%{name}/acpi-dsdt.aml
Mark McLoughlin ccf76b
%{_datadir}/%{name}/bios.bin
ac843b
%{_datadir}/%{name}/bios-256k.bin
Justin M. Forbes 27c330
%{_datadir}/%{name}/sgabios.bin
Justin M. Forbes 41dea4
%{_datadir}/%{name}/linuxboot.bin
ef34be
%{_datadir}/%{name}/linuxboot_dma.bin
Mark McLoughlin f2bd6c
%{_datadir}/%{name}/multiboot.bin
46f7a9
%{_datadir}/%{name}/kvmvapic.bin
c27704
Daniel P. Berrange 35d458
c27704
%files system-alpha
ecbe00
# Deliberately empty
ecbe00
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
# Deliberately empty
ecbe00
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-mips
ecbe00
# Deliberately empty
ecbe00
ecbe00
%files system-mips-core
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-mipsel
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-mips64
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-mips64el
259393
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
979ec1
%{_mandir}/man1/qemu-system-mips.1*
979ec1
%{_mandir}/man1/qemu-system-mipsel.1*
979ec1
%{_mandir}/man1/qemu-system-mips64el.1*
979ec1
%{_mandir}/man1/qemu-system-mips64.1*
Daniel P. Berrange 35d458
c27704
c27704
%files system-cris
ecbe00
# Deliberately empty
ecbe00
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
c27704
%files system-lm32
ecbe00
# Deliberately empty
ecbe00
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
# Deliberately empty
ecbe00
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
# Deliberately empty
ecbe00
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
1c7073
%files system-or1k
ecbe00
# Deliberately empty
ecbe00
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
c27704
%files system-s390x
ecbe00
# Deliberately empty
ecbe00
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 31c633
%ifarch s390x
c75224
%{_sysconfdir}/sysctl.d/50-kvm-s390x.conf
Paolo Bonzini 31c633
%endif
Paolo Bonzini c32efe
c27704
c27704
%files system-sh4
ecbe00
# Deliberately empty
ecbe00
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
# Deliberately empty
ecbe00
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
c27704
%files system-ppc
ecbe00
# Deliberately empty
ecbe00
ecbe00
%files system-ppc-core
57c57a
%{_bindir}/qemu-system-ppc
57c57a
%{_bindir}/qemu-system-ppc64
57c57a
%{_bindir}/qemu-system-ppcemb
259393
%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
979ec1
%{_mandir}/man1/qemu-system-ppc.1*
979ec1
%{_mandir}/man1/qemu-system-ppc64.1*
979ec1
%{_mandir}/man1/qemu-system-ppcemb.1*
Paolo Bonzini 2803fc
%{_datadir}/%{name}/bamboo.dtb
Paolo Bonzini 2803fc
%{_datadir}/%{name}/ppc_rom.bin
1a4355
%{_datadir}/%{name}/qemu_vga.ndrv
151958
%{_datadir}/%{name}/skiboot.lid
Paolo Bonzini 2803fc
%{_datadir}/%{name}/spapr-rtas.bin
b44086
%{_datadir}/%{name}/u-boot.e500
8dd6b5
%ifarch %{power64}
d19693
%{_sysconfdir}/security/limits.d/95-kvm-ppc64-memlock.conf
Paolo Bonzini 2803fc
%endif
Daniel P. Berrange 36ffed
c27704
c27704
%files system-unicore32
ecbe00
# Deliberately empty
ecbe00
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
c27704
%files system-xtensa
ecbe00
# Deliberately empty
ecbe00
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
c27704
%files system-moxie
ecbe00
# Deliberately empty
ecbe00
ecbe00
%files system-moxie-core
7fae7f
%{_bindir}/qemu-system-moxie
259393
%{_datadir}/systemtap/tapset/qemu-system-moxie*.stp
979ec1
%{_mandir}/man1/qemu-system-moxie.1*
7fae7f
c27704
c27704
%files system-aarch64
ecbe00
# Deliberately empty
ecbe00
ecbe00
%files system-aarch64-core
21cd6f
%{_bindir}/qemu-system-aarch64
259393
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
21cd6f
%{_mandir}/man1/qemu-system-aarch64.1*
21cd6f
c27704
c27704
%files system-tricore
ecbe00
# Deliberately empty
ecbe00
ecbe00
%files system-tricore-core
259393
%{_bindir}/qemu-system-tricore
259393
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
259393
%{_mandir}/man1/qemu-system-tricore.1*
259393
c27704
1c7073
%files system-nios2
1c7073
# Deliberately empty
1c7073
1c7073
%files system-nios2-core
1c7073
%{_bindir}/qemu-system-nios2
1c7073
%{_datadir}/systemtap/tapset/qemu-system-nios2*.stp
1c7073
%{_mandir}/man1/qemu-system-nios2.1*
1c7073
1c7073
David Woodhouse 5c3734
%changelog
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