2012-10-11 16:01:59 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
%global kvm_package system-x86
|
2015-04-16 12:27:50 +00:00
|
|
|
# need_qemu_kvm should only ever be used by x86
|
2012-10-11 16:01:59 +00:00
|
|
|
%global need_qemu_kvm 1
|
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
|
|
|
%global kvm_package system-x86
|
2015-04-16 12:27:50 +00:00
|
|
|
# need_qemu_kvm should only ever be used by x86
|
2012-10-11 16:01:59 +00:00
|
|
|
%global need_qemu_kvm 1
|
|
|
|
%endif
|
2016-10-19 16:17:47 +00:00
|
|
|
%ifarch %{power64}
|
2012-10-11 16:01:59 +00:00
|
|
|
%global kvm_package system-ppc
|
|
|
|
%endif
|
2012-10-19 08:15:31 +00:00
|
|
|
%ifarch s390x
|
|
|
|
%global kvm_package system-s390x
|
|
|
|
%endif
|
2013-06-01 22:30:46 +00:00
|
|
|
%ifarch armv7hl
|
|
|
|
%global kvm_package system-arm
|
|
|
|
%endif
|
2014-04-22 00:35:15 +00:00
|
|
|
%ifarch aarch64
|
|
|
|
%global kvm_package system-aarch64
|
2015-06-05 22:21:57 +00:00
|
|
|
%endif
|
2016-09-21 07:21:30 +00:00
|
|
|
%ifarch %{mips}
|
|
|
|
%global kvm_package system-mips
|
|
|
|
%endif
|
2015-06-05 22:21:57 +00:00
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
%global user_static 1
|
|
|
|
|
2015-06-05 22:21:57 +00:00
|
|
|
%global have_kvm 0
|
|
|
|
%if 0%{?kvm_package:1}
|
|
|
|
%global have_kvm 1
|
2014-04-22 00:35:15 +00:00
|
|
|
%endif
|
2012-10-11 16:01:59 +00:00
|
|
|
|
2018-03-23 20:12:53 +00:00
|
|
|
# Matches numactl ExcludeArch
|
|
|
|
%global have_numactl 1
|
|
|
|
%ifarch s390 %{arm}
|
|
|
|
%global have_numactl 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Upstream disables iasl for big endian and QEMU checks
|
|
|
|
# for this. Fedora has re-enabled it on BE circumventing
|
|
|
|
# the QEMU checks, but it fails none the less:
|
|
|
|
#
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1332449
|
|
|
|
%global have_iasl 1
|
|
|
|
%ifnarch s390 s390x ppc ppc64
|
|
|
|
%global have_iasl 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Matches spice ExclusiveArch
|
2019-03-22 23:17:52 +00:00
|
|
|
%global have_spice 0
|
2018-03-23 20:12:53 +00:00
|
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64
|
2019-03-22 23:17:52 +00:00
|
|
|
%global have_spice 1
|
2015-04-16 12:27:50 +00:00
|
|
|
%endif
|
|
|
|
|
2018-03-23 20:12:53 +00:00
|
|
|
# Matches xen ExclusiveArch
|
2019-03-22 23:17:52 +00:00
|
|
|
%global have_xen 0
|
2018-03-23 20:12:53 +00:00
|
|
|
%ifarch %{ix86} x86_64 armv7hl aarch64
|
2015-04-16 12:27:50 +00:00
|
|
|
%global have_xen 1
|
|
|
|
%endif
|
|
|
|
|
2016-09-08 19:56:28 +00:00
|
|
|
# Matches edk2.spec ExclusiveArch
|
2019-03-22 23:17:52 +00:00
|
|
|
%global have_edk2 0
|
2016-09-08 19:56:28 +00:00
|
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64
|
|
|
|
%global have_edk2 1
|
|
|
|
%endif
|
|
|
|
|
2016-11-11 13:19:37 +00:00
|
|
|
# If we can run qemu-sanity-check, hostqemu gets defined.
|
|
|
|
%ifarch %{arm}
|
|
|
|
%global hostqemu arm-softmmu/qemu-system-arm
|
|
|
|
%endif
|
|
|
|
%ifarch aarch64
|
|
|
|
%global hostqemu arm-softmmu/qemu-system-aarch64
|
|
|
|
%endif
|
|
|
|
%ifarch %{ix86}
|
|
|
|
%global hostqemu i386-softmmu/qemu-system-i386
|
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
|
|
|
%global hostqemu x86_64-softmmu/qemu-system-x86_64
|
|
|
|
%endif
|
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
# All modules should be listed here.
|
2018-12-10 18:39:46 +00:00
|
|
|
%ifarch %{ix86} %{arm}
|
|
|
|
%define with_block_rbd 0
|
|
|
|
%else
|
|
|
|
%define with_block_rbd 1
|
|
|
|
%endif
|
2019-03-20 20:57:15 +00:00
|
|
|
%global with_block_gluster 1
|
2019-03-01 12:00:47 +00:00
|
|
|
|
2019-12-02 11:35:47 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
%define with_rdma 0
|
|
|
|
%else
|
|
|
|
%define with_rdma 1
|
|
|
|
%endif
|
|
|
|
|
2019-03-01 11:58:14 +00:00
|
|
|
%define evr %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%define requires_block_curl Requires: %{name}-block-curl = %{evr}
|
|
|
|
%define requires_block_dmg Requires: %{name}-block-dmg = %{evr}
|
2019-03-01 12:00:47 +00:00
|
|
|
%if %{with_block_gluster}
|
2019-03-01 11:58:14 +00:00
|
|
|
%define requires_block_gluster Requires: %{name}-block-gluster = %{evr}
|
2019-03-01 12:00:47 +00:00
|
|
|
%define obsoletes_block_gluster %{nil}
|
|
|
|
%else
|
|
|
|
%define requires_block_gluster %{nil}
|
|
|
|
%define obsoletes_block_gluster Obsoletes: %{name}-block-gluster < %{evr}
|
|
|
|
%endif
|
2019-03-01 11:58:14 +00:00
|
|
|
%define requires_block_iscsi Requires: %{name}-block-iscsi = %{evr}
|
|
|
|
%define requires_block_nfs Requires: %{name}-block-nfs = %{evr}
|
2018-12-10 18:39:46 +00:00
|
|
|
%if %{with_block_rbd}
|
2019-03-01 11:58:14 +00:00
|
|
|
%define requires_block_rbd Requires: %{name}-block-rbd = %{evr}
|
2019-03-19 12:58:34 +00:00
|
|
|
%define obsoletes_block_rbd %{nil}
|
2018-12-10 18:39:46 +00:00
|
|
|
%else
|
2019-03-01 11:58:14 +00:00
|
|
|
%define requires_block_rbd %{nil}
|
2019-03-19 12:58:34 +00:00
|
|
|
%define obsoletes_block_rbd Obsoletes: %{name}-block-rbd < %{evr}
|
2019-03-01 11:58:14 +00:00
|
|
|
%endif
|
|
|
|
%define requires_block_ssh Requires: %{name}-block-ssh = %{evr}
|
|
|
|
%define requires_audio_alsa Requires: %{name}-audio-alsa = %{evr}
|
|
|
|
%define requires_audio_oss Requires: %{name}-audio-oss = %{evr}
|
|
|
|
%define requires_audio_pa Requires: %{name}-audio-pa = %{evr}
|
|
|
|
%define requires_audio_sdl Requires: %{name}-audio-sdl = %{evr}
|
2019-03-20 16:55:02 +00:00
|
|
|
%define requires_ui_curses Requires: %{name}-ui-curses = %{evr}
|
2019-03-01 11:58:14 +00:00
|
|
|
%define requires_ui_gtk Requires: %{name}-ui-gtk = %{evr}
|
|
|
|
%define requires_ui_sdl Requires: %{name}-ui-sdl = %{evr}
|
2019-11-15 14:39:29 +00:00
|
|
|
|
|
|
|
%if %{have_spice}
|
2019-11-13 17:38:02 +00:00
|
|
|
%define requires_ui_spice_app Requires: %{name}-ui-spice-app = %{evr}
|
2019-11-15 14:39:29 +00:00
|
|
|
%else
|
2019-11-15 14:43:16 +00:00
|
|
|
%define requires_ui_spice_app %{nil}
|
2019-11-15 14:39:29 +00:00
|
|
|
%endif
|
2019-03-01 11:58:14 +00:00
|
|
|
|
|
|
|
%global requires_all_modules \
|
|
|
|
%{requires_block_curl} \
|
|
|
|
%{requires_block_dmg} \
|
|
|
|
%{requires_block_gluster} \
|
|
|
|
%{requires_block_iscsi} \
|
|
|
|
%{requires_block_nfs} \
|
|
|
|
%{requires_block_rbd} \
|
|
|
|
%{requires_block_ssh} \
|
|
|
|
%{requires_audio_alsa} \
|
|
|
|
%{requires_audio_oss} \
|
|
|
|
%{requires_audio_pa} \
|
|
|
|
%{requires_audio_sdl} \
|
|
|
|
%{requires_ui_curses} \
|
|
|
|
%{requires_ui_gtk} \
|
2019-11-13 15:41:11 +00:00
|
|
|
%{requires_ui_sdl} \
|
2019-11-13 17:38:02 +00:00
|
|
|
%{requires_ui_spice_app}
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2019-03-19 12:58:34 +00:00
|
|
|
# Modules which can be conditionally built
|
|
|
|
%global obsoletes_some_modules \
|
2019-03-01 12:00:47 +00:00
|
|
|
%{obsoletes_block_gluster} \
|
2019-03-19 12:58:34 +00:00
|
|
|
%{obsoletes_block_rbd}
|
|
|
|
|
2016-04-07 16:59:59 +00:00
|
|
|
# Release candidate version tracking
|
2020-05-06 13:27:16 +00:00
|
|
|
# global rcver rc3
|
2017-08-03 13:12:28 +00:00
|
|
|
%if 0%{?rcver:1}
|
|
|
|
%global rcrel .%{rcver}
|
|
|
|
%global rcstr -%{rcver}
|
|
|
|
%endif
|
2016-04-07 16:59:59 +00:00
|
|
|
|
2014-03-24 13:15:34 +00:00
|
|
|
|
2005-02-13 12:57:23 +00:00
|
|
|
Summary: QEMU is a FAST! processor emulator
|
|
|
|
Name: qemu
|
2020-03-24 22:37:35 +00:00
|
|
|
Version: 5.0.0
|
2020-07-28 03:14:53 +00:00
|
|
|
Release: 3%{?rcrel}%{?dist}
|
2009-03-04 17:32:40 +00:00
|
|
|
Epoch: 2
|
2018-02-27 15:11:10 +00:00
|
|
|
License: GPLv2 and BSD and MIT and CC-BY
|
2006-08-23 16:22:50 +00:00
|
|
|
URL: http://www.qemu.org/
|
2010-07-20 12:39:23 +00:00
|
|
|
|
2017-03-15 16:01:07 +00:00
|
|
|
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}%{?rcstr}.tar.xz
|
2011-07-18 19:26:30 +00:00
|
|
|
|
2016-04-14 22:41:46 +00:00
|
|
|
# guest agent service
|
2011-10-05 15:00:36 +00:00
|
|
|
Source10: qemu-guest-agent.service
|
2017-11-28 09:52:06 +00:00
|
|
|
Source17: qemu-ga.sysconfig
|
2016-04-14 22:41:46 +00:00
|
|
|
# guest agent udev rules
|
2011-10-05 15:00:36 +00:00
|
|
|
Source11: 99-qemu-guest-agent.rules
|
2016-04-14 22:41:46 +00:00
|
|
|
# /etc/qemu/bridge.conf
|
2012-11-15 16:58:05 +00:00
|
|
|
Source12: bridge.conf
|
2016-04-14 22:41:46 +00:00
|
|
|
# qemu-kvm back compat wrapper installed as /usr/bin/qemu-kvm
|
2013-02-20 01:14:18 +00:00
|
|
|
Source13: qemu-kvm.sh
|
2017-09-22 08:13:19 +00:00
|
|
|
# PR manager service
|
|
|
|
Source14: qemu-pr-helper.service
|
|
|
|
Source15: qemu-pr-helper.socket
|
2018-07-31 22:39:03 +00:00
|
|
|
# /etc/modprobe.d/kvm.conf, for x86
|
|
|
|
Source20: kvm-x86.modprobe.conf
|
2016-10-19 16:23:45 +00:00
|
|
|
# /etc/security/limits.d/95-kvm-ppc64-memlock.conf
|
2018-07-31 20:36:31 +00:00
|
|
|
Source21: 95-kvm-ppc64-memlock.conf
|
2018-06-18 12:45:14 +00:00
|
|
|
|
2020-05-13 17:34:26 +00:00
|
|
|
# Fix iouring hang (bz #1823751)
|
|
|
|
# https://lists.gnu.org/archive/html/qemu-devel/2020-05/msg02728.html
|
|
|
|
Patch0001: 0001-aio-posix-don-t-duplicate-fd-handler-deletion-in-fdm.patch
|
|
|
|
Patch0002: 0002-aio-posix-disable-fdmon-io_uring-when-GSource-is-use.patch
|
|
|
|
|
2019-05-14 11:31:27 +00:00
|
|
|
|
2016-05-15 18:52:29 +00:00
|
|
|
# documentation deps
|
|
|
|
BuildRequires: texinfo
|
|
|
|
# For /usr/bin/pod2man
|
|
|
|
BuildRequires: perl-podlators
|
2019-08-19 21:14:57 +00:00
|
|
|
%ifnarch %{ix86}
|
2016-05-15 18:52:29 +00:00
|
|
|
# For sanity test
|
|
|
|
BuildRequires: qemu-sanity-check-nodeps
|
|
|
|
BuildRequires: kernel
|
2019-07-25 14:23:11 +00:00
|
|
|
%endif
|
2018-03-23 20:12:53 +00:00
|
|
|
%if %{have_iasl}
|
2016-05-15 18:52:29 +00:00
|
|
|
# For acpi compilation
|
|
|
|
BuildRequires: iasl
|
2017-10-12 08:33:37 +00:00
|
|
|
%endif
|
2016-05-15 18:52:29 +00:00
|
|
|
# For chrpath calls in specfile
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
|
|
|
# -display sdl support
|
2014-07-09 15:53:36 +00:00
|
|
|
BuildRequires: SDL2-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# used in various places for compression
|
2012-08-06 19:53:39 +00:00
|
|
|
BuildRequires: zlib-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# used in various places for crypto
|
2012-08-06 19:53:39 +00:00
|
|
|
BuildRequires: gnutls-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# VNC sasl auth support
|
2012-08-06 19:53:39 +00:00
|
|
|
BuildRequires: cyrus-sasl-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# aio implementation for block drivers
|
2010-03-09 16:18:48 +00:00
|
|
|
BuildRequires: libaio-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# pulseaudio audio output
|
2009-04-21 13:53:59 +00:00
|
|
|
BuildRequires: pulseaudio-libs-devel
|
2016-07-13 14:08:58 +00:00
|
|
|
# alsa audio output
|
|
|
|
BuildRequires: alsa-lib-devel
|
2017-09-22 08:13:19 +00:00
|
|
|
# qemu-pr-helper multipath support (requires libudev too)
|
|
|
|
BuildRequires: device-mapper-multipath-devel
|
|
|
|
BuildRequires: systemd-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# iscsi drive support
|
2013-03-11 16:25:17 +00:00
|
|
|
BuildRequires: libiscsi-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# NFS drive support
|
2016-04-07 16:59:59 +00:00
|
|
|
BuildRequires: libnfs-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# snappy compression for memory dump
|
2016-04-07 16:59:59 +00:00
|
|
|
BuildRequires: snappy-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# lzo compression for memory dump
|
2016-04-07 16:59:59 +00:00
|
|
|
BuildRequires: lzo-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# needed for -display curses
|
2009-06-05 09:32:34 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# used by 9pfs
|
2011-06-22 11:48:48 +00:00
|
|
|
BuildRequires: libattr-devel
|
2017-09-22 08:13:19 +00:00
|
|
|
# used by qemu-bridge-helper and qemu-pr-helper
|
2016-05-15 18:52:29 +00:00
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
# spice usb redirection support
|
2012-09-25 19:47:24 +00:00
|
|
|
BuildRequires: usbredir-devel >= 0.5.2
|
2019-03-22 23:17:52 +00:00
|
|
|
%if %{have_spice}
|
2016-05-15 18:52:29 +00:00
|
|
|
# spice graphics support
|
2012-09-28 10:23:45 +00:00
|
|
|
BuildRequires: spice-protocol >= 0.12.2
|
|
|
|
BuildRequires: spice-server-devel >= 0.12.0
|
2012-10-11 16:01:59 +00:00
|
|
|
%endif
|
2016-05-15 18:52:29 +00:00
|
|
|
# seccomp containment support
|
2016-03-01 11:46:16 +00:00
|
|
|
BuildRequires: libseccomp-devel >= 2.3.0
|
2011-09-13 10:29:25 +00:00
|
|
|
# For network block driver
|
2011-09-13 10:48:08 +00:00
|
|
|
BuildRequires: libcurl-devel
|
2018-12-10 18:39:46 +00:00
|
|
|
%if %{with_block_rbd}
|
2011-10-12 15:08:53 +00:00
|
|
|
# For rbd block driver
|
2017-07-25 08:44:33 +00:00
|
|
|
BuildRequires: librados2-devel
|
|
|
|
BuildRequires: librbd1-devel
|
2018-12-10 18:39:46 +00:00
|
|
|
%endif
|
2011-09-13 10:24:38 +00:00
|
|
|
# We need both because the 'stap' binary is probed for by configure
|
|
|
|
BuildRequires: systemtap
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
2012-02-13 13:29:32 +00:00
|
|
|
# For VNC JPEG support
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
# For VNC PNG support
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
# For Braille device support
|
|
|
|
BuildRequires: brlapi-devel
|
|
|
|
# For FDT device tree support
|
|
|
|
BuildRequires: libfdt-devel
|
2012-12-06 22:21:55 +00:00
|
|
|
# Hard requirement for version >= 1.3
|
|
|
|
BuildRequires: pixman-devel
|
2019-03-01 12:00:47 +00:00
|
|
|
%if %{with_block_gluster}
|
2013-05-15 21:00:49 +00:00
|
|
|
# For gluster support
|
2019-03-01 12:00:47 +00:00
|
|
|
BuildRequires: glusterfs-devel >= 3.4.0
|
|
|
|
BuildRequires: glusterfs-api-devel >= 3.4.0
|
|
|
|
%endif
|
2013-05-21 16:12:56 +00:00
|
|
|
# Needed for usb passthrough for qemu >= 1.5
|
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
# SSH block driver
|
2019-07-11 20:04:49 +00:00
|
|
|
BuildRequires: libssh-devel
|
2013-05-21 16:12:56 +00:00
|
|
|
# GTK frontend
|
|
|
|
BuildRequires: gtk3-devel
|
2016-12-05 14:15:43 +00:00
|
|
|
BuildRequires: vte291-devel
|
2013-05-21 18:51:10 +00:00
|
|
|
# GTK translations
|
|
|
|
BuildRequires: gettext
|
2013-08-16 18:20:08 +00:00
|
|
|
# RDMA migration
|
2019-12-02 11:35:47 +00:00
|
|
|
%if %{with_rdma}
|
2018-03-23 20:12:53 +00:00
|
|
|
BuildRequires: rdma-core-devel
|
2019-12-02 11:35:47 +00:00
|
|
|
%endif
|
2019-03-22 23:17:52 +00:00
|
|
|
%if %{have_xen}
|
2016-05-15 18:52:29 +00:00
|
|
|
# Xen support
|
2014-03-24 13:15:34 +00:00
|
|
|
BuildRequires: xen-devel
|
|
|
|
%endif
|
2018-03-23 20:12:53 +00:00
|
|
|
%if %{have_numactl}
|
2016-05-15 18:52:29 +00:00
|
|
|
# qemu 2.1: needed for memdev hostmem backend
|
2014-10-24 15:38:01 +00:00
|
|
|
BuildRequires: numactl-devel
|
2014-07-04 19:08:59 +00:00
|
|
|
%endif
|
2016-05-15 18:52:29 +00:00
|
|
|
# qemu 2.3: reading bzip2 compressed dmg images
|
2015-03-22 14:59:08 +00:00
|
|
|
BuildRequires: bzip2-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# qemu 2.4: needed for opengl bits
|
2015-09-29 21:09:48 +00:00
|
|
|
BuildRequires: libepoxy-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# qemu 2.5: needed for TLS test suite
|
2015-11-17 20:45:12 +00:00
|
|
|
BuildRequires: libtasn1-devel
|
2016-05-15 18:52:29 +00:00
|
|
|
# qemu 2.5: libcacard is it's own project now
|
2015-11-17 20:45:12 +00:00
|
|
|
BuildRequires: libcacard-devel >= 2.5.0
|
2016-05-15 18:52:29 +00:00
|
|
|
# qemu 2.5: virgl 3d support
|
2015-11-17 20:45:12 +00:00
|
|
|
BuildRequires: virglrenderer-devel
|
2019-07-11 20:04:49 +00:00
|
|
|
# qemu 2.6: Needed for gtk GL support, vhost-user-gpu
|
2016-04-14 22:25:55 +00:00
|
|
|
BuildRequires: mesa-libgbm-devel
|
2017-11-20 00:00:15 +00:00
|
|
|
# qemu 2.11: preferred disassembler for TCG
|
|
|
|
BuildRequires: capstone-devel
|
2018-03-21 23:01:36 +00:00
|
|
|
# qemu 2.12: parallels disk images require libxml2 now
|
|
|
|
BuildRequires: libxml2-devel
|
2018-11-16 16:00:57 +00:00
|
|
|
%ifarch x86_64
|
2018-11-16 00:50:28 +00:00
|
|
|
# qemu 3.1: Used for nvdimm
|
|
|
|
BuildRequires: libpmem-devel
|
2018-11-16 16:00:57 +00:00
|
|
|
%endif
|
2018-11-16 00:50:28 +00:00
|
|
|
# qemu 3.1: Used for qemu-ga
|
|
|
|
BuildRequires: libudev-devel
|
2019-03-20 20:57:15 +00:00
|
|
|
# qemu 4.0: Use for qauth infrastructure
|
|
|
|
BuildRequires: pam-devel
|
2019-06-20 20:30:27 +00:00
|
|
|
# qemu 4.0: user-mode networking
|
2019-06-21 12:18:53 +00:00
|
|
|
%if 0%{?fedora} > 30
|
2019-06-20 20:30:27 +00:00
|
|
|
BuildRequires: libslirp-devel
|
2019-06-21 12:18:53 +00:00
|
|
|
%endif
|
2019-03-20 20:57:15 +00:00
|
|
|
# qemu 4.0: sphinx-build used for some docs
|
|
|
|
%if 0%{?fedora} > 30
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
%else
|
|
|
|
BuildRequires: python2-sphinx
|
|
|
|
%endif
|
|
|
|
# qemu 4.0: Used by test suite ./scripts/tap-driver.pl
|
|
|
|
BuildRequires: perl-Test-Harness
|
2019-03-21 10:35:56 +00:00
|
|
|
# Required for making python shebangs versioned
|
|
|
|
BuildRequires: /usr/bin/pathfix.py
|
|
|
|
BuildRequires: python3-devel
|
2020-03-25 18:14:43 +00:00
|
|
|
%ifnarch %{arm}
|
|
|
|
# qemu 5.0 liburing support. Library isn't built for arm
|
2020-03-24 22:37:35 +00:00
|
|
|
BuildRequires: liburing-devel
|
2020-03-25 18:14:43 +00:00
|
|
|
%endif
|
2020-03-24 22:37:35 +00:00
|
|
|
# qemu 5.0 zstd compression support
|
|
|
|
BuildRequires: libzstd-devel
|
2020-04-09 10:30:48 +00:00
|
|
|
# `hostname` used by test suite
|
|
|
|
BuildRequires: hostname
|
2015-03-22 14:59:08 +00:00
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
BuildRequires: glibc-static pcre-static glib2-static zlib-static
|
|
|
|
|
2016-11-11 13:19:37 +00:00
|
|
|
%if 0%{?hostqemu:1}
|
|
|
|
# For complicated reasons, this is required so that
|
|
|
|
# /bin/kernel-install puts the kernel directly into /boot, instead of
|
|
|
|
# into a /boot/<machine-id> subdirectory (in Fedora >= 23). This is
|
|
|
|
# so we can run qemu-sanity-check. Read the kernel-install script to
|
|
|
|
# understand why.
|
|
|
|
BuildRequires: grubby
|
|
|
|
%endif
|
2012-12-06 22:21:55 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
Requires: %{name}-user = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
Requires: %{name}-system-aarch64 = %{epoch}:%{version}-%{release}
|
2015-03-27 19:15:26 +00:00
|
|
|
Requires: %{name}-system-alpha = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-lm32 = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-microblaze = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
Requires: %{name}-system-moxie = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-nios2 = %{epoch}:%{version}-%{release}
|
2017-03-15 16:01:07 +00:00
|
|
|
Requires: %{name}-system-or1k = %{epoch}:%{version}-%{release}
|
2015-03-27 19:15:26 +00:00
|
|
|
Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
Requires: %{name}-system-riscv = %{epoch}:%{version}-%{release}
|
2020-03-25 20:22:54 +00:00
|
|
|
Requires: %{name}-system-rx = %{epoch}:%{version}-%{release}
|
2015-03-27 19:15:26 +00:00
|
|
|
Requires: %{name}-system-s390x = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
Requires: %{name}-system-tricore = %{epoch}:%{version}-%{release}
|
2015-03-27 19:15:26 +00:00
|
|
|
Requires: %{name}-system-unicore32 = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-system-xtensa = %{epoch}:%{version}-%{release}
|
2009-03-04 17:32:40 +00:00
|
|
|
Requires: %{name}-img = %{epoch}:%{version}-%{release}
|
2009-03-03 23:57:07 +00:00
|
|
|
|
2009-03-02 20:23:54 +00:00
|
|
|
|
2005-02-13 12:57:23 +00:00
|
|
|
%description
|
2006-08-23 16:22:50 +00:00
|
|
|
QEMU is a generic and open source processor emulator which achieves a good
|
|
|
|
emulation speed by using dynamic translation. QEMU has two operating modes:
|
2005-02-13 12:57:23 +00:00
|
|
|
|
2006-08-23 16:22:50 +00:00
|
|
|
* Full system emulation. In this mode, QEMU emulates a full system (for
|
|
|
|
example a PC), including a processor and various peripherials. It can be
|
|
|
|
used to launch different Operating Systems without rebooting the PC or
|
|
|
|
to debug system code.
|
2005-02-13 12:57:23 +00:00
|
|
|
* User mode emulation. In this mode, QEMU can launch Linux processes compiled
|
2006-08-23 16:22:50 +00:00
|
|
|
for one CPU on another CPU.
|
2005-02-13 12:57:23 +00:00
|
|
|
|
2006-08-23 16:22:50 +00:00
|
|
|
As QEMU requires no host kernel patches to run, it is safe and easy to use.
|
2005-02-13 12:57:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2009-03-04 17:32:40 +00:00
|
|
|
%package common
|
|
|
|
Summary: QEMU common files needed by all QEMU targets
|
2017-04-13 23:25:22 +00:00
|
|
|
Requires: ipxe-roms-qemu
|
2009-10-09 14:32:55 +00:00
|
|
|
Requires(post): /usr/bin/getent
|
|
|
|
Requires(post): /usr/sbin/groupadd
|
|
|
|
Requires(post): /usr/sbin/useradd
|
2012-07-30 00:13:45 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2019-03-19 12:58:34 +00:00
|
|
|
%{obsoletes_some_modules}
|
2009-03-04 17:32:40 +00:00
|
|
|
%description common
|
|
|
|
This package provides the common files needed by all QEMU targets
|
2009-03-02 20:23:54 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2011-10-05 15:00:36 +00:00
|
|
|
%package guest-agent
|
|
|
|
Summary: QEMU guest agent
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
%description guest-agent
|
|
|
|
This package provides an agent to run inside guests, which communicates
|
|
|
|
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
|
|
|
|
|
|
|
|
This package does not need to be installed on the host OS.
|
|
|
|
|
|
|
|
|
2015-11-18 15:28:10 +00:00
|
|
|
%package img
|
|
|
|
Summary: QEMU command line tool for manipulating disk images
|
|
|
|
%description img
|
|
|
|
This package provides a command line tool for manipulating disk images
|
2011-10-05 15:00:36 +00:00
|
|
|
|
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package -n ivshmem-tools
|
|
|
|
Summary: Client and server for QEMU ivshmem device
|
|
|
|
%description -n ivshmem-tools
|
|
|
|
This package provides client and server tools for QEMU's ivshmem device.
|
|
|
|
|
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package block-curl
|
|
|
|
Summary: QEMU CURL block driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description block-curl
|
|
|
|
This package provides the additional CURL block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to access remote disks over
|
|
|
|
http, https, ftp and other transports provided by the CURL library.
|
|
|
|
|
|
|
|
|
|
|
|
%package block-dmg
|
|
|
|
Summary: QEMU block driver for DMG disk images
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description block-dmg
|
|
|
|
This package provides the additional DMG block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to open '.dmg' files.
|
|
|
|
|
|
|
|
|
2019-03-01 12:00:47 +00:00
|
|
|
%if %{with_block_gluster}
|
2016-11-11 09:52:23 +00:00
|
|
|
%package block-gluster
|
|
|
|
Summary: QEMU Gluster block driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description block-gluster
|
|
|
|
This package provides the additional Gluster block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to access remote Gluster storage.
|
2019-03-01 12:00:47 +00:00
|
|
|
%endif
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package block-iscsi
|
|
|
|
Summary: QEMU iSCSI block driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description block-iscsi
|
|
|
|
This package provides the additional iSCSI block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to access iSCSI volumes.
|
|
|
|
|
|
|
|
|
2016-12-05 01:21:16 +00:00
|
|
|
%package block-nfs
|
|
|
|
Summary: QEMU NFS block driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description block-nfs
|
|
|
|
This package provides the additional NFS block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to access remote NFS storage.
|
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
|
2018-12-10 18:39:46 +00:00
|
|
|
%if %{with_block_rbd}
|
2016-11-11 09:52:23 +00:00
|
|
|
%package block-rbd
|
|
|
|
Summary: QEMU Ceph/RBD block driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description block-rbd
|
|
|
|
This package provides the additional Ceph/RBD block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to access remote Ceph volumes
|
|
|
|
using the rbd protocol.
|
2018-12-10 18:39:46 +00:00
|
|
|
%endif
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
%package block-ssh
|
|
|
|
Summary: QEMU SSH block driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description block-ssh
|
|
|
|
This package provides the additional SSH block driver for QEMU.
|
|
|
|
|
|
|
|
Install this package if you want to access remote disks using
|
|
|
|
the Secure Shell (SSH) protocol.
|
|
|
|
|
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
%package audio-alsa
|
|
|
|
Summary: QEMU ALSA audio driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description audio-alsa
|
|
|
|
This package provides the additional ALSA audio driver for QEMU.
|
|
|
|
|
|
|
|
%package audio-oss
|
|
|
|
Summary: QEMU OSS audio driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description audio-oss
|
|
|
|
This package provides the additional OSS audio driver for QEMU.
|
|
|
|
|
|
|
|
%package audio-pa
|
|
|
|
Summary: QEMU PulseAudio audio driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description audio-pa
|
|
|
|
This package provides the additional PulseAudi audio driver for QEMU.
|
|
|
|
|
|
|
|
%package audio-sdl
|
|
|
|
Summary: QEMU SDL audio driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description audio-sdl
|
|
|
|
This package provides the additional SDL audio driver for QEMU.
|
|
|
|
|
|
|
|
|
|
|
|
%package ui-curses
|
|
|
|
Summary: QEMU curses UI driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description ui-curses
|
|
|
|
This package provides the additional curses UI for QEMU.
|
|
|
|
|
|
|
|
%package ui-gtk
|
|
|
|
Summary: QEMU GTK UI driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description ui-gtk
|
|
|
|
This package provides the additional GTK UI for QEMU.
|
|
|
|
|
|
|
|
%package ui-sdl
|
|
|
|
Summary: QEMU SDL UI driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description ui-sdl
|
|
|
|
This package provides the additional SDL UI for QEMU.
|
|
|
|
|
2019-11-15 14:39:29 +00:00
|
|
|
%if %{have_spice}
|
2019-11-12 20:47:45 +00:00
|
|
|
%package ui-spice-app
|
|
|
|
Summary: QEMU spice-app UI driver
|
|
|
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
%description ui-spice-app
|
|
|
|
This package provides the additional spice-app UI for QEMU.
|
2019-11-15 14:39:29 +00:00
|
|
|
%endif
|
2019-11-12 20:47:45 +00:00
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
|
2015-11-18 15:28:10 +00:00
|
|
|
%if %{have_kvm}
|
|
|
|
%package kvm
|
|
|
|
Summary: QEMU metapackage for KVM support
|
|
|
|
Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
|
|
|
|
%description kvm
|
|
|
|
This is a meta-package that provides a qemu-system-<arch> package for native
|
|
|
|
architectures where kvm can be enabled. For example, in an x86 system, this
|
|
|
|
will install qemu-system-x86
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package kvm-core
|
|
|
|
Summary: QEMU metapackage for KVM support
|
|
|
|
Requires: qemu-%{kvm_package}-core = %{epoch}:%{version}-%{release}
|
|
|
|
%description kvm-core
|
|
|
|
This is a meta-package that provides a qemu-system-<arch>-core package
|
|
|
|
for native architectures where kvm can be enabled. For example, in an
|
|
|
|
x86 system, this will install qemu-system-x86-core
|
2015-11-18 15:28:10 +00:00
|
|
|
%endif
|
2013-05-25 18:54:03 +00:00
|
|
|
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%package user
|
2009-03-04 17:32:40 +00:00
|
|
|
Summary: QEMU user mode emulation of qemu targets
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2016-07-13 12:42:21 +00:00
|
|
|
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
|
2016-07-13 12:49:06 +00:00
|
|
|
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description user
|
2009-03-04 17:32:40 +00:00
|
|
|
This package provides the user mode emulation of qemu targets
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
%package user-binfmt
|
|
|
|
Summary: QEMU user mode emulation of qemu targets
|
|
|
|
Requires: %{name}-user = %{epoch}:%{version}-%{release}
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
|
|
|
|
Conflicts: %{name}-user-static
|
|
|
|
# On upgrade, make qemu-user get replaced with qemu-user + qemu-user-binfmt
|
2016-07-13 12:49:06 +00:00
|
|
|
Obsoletes: %{name}-user < 2:2.6.0-5%{?dist}
|
2016-07-13 12:42:21 +00:00
|
|
|
%description user-binfmt
|
|
|
|
This package provides the user mode emulation of qemu targets
|
|
|
|
|
|
|
|
%if %{user_static}
|
|
|
|
%package user-static
|
|
|
|
Summary: QEMU user mode emulation of qemu targets static build
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
|
|
|
|
Conflicts: %{name}-user-binfmt
|
|
|
|
Provides: %{name}-user-binfmt
|
|
|
|
%description user-static
|
|
|
|
This package provides the user mode emulation of qemu targets built as
|
|
|
|
static binaries
|
|
|
|
%endif
|
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-aarch64
|
|
|
|
Summary: QEMU system emulator for AArch64
|
|
|
|
Requires: %{name}-system-aarch64-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2018-03-22 15:31:08 +00:00
|
|
|
%description system-aarch64
|
|
|
|
This package provides the QEMU system emulator for AArch64.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-aarch64-core
|
|
|
|
Summary: QEMU system emulator for AArch64
|
2009-03-04 17:32:40 +00:00
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2019-03-22 23:17:52 +00:00
|
|
|
%if %{have_edk2}
|
2018-03-22 15:31:08 +00:00
|
|
|
Requires: edk2-aarch64
|
2016-09-08 19:56:28 +00:00
|
|
|
%endif
|
2018-03-22 15:31:08 +00:00
|
|
|
%description system-aarch64-core
|
|
|
|
This package provides the QEMU system emulator for AArch64.
|
2009-03-04 17:32:40 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-alpha
|
2012-10-19 08:14:23 +00:00
|
|
|
Summary: QEMU system emulator for Alpha
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-alpha-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-alpha
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for Alpha systems.
|
2012-10-19 08:14:23 +00:00
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package system-alpha-core
|
|
|
|
Summary: QEMU system emulator for Alpha
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-alpha-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for Alpha systems.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-arm
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for ARM
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-arm-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-arm
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for ARM systems.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
%package system-arm-core
|
|
|
|
Summary: QEMU system emulator for ARM
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-arm-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for ARM boards.
|
2009-03-02 20:23:54 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-cris
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for CRIS
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-cris-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-cris
|
2016-11-11 09:52:23 +00:00
|
|
|
This package provides the system emulator for CRIS systems.
|
|
|
|
|
|
|
|
%package system-cris-core
|
|
|
|
Summary: QEMU system emulator for CRIS
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-cris-core
|
2012-10-19 08:05:06 +00:00
|
|
|
This package provides the system emulator for CRIS boards.
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-hppa
|
|
|
|
Summary: QEMU system emulator for HPPA
|
|
|
|
Requires: %{name}-system-hppa-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-hppa
|
|
|
|
This package provides the QEMU system emulator for HPPA.
|
|
|
|
|
|
|
|
%package system-hppa-core
|
|
|
|
Summary: QEMU system emulator for hppa
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-hppa-core
|
|
|
|
This package provides the QEMU system emulator for HPPA.
|
|
|
|
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%package system-lm32
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for LatticeMico32
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-lm32-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-lm32
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for LatticeMico32 boards.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
%package system-lm32-core
|
2018-03-22 15:31:08 +00:00
|
|
|
Summary: QEMU system emulator for LatticsMico32
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-lm32-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for LatticeMico32 boards.
|
2009-03-04 17:32:40 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-m68k
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for ColdFire (m68k)
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-m68k-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-m68k
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for ColdFire boards.
|
2012-10-19 08:05:06 +00:00
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package system-m68k-core
|
|
|
|
Summary: QEMU system emulator for ColdFire (m68k)
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-m68k-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for ColdFire boards.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-microblaze
|
2012-10-19 08:14:23 +00:00
|
|
|
Summary: QEMU system emulator for Microblaze
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-microblaze-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-microblaze
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for Microblaze boards.
|
2012-10-19 08:14:23 +00:00
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package system-microblaze-core
|
|
|
|
Summary: QEMU system emulator for Microblaze
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-microblaze-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for Microblaze boards.
|
|
|
|
|
|
|
|
|
|
|
|
%package system-mips
|
|
|
|
Summary: QEMU system emulator for MIPS
|
|
|
|
Requires: %{name}-system-mips-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-mips
|
|
|
|
This package provides the QEMU system emulator for MIPS systems.
|
|
|
|
|
|
|
|
%package system-mips-core
|
|
|
|
Summary: QEMU system emulator for MIPS
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-mips-core
|
|
|
|
This package provides the QEMU system emulator for MIPS systems.
|
|
|
|
|
|
|
|
|
|
|
|
%package system-moxie
|
|
|
|
Summary: QEMU system emulator for Moxie
|
|
|
|
Requires: %{name}-system-moxie-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-moxie
|
|
|
|
This package provides the QEMU system emulator for Moxie boards.
|
|
|
|
|
|
|
|
%package system-moxie-core
|
|
|
|
Summary: QEMU system emulator for Moxie
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-moxie-core
|
|
|
|
This package provides the QEMU system emulator for Moxie boards.
|
|
|
|
|
|
|
|
|
|
|
|
%package system-nios2
|
|
|
|
Summary: QEMU system emulator for nios2
|
|
|
|
Requires: %{name}-system-nios2-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-nios2
|
|
|
|
This package provides the QEMU system emulator for NIOS2.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-nios2-core
|
|
|
|
Summary: QEMU system emulator for nios2
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-nios2-core
|
|
|
|
This package provides the QEMU system emulator for NIOS2.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2017-03-15 16:01:07 +00:00
|
|
|
%package system-or1k
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for OpenRisc32
|
2017-03-15 16:01:07 +00:00
|
|
|
Requires: %{name}-system-or1k-core = %{epoch}:%{version}-%{release}
|
2017-03-29 15:43:01 +00:00
|
|
|
Obsoletes: %{name}-system-or32 < 2:2.9.0
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2017-03-15 16:01:07 +00:00
|
|
|
%description system-or1k
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for OpenRisc32 boards.
|
2008-03-24 21:23:41 +00:00
|
|
|
|
2017-03-15 16:01:07 +00:00
|
|
|
%package system-or1k-core
|
2016-11-11 09:52:23 +00:00
|
|
|
Summary: QEMU system emulator for OpenRisc32
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2017-03-29 15:43:01 +00:00
|
|
|
Obsoletes: %{name}-system-or32-core < 2:2.9.0
|
2017-03-15 16:01:07 +00:00
|
|
|
%description system-or1k-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for OpenRisc32 boards.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
|
|
|
|
%package system-ppc
|
|
|
|
Summary: QEMU system emulator for PPC
|
|
|
|
Requires: %{name}-system-ppc-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-ppc
|
|
|
|
This package provides the QEMU system emulator for PPC and PPC64 systems.
|
|
|
|
|
|
|
|
%package system-ppc-core
|
|
|
|
Summary: QEMU system emulator for PPC
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: openbios
|
|
|
|
Requires: SLOF
|
|
|
|
Requires: seavgabios-bin
|
|
|
|
%description system-ppc-core
|
|
|
|
This package provides the QEMU system emulator for PPC and PPC64 systems.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
%package system-riscv
|
|
|
|
Summary: QEMU system emulator for RISC-V
|
|
|
|
Requires: %{name}-system-riscv-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-riscv
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for RISC-V systems.
|
2018-03-21 23:01:36 +00:00
|
|
|
|
|
|
|
%package system-riscv-core
|
|
|
|
Summary: QEMU system emulator for RISC-V
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-riscv-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for RISC-V systems.
|
2018-03-21 23:01:36 +00:00
|
|
|
|
|
|
|
|
2020-03-25 20:22:54 +00:00
|
|
|
%package system-rx
|
|
|
|
Summary: QEMU system emulator for RX
|
|
|
|
Requires: %{name}-system-rx-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-rx
|
|
|
|
This package provides the QEMU system emulator for RX systems.
|
|
|
|
|
|
|
|
%package system-rx-core
|
|
|
|
Summary: QEMU system emulator for RX
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-rx-core
|
|
|
|
This package provides the QEMU system emulator for RX systems.
|
|
|
|
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%package system-s390x
|
2012-10-19 08:14:23 +00:00
|
|
|
Summary: QEMU system emulator for S390
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-s390x-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-s390x
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for S390 systems.
|
2012-10-19 08:14:23 +00:00
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package system-s390x-core
|
|
|
|
Summary: QEMU system emulator for S390
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-s390x-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for S390 systems.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-sh4
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for SH4
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-sh4-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-sh4
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for SH4 boards.
|
2012-08-13 14:48:00 +00:00
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package system-sh4-core
|
|
|
|
Summary: QEMU system emulator for SH4
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-sh4-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for SH4 boards.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-sparc
|
2012-10-19 08:05:06 +00:00
|
|
|
Summary: QEMU system emulator for SPARC
|
2016-11-11 09:52:23 +00:00
|
|
|
Requires: %{name}-system-sparc-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2016-11-11 09:52:23 +00:00
|
|
|
%description system-sparc
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for SPARC and SPARC64 systems.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
%package system-sparc-core
|
|
|
|
Summary: QEMU system emulator for SPARC
|
2012-08-13 14:48:00 +00:00
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: openbios
|
2016-11-11 09:52:23 +00:00
|
|
|
%description system-sparc-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for SPARC and SPARC64 systems.
|
2014-04-22 00:35:15 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%package system-tricore
|
2014-11-16 01:39:24 +00:00
|
|
|
Summary: QEMU system emulator for tricore
|
2017-03-15 16:01:07 +00:00
|
|
|
Requires: %{name}-system-tricore-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2015-03-27 19:15:26 +00:00
|
|
|
%description system-tricore
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for Tricore.
|
2014-11-16 01:39:24 +00:00
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%package system-tricore-core
|
|
|
|
Summary: QEMU system emulator for tricore
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-tricore-core
|
2018-03-22 15:31:08 +00:00
|
|
|
This package provides the QEMU system emulator for Tricore.
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2014-04-22 00:35:15 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-unicore32
|
|
|
|
Summary: QEMU system emulator for Unicore32
|
|
|
|
Requires: %{name}-system-unicore32-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2018-03-22 15:31:08 +00:00
|
|
|
%description system-unicore32
|
|
|
|
This package provides the QEMU system emulator for Unicore32 boards.
|
2017-03-15 16:01:07 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-unicore32-core
|
|
|
|
Summary: QEMU system emulator for Unicore32
|
2017-03-15 16:01:07 +00:00
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2018-03-22 15:31:08 +00:00
|
|
|
%description system-unicore32-core
|
|
|
|
This package provides the QEMU system emulator for Unicore32 boards.
|
2017-03-15 16:01:07 +00:00
|
|
|
|
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-x86
|
|
|
|
Summary: QEMU system emulator for x86
|
|
|
|
Requires: %{name}-system-x86-core = %{epoch}:%{version}-%{release}
|
2018-03-21 23:01:36 +00:00
|
|
|
%{requires_all_modules}
|
2018-03-22 15:31:08 +00:00
|
|
|
%description system-x86
|
|
|
|
This package provides the QEMU system emulator for x86. When being run in a x86
|
|
|
|
machine that supports it, this package also provides the KVM virtualization
|
|
|
|
platform.
|
2018-03-21 23:01:36 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-x86-core
|
|
|
|
Summary: QEMU system emulator for x86
|
2018-03-21 23:01:36 +00:00
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
2018-03-22 15:31:08 +00:00
|
|
|
Requires: seabios-bin
|
|
|
|
Requires: sgabios-bin
|
|
|
|
Requires: seavgabios-bin
|
2019-03-22 23:17:52 +00:00
|
|
|
%if %{have_edk2}
|
2018-03-22 15:31:08 +00:00
|
|
|
Requires: edk2-ovmf
|
|
|
|
%endif
|
|
|
|
%description system-x86-core
|
|
|
|
This package provides the QEMU system emulator for x86. When being run in a x86
|
|
|
|
machine that supports it, this package also provides the KVM virtualization
|
|
|
|
platform.
|
2018-03-21 23:01:36 +00:00
|
|
|
|
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-xtensa
|
|
|
|
Summary: QEMU system emulator for Xtensa
|
|
|
|
Requires: %{name}-system-xtensa-core = %{epoch}:%{version}-%{release}
|
|
|
|
%{requires_all_modules}
|
|
|
|
%description system-xtensa
|
|
|
|
This package provides the QEMU system emulator for Xtensa boards.
|
2018-03-21 23:01:36 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%package system-xtensa-core
|
|
|
|
Summary: QEMU system emulator for Xtensa
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
%description system-xtensa-core
|
|
|
|
This package provides the QEMU system emulator for Xtensa boards.
|
2018-03-21 23:01:36 +00:00
|
|
|
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
2005-02-13 12:57:23 +00:00
|
|
|
%prep
|
2016-04-07 16:59:59 +00:00
|
|
|
%setup -q -n qemu-%{version}%{?rcstr}
|
2015-05-10 15:40:05 +00:00
|
|
|
%autopatch -p1
|
2015-03-25 12:48:20 +00:00
|
|
|
|
2019-03-21 10:35:56 +00:00
|
|
|
# https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error
|
|
|
|
# Fix all Python shebangs recursively in .
|
|
|
|
# -p preserves timestamps
|
|
|
|
# -n prevents creating ~backup files
|
|
|
|
# -i specifies the interpreter for the shebang
|
|
|
|
# Need to list files that do not match ^[a-zA-Z0-9_]+\.py$ explicitly!
|
2019-03-22 23:19:03 +00:00
|
|
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap
|
2019-03-21 10:35:56 +00:00
|
|
|
|
2012-12-03 09:52:36 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
|
|
|
|
2005-02-13 12:57:23 +00:00
|
|
|
%build
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
# drop -g flag to prevent memory exhaustion by linker
|
|
|
|
%ifarch s390
|
|
|
|
%global optflags %(echo %{optflags} | sed 's/-g//')
|
|
|
|
sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# OOM killer breaks builds with parallel make on s390(x)
|
|
|
|
%ifarch s390 s390x
|
2015-12-29 17:04:47 +00:00
|
|
|
%global _smp_mflags %{nil}
|
2015-03-27 19:15:26 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# --build-id option is used for giving info to the debug packages.
|
|
|
|
extraldflags="-Wl,--build-id";
|
|
|
|
buildldflags="VL_LDFLAGS=-Wl,--build-id"
|
|
|
|
|
|
|
|
# As of qemu 2.1, --enable-trace-backends supports multiple backends,
|
|
|
|
# but there's a performance impact for non-dtrace so we don't use them
|
|
|
|
tracebackends="dtrace"
|
|
|
|
|
2019-03-22 23:17:52 +00:00
|
|
|
%if %{have_spice}
|
2015-12-29 17:04:47 +00:00
|
|
|
%global spiceflag --enable-spice
|
2015-07-03 14:02:57 +00:00
|
|
|
%else
|
2015-12-29 17:04:47 +00:00
|
|
|
%global spiceflag --disable-spice
|
2015-07-03 14:02:57 +00:00
|
|
|
%endif
|
2015-06-01 13:43:22 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
2016-12-05 14:30:39 +00:00
|
|
|
run_configure() {
|
2019-06-24 21:04:14 +00:00
|
|
|
# Base configure call with standard shared options
|
2016-12-05 14:30:39 +00:00
|
|
|
../configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--localstatedir=%{_localstatedir} \
|
|
|
|
--libexecdir=%{_libexecdir} \
|
2018-07-31 20:36:31 +00:00
|
|
|
--interp-prefix=%{_prefix}/qemu-%%M \
|
2016-12-05 14:30:39 +00:00
|
|
|
--with-pkgversion=%{name}-%{version}-%{release} \
|
2019-06-24 21:04:14 +00:00
|
|
|
--extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
|
|
|
|
--extra-cflags="%{optflags}" \
|
|
|
|
--python=%{__python3} \
|
2016-12-05 14:30:39 +00:00
|
|
|
--disable-strip \
|
|
|
|
--disable-werror \
|
2019-06-24 21:04:14 +00:00
|
|
|
--tls-priority=@QEMU,SYSTEM \
|
2016-12-05 14:30:39 +00:00
|
|
|
--enable-trace-backend=$tracebackends \
|
|
|
|
"$@" || cat config.log
|
|
|
|
}
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
run_configure_disable_everything() {
|
|
|
|
# Disable every qemu feature. Callers can --enable-X the bits they need
|
|
|
|
run_configure \
|
|
|
|
--audio-drv-list= \
|
|
|
|
--disable-attr \
|
|
|
|
--disable-auth-pam \
|
|
|
|
--disable-avx2 \
|
2020-03-24 22:37:35 +00:00
|
|
|
--disable-avx512f \
|
2019-06-24 21:04:14 +00:00
|
|
|
--disable-blobs \
|
|
|
|
--disable-bochs \
|
|
|
|
--disable-brlapi \
|
|
|
|
--disable-bsd-user \
|
|
|
|
--disable-bzip2 \
|
|
|
|
--disable-cap-ng \
|
|
|
|
--disable-capstone \
|
|
|
|
--disable-cloop \
|
|
|
|
--disable-cocoa \
|
|
|
|
--disable-coroutine-pool \
|
|
|
|
--disable-crypto-afalg \
|
|
|
|
--disable-curl \
|
|
|
|
--disable-curses \
|
|
|
|
--disable-debug-info \
|
|
|
|
--disable-debug-mutex \
|
|
|
|
--disable-debug-tcg \
|
|
|
|
--disable-dmg \
|
|
|
|
--disable-docs \
|
|
|
|
--disable-fdt \
|
|
|
|
--disable-gcrypt \
|
|
|
|
--disable-glusterfs \
|
|
|
|
--disable-gnutls \
|
|
|
|
--disable-gtk \
|
|
|
|
--disable-guest-agent \
|
|
|
|
--disable-guest-agent-msi \
|
|
|
|
--disable-hax \
|
|
|
|
--disable-hvf \
|
|
|
|
--disable-iconv \
|
|
|
|
--disable-jemalloc \
|
|
|
|
--disable-kvm \
|
|
|
|
--disable-libiscsi \
|
|
|
|
--disable-libnfs \
|
|
|
|
--disable-libpmem \
|
2019-07-11 20:04:49 +00:00
|
|
|
--disable-libssh \
|
2019-06-24 21:04:14 +00:00
|
|
|
--disable-libusb \
|
|
|
|
--disable-libxml2 \
|
|
|
|
--disable-linux-aio \
|
2020-03-24 22:37:35 +00:00
|
|
|
--disable-linux-io-uring \
|
2019-06-24 21:04:14 +00:00
|
|
|
--disable-linux-user \
|
|
|
|
--disable-live-block-migration \
|
|
|
|
--disable-lzfse \
|
|
|
|
--disable-lzo \
|
|
|
|
--disable-membarrier \
|
|
|
|
--disable-modules \
|
|
|
|
--disable-mpath \
|
|
|
|
--disable-netmap \
|
|
|
|
--disable-nettle \
|
|
|
|
--disable-numa \
|
|
|
|
--disable-opengl \
|
|
|
|
--disable-parallels \
|
|
|
|
--disable-pie \
|
|
|
|
--disable-pvrdma \
|
|
|
|
--disable-qcow1 \
|
|
|
|
--disable-qed \
|
|
|
|
--disable-qom-cast-debug \
|
|
|
|
--disable-rbd \
|
|
|
|
--disable-rdma \
|
|
|
|
--disable-replication \
|
|
|
|
--disable-sdl \
|
|
|
|
--disable-sdl-image \
|
|
|
|
--disable-seccomp \
|
|
|
|
--disable-sheepdog \
|
|
|
|
--disable-slirp \
|
|
|
|
--disable-smartcard \
|
|
|
|
--disable-snappy \
|
|
|
|
--disable-sparse \
|
|
|
|
--disable-spice \
|
|
|
|
--disable-system \
|
2019-10-18 14:54:16 +00:00
|
|
|
--disable-tcg \
|
2019-06-24 21:04:14 +00:00
|
|
|
--disable-tcmalloc \
|
|
|
|
--disable-tools \
|
|
|
|
--disable-tpm \
|
|
|
|
--disable-usb-redir \
|
|
|
|
--disable-user \
|
|
|
|
--disable-vde \
|
|
|
|
--disable-vdi \
|
|
|
|
--disable-vhost-crypto \
|
|
|
|
--disable-vhost-kernel \
|
|
|
|
--disable-vhost-net \
|
|
|
|
--disable-vhost-scsi \
|
|
|
|
--disable-vhost-user \
|
|
|
|
--disable-vhost-vsock \
|
|
|
|
--disable-virglrenderer \
|
|
|
|
--disable-virtfs \
|
|
|
|
--disable-vnc \
|
|
|
|
--disable-vnc-jpeg \
|
|
|
|
--disable-vnc-png \
|
|
|
|
--disable-vnc-sasl \
|
|
|
|
--disable-vte \
|
|
|
|
--disable-vvfat \
|
|
|
|
--disable-vxhs \
|
|
|
|
--disable-whpx \
|
|
|
|
--disable-xen \
|
|
|
|
--disable-xen-pci-passthrough \
|
|
|
|
--disable-xfsctl \
|
2020-03-24 22:37:35 +00:00
|
|
|
--disable-zstd \
|
2019-06-24 21:04:14 +00:00
|
|
|
--without-default-devices \
|
|
|
|
"$@"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-07-11 20:04:49 +00:00
|
|
|
|
|
|
|
# Build for qemu-user-static
|
|
|
|
%if %{user_static}
|
|
|
|
mkdir build-static
|
|
|
|
pushd build-static
|
|
|
|
|
|
|
|
run_configure_disable_everything \
|
|
|
|
--disable-pie \
|
2019-07-23 19:18:31 +00:00
|
|
|
--enable-attr \
|
2019-07-11 20:04:49 +00:00
|
|
|
--enable-linux-user \
|
2019-10-24 18:04:01 +00:00
|
|
|
--enable-tcg \
|
2019-07-11 20:04:49 +00:00
|
|
|
--static
|
|
|
|
|
|
|
|
make V=1 %{?_smp_mflags} $buildldflags
|
|
|
|
|
|
|
|
popd
|
2019-07-24 17:18:46 +00:00
|
|
|
%endif
|
2019-07-11 20:04:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
# Build for non-static qemu-*
|
2016-07-13 12:42:21 +00:00
|
|
|
mkdir build-dynamic
|
|
|
|
pushd build-dynamic
|
|
|
|
|
2016-12-05 14:30:39 +00:00
|
|
|
run_configure \
|
2019-06-24 21:04:14 +00:00
|
|
|
--audio-drv-list=pa,sdl,alsa,oss \
|
|
|
|
--enable-kvm \
|
2018-03-26 21:03:23 +00:00
|
|
|
--enable-system \
|
2019-10-18 14:54:16 +00:00
|
|
|
--enable-tcg \
|
2018-03-26 21:03:23 +00:00
|
|
|
--enable-linux-user \
|
2016-12-05 14:30:39 +00:00
|
|
|
--enable-pie \
|
2016-11-11 09:52:23 +00:00
|
|
|
--enable-modules \
|
2017-10-17 17:31:38 +00:00
|
|
|
--enable-mpath \
|
2019-06-24 21:04:14 +00:00
|
|
|
%{spiceflag} \
|
|
|
|
%ifarch s390 %{mips64}
|
|
|
|
--enable-tcg-interpreter \
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} > 30
|
|
|
|
--enable-slirp=system \
|
|
|
|
%endif
|
2009-03-03 23:57:07 +00:00
|
|
|
|
2014-03-17 14:01:36 +00:00
|
|
|
echo "config-host.mak contents:"
|
|
|
|
echo "==="
|
|
|
|
cat config-host.mak
|
|
|
|
echo "==="
|
2012-08-13 11:47:07 +00:00
|
|
|
|
2014-03-17 14:01:36 +00:00
|
|
|
make V=1 %{?_smp_mflags} $buildldflags
|
2012-08-13 11:47:07 +00:00
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
popd
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
|
2011-10-21 20:32:18 +00:00
|
|
|
|
2005-02-13 12:57:23 +00:00
|
|
|
%install
|
|
|
|
|
2015-12-29 17:04:47 +00:00
|
|
|
%global _udevdir /lib/udev/rules.d
|
|
|
|
%global qemudocdir %{_docdir}/%{name}
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
|
|
|
# Install rules to use the bridge helper with libvirt's virbr0
|
|
|
|
install -D -m 0644 %{_sourcedir}/bridge.conf %{buildroot}%{_sysconfdir}/qemu/bridge.conf
|
|
|
|
|
2012-03-19 11:03:03 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
# Install qemu-guest-agent service and udev rules
|
2019-06-24 21:04:14 +00:00
|
|
|
install -D -p -m 0644 %{_sourcedir}/qemu-guest-agent.service %{buildroot}%{_unitdir}/qemu-guest-agent.service
|
2018-08-13 22:31:29 +00:00
|
|
|
install -D -p -m 0644 %{_sourcedir}/qemu-ga.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
2019-06-24 21:04:14 +00:00
|
|
|
install -D -m 0644 %{_sourcedir}/99-qemu-guest-agent.rules %{buildroot}%{_udevdir}/99-qemu-guest-agent.rules
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
# Install qemu-ga fsfreeze bits
|
2017-11-28 09:52:06 +00:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d
|
|
|
|
install -p -m 0755 scripts/qemu-guest-agent/fsfreeze-hook %{buildroot}%{_sysconfdir}/qemu-ga
|
|
|
|
install -p -m 0644 scripts/qemu-guest-agent/fsfreeze-hook.d/*.sample %{buildroot}%{_sysconfdir}/qemu-ga/fsfreeze-hook.d/
|
2017-11-28 23:39:08 +00:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log
|
|
|
|
touch %{buildroot}%{_localstatedir}/log/qga-fsfreeze-hook.log
|
2017-11-28 09:52:06 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
2017-09-22 08:13:19 +00:00
|
|
|
# Install qemu-pr-helper service
|
|
|
|
install -m 0644 %{_sourcedir}/qemu-pr-helper.service %{buildroot}%{_unitdir}
|
|
|
|
install -m 0644 %{_sourcedir}/qemu-pr-helper.socket %{buildroot}%{_unitdir}
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
|
|
|
# Install ppc64 memlock
|
2016-10-19 16:23:45 +00:00
|
|
|
%ifarch %{power64}
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/security/limits.d
|
2016-10-25 14:18:57 +00:00
|
|
|
install -m 0644 %{_sourcedir}/95-kvm-ppc64-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d
|
2016-10-19 16:23:45 +00:00
|
|
|
%endif
|
|
|
|
|
2016-04-14 22:41:46 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
# Install qemu-user-static tree
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
2016-07-13 12:42:21 +00:00
|
|
|
%if %{user_static}
|
|
|
|
pushd build-static
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
# Rename all QEMU user emulators to have a -static suffix
|
2016-07-13 12:42:21 +00:00
|
|
|
for src in %{buildroot}%{_bindir}/qemu-*
|
|
|
|
do
|
|
|
|
mv $src $src-static
|
|
|
|
done
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
# Rename trace files to match -static suffix
|
2016-07-13 12:42:21 +00:00
|
|
|
for src in %{buildroot}%{_datadir}/systemtap/tapset/qemu-*.stp
|
|
|
|
do
|
|
|
|
dst=`echo $src | sed -e 's/.stp/-static.stp/'`
|
|
|
|
mv $src $dst
|
|
|
|
perl -i -p -e 's/(qemu-\w+)/$1-static/g; s/(qemu\.user\.\w+)/$1.static/g' $dst
|
|
|
|
done
|
|
|
|
|
|
|
|
popd
|
2019-07-24 17:18:46 +00:00
|
|
|
%endif
|
2019-06-24 21:04:14 +00:00
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
# Install main qemu-system-* tree
|
2016-07-13 12:42:21 +00:00
|
|
|
pushd build-dynamic
|
2015-03-27 19:15:26 +00:00
|
|
|
make DESTDIR=%{buildroot} install
|
2016-07-13 12:42:21 +00:00
|
|
|
popd
|
2013-05-21 16:12:56 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
|
|
|
# Copy some static data into place
|
2019-11-12 20:47:45 +00:00
|
|
|
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README.rst COPYING COPYING.LIB LICENSE
|
2019-06-24 21:04:14 +00:00
|
|
|
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf
|
|
|
|
|
|
|
|
|
|
|
|
# Generate qemu-system-* man pages
|
|
|
|
chmod -x %{buildroot}%{_mandir}/man1/*
|
2015-03-27 19:15:26 +00:00
|
|
|
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
|
|
|
|
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
|
2013-05-25 18:54:03 +00:00
|
|
|
done
|
2015-04-16 12:27:50 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
|
|
|
# Install kvm specific source bits, and qemu-kvm manpage
|
2013-05-27 12:30:37 +00:00
|
|
|
%if 0%{?need_qemu_kvm}
|
2015-03-27 19:15:26 +00:00
|
|
|
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz
|
2019-06-24 21:04:14 +00:00
|
|
|
install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm
|
2018-07-31 22:39:03 +00:00
|
|
|
install -D -p -m 0644 %{_sourcedir}/kvm-x86.modprobe.conf %{buildroot}%{_sysconfdir}/modprobe.d/kvm.conf
|
2013-05-27 12:30:37 +00:00
|
|
|
%endif
|
2005-02-13 12:57:23 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
|
|
|
# Install binfmt
|
|
|
|
%global binfmt_dir %{buildroot}%{_exec_prefix}/lib/binfmt.d
|
|
|
|
mkdir -p %{binfmt_dir}
|
|
|
|
|
|
|
|
./scripts/qemu-binfmt-conf.sh --systemd ALL --exportdir %{binfmt_dir} --qemu-path %{_bindir}
|
|
|
|
for i in %{binfmt_dir}/*; do
|
|
|
|
mv $i $(echo $i | sed 's/.conf/-dynamic.conf/')
|
|
|
|
done
|
|
|
|
|
|
|
|
%if %{user_static}
|
|
|
|
for regularfmt in %{binfmt_dir}/*; do
|
|
|
|
staticfmt="$(echo $regularfmt | sed 's/-dynamic/-static/g')"
|
|
|
|
cat $regularfmt | tr -d '\n' | sed "s/:$/-static:F/" > $staticfmt
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2009-03-03 12:55:33 +00:00
|
|
|
|
2017-11-20 00:00:15 +00:00
|
|
|
# XXX With qemu 2.11 we can probably drop this symlinking with use of
|
|
|
|
# configure --firmwarepath, see qemu git 3d5eecab4
|
|
|
|
|
2012-08-13 11:47:07 +00:00
|
|
|
# Provided by package openbios
|
2015-03-27 19:15:26 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-ppc
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc32
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-sparc64
|
2012-08-13 11:47:07 +00:00
|
|
|
# Provided by package SLOF
|
2015-03-27 19:15:26 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
|
2012-10-11 16:01:59 +00:00
|
|
|
# Provided by package ipxe
|
2015-03-27 19:15:26 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/pxe*rom
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/efi*rom
|
2013-04-02 00:47:11 +00:00
|
|
|
# Provided by package seavgabios
|
2015-03-27 19:15:26 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios*bin
|
2012-10-11 16:01:59 +00:00
|
|
|
# Provided by package seabios
|
2015-03-27 19:15:26 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/bios.bin
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/bios-256k.bin
|
2012-10-11 16:01:59 +00:00
|
|
|
# Provided by package sgabios
|
2015-03-27 19:15:26 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/sgabios.bin
|
2019-07-11 20:04:49 +00:00
|
|
|
# Provided by package edk2
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/edk2*
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/firmware/*edk2*.json
|
2009-03-03 00:16:00 +00:00
|
|
|
|
|
|
|
pxe_link() {
|
2012-03-28 18:47:01 +00:00
|
|
|
ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
|
2013-05-21 16:12:56 +00:00
|
|
|
ln -s ../ipxe.efi/$2.rom %{buildroot}%{_datadir}/%{name}/efi-$1.rom
|
2009-03-03 00:16:00 +00:00
|
|
|
}
|
|
|
|
|
2010-08-10 13:23:48 +00:00
|
|
|
pxe_link e1000 8086100e
|
2012-03-28 18:47:01 +00:00
|
|
|
pxe_link ne2k_pci 10ec8029
|
|
|
|
pxe_link pcnet 10222000
|
|
|
|
pxe_link rtl8139 10ec8139
|
|
|
|
pxe_link virtio 1af41000
|
2016-08-03 17:51:47 +00:00
|
|
|
pxe_link eepro100 80861209
|
|
|
|
pxe_link e1000e 808610d3
|
|
|
|
pxe_link vmxnet3 15ad07b0
|
2012-08-13 11:47:07 +00:00
|
|
|
|
|
|
|
rom_link() {
|
|
|
|
ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
|
|
|
|
}
|
|
|
|
|
2013-04-02 00:47:11 +00:00
|
|
|
rom_link ../seavgabios/vgabios-isavga.bin vgabios.bin
|
|
|
|
rom_link ../seavgabios/vgabios-cirrus.bin vgabios-cirrus.bin
|
|
|
|
rom_link ../seavgabios/vgabios-qxl.bin vgabios-qxl.bin
|
|
|
|
rom_link ../seavgabios/vgabios-stdvga.bin vgabios-stdvga.bin
|
|
|
|
rom_link ../seavgabios/vgabios-vmware.bin vgabios-vmware.bin
|
2015-07-14 19:31:59 +00:00
|
|
|
rom_link ../seavgabios/vgabios-virtio.bin vgabios-virtio.bin
|
2019-06-18 10:07:55 +00:00
|
|
|
rom_link ../seavgabios/vgabios-ramfb.bin vgabios-ramfb.bin
|
|
|
|
rom_link ../seavgabios/vgabios-bochs-display.bin vgabios-bochs-display.bin
|
2019-07-11 20:04:49 +00:00
|
|
|
rom_link ../seavgabios/vgabios-ati.bin vgabios-ati.bin
|
2012-08-13 11:47:07 +00:00
|
|
|
rom_link ../seabios/bios.bin bios.bin
|
2014-03-17 14:01:36 +00:00
|
|
|
rom_link ../seabios/bios-256k.bin bios-256k.bin
|
2012-08-13 11:47:07 +00:00
|
|
|
rom_link ../sgabios/sgabios.bin sgabios.bin
|
2011-10-05 15:00:36 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2013-12-04 23:13:23 +00:00
|
|
|
# When building using 'rpmbuild' or 'fedpkg local', RPATHs can be left in
|
2013-11-29 13:00:27 +00:00
|
|
|
# the binaries and libraries (although this doesn't occur when
|
2013-12-04 23:13:23 +00:00
|
|
|
# building in Koji, for some unknown reason). Some discussion here:
|
|
|
|
#
|
|
|
|
# https://lists.fedoraproject.org/pipermail/devel/2013-November/192553.html
|
|
|
|
#
|
|
|
|
# In any case it should always be safe to remove RPATHs from
|
|
|
|
# the final binaries:
|
2015-03-27 19:15:26 +00:00
|
|
|
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
|
|
|
|
%{buildroot}%{_libexecdir}/*; do
|
2016-07-13 12:42:21 +00:00
|
|
|
if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
|
2013-11-29 13:00:27 +00:00
|
|
|
done
|
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
|
2018-03-23 23:28:10 +00:00
|
|
|
# We need to make the modules executable else
|
2016-11-11 09:52:23 +00:00
|
|
|
# RPM won't pick up their dependencies.
|
2018-03-23 23:28:10 +00:00
|
|
|
chmod +x %{buildroot}%{_libdir}/qemu/*.so
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2015-03-31 21:44:56 +00:00
|
|
|
|
2019-06-24 21:04:14 +00:00
|
|
|
%check
|
2015-12-08 15:29:09 +00:00
|
|
|
# Tests are hanging on s390 as of 2.3.0
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1206057
|
2015-05-21 18:07:03 +00:00
|
|
|
# Tests seem to be a recurring problem on s390, so I'd suggest just leaving
|
|
|
|
# it disabled.
|
2015-06-01 13:12:15 +00:00
|
|
|
%global archs_skip_tests s390
|
2015-03-31 21:44:56 +00:00
|
|
|
%global archs_ignore_test_failures 0
|
|
|
|
|
2019-04-03 13:46:28 +00:00
|
|
|
# Enable this temporarily if tests are broken
|
2020-04-09 17:16:07 +00:00
|
|
|
# An iotest is failing for i686
|
2020-05-09 15:48:40 +00:00
|
|
|
%global temp_skip_check 0
|
2019-03-20 20:57:15 +00:00
|
|
|
|
2016-08-03 17:51:47 +00:00
|
|
|
pushd build-dynamic
|
2015-03-31 21:44:56 +00:00
|
|
|
%ifnarch %{archs_skip_tests}
|
2015-05-21 18:07:03 +00:00
|
|
|
|
|
|
|
# Check the binary runs (see eg RHBZ#998722).
|
|
|
|
b="./x86_64-softmmu/qemu-system-x86_64"
|
|
|
|
if [ -x "$b" ]; then "$b" -help; fi
|
|
|
|
|
2015-03-31 21:44:56 +00:00
|
|
|
%ifarch %{archs_ignore_test_failures}
|
|
|
|
make check V=1 || :
|
2017-10-12 08:27:07 +00:00
|
|
|
%else
|
2019-06-20 21:36:29 +00:00
|
|
|
%if %{temp_skip_check}
|
|
|
|
make check V=1 || :
|
|
|
|
%else
|
|
|
|
make check V=1
|
|
|
|
%endif
|
2015-03-31 21:44:56 +00:00
|
|
|
%endif
|
2011-10-05 15:00:36 +00:00
|
|
|
|
2016-11-11 13:19:37 +00:00
|
|
|
%if 0%{?hostqemu:1}
|
2013-08-21 13:10:09 +00:00
|
|
|
# Sanity-check current kernel can boot on this qemu.
|
|
|
|
# The results are advisory only.
|
2016-11-11 13:19:37 +00:00
|
|
|
qemu-sanity-check --qemu=%{?hostqemu} ||:
|
2013-08-21 13:10:09 +00:00
|
|
|
%endif
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2019-07-24 17:18:46 +00:00
|
|
|
%endif
|
2016-08-03 17:51:47 +00:00
|
|
|
popd
|
2015-05-21 18:07:03 +00:00
|
|
|
|
2013-08-21 13:10:09 +00:00
|
|
|
|
2009-09-16 17:31:15 +00:00
|
|
|
%post common
|
|
|
|
getent group kvm >/dev/null || groupadd -g 36 -r kvm
|
|
|
|
getent group qemu >/dev/null || groupadd -g 107 -r qemu
|
|
|
|
getent passwd qemu >/dev/null || \
|
|
|
|
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
|
|
|
-c "qemu user" qemu
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2017-07-20 14:36:28 +00:00
|
|
|
%post user-binfmt
|
|
|
|
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
|
|
|
%postun user-binfmt
|
|
|
|
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
|
|
|
|
2017-07-20 15:51:59 +00:00
|
|
|
%if %{user_static}
|
2017-07-20 14:36:28 +00:00
|
|
|
%post user-static
|
2011-10-21 20:32:18 +00:00
|
|
|
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
2017-07-20 14:36:28 +00:00
|
|
|
%postun user-static
|
2011-10-21 20:32:18 +00:00
|
|
|
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
2017-07-20 15:51:59 +00:00
|
|
|
%endif
|
2005-02-13 12:57:23 +00:00
|
|
|
|
2015-11-18 15:28:10 +00:00
|
|
|
%post guest-agent
|
|
|
|
%systemd_post qemu-guest-agent.service
|
|
|
|
%preun guest-agent
|
|
|
|
%systemd_preun qemu-guest-agent.service
|
|
|
|
%postun guest-agent
|
|
|
|
%systemd_postun_with_restart qemu-guest-agent.service
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-10-14 15:33:21 +00:00
|
|
|
%files
|
2015-11-18 15:28:10 +00:00
|
|
|
# Deliberately empty
|
2009-03-02 20:23:54 +00:00
|
|
|
|
2009-05-01 12:16:18 +00:00
|
|
|
|
2013-05-21 16:12:56 +00:00
|
|
|
%files common -f %{name}.lang
|
2010-04-23 14:40:09 +00:00
|
|
|
%dir %{qemudocdir}
|
2009-03-02 20:23:54 +00:00
|
|
|
%doc %{qemudocdir}/Changelog
|
2017-03-15 16:01:07 +00:00
|
|
|
%doc %{qemudocdir}/qemu-ga-ref.html
|
|
|
|
%doc %{qemudocdir}/qemu-ga-ref.txt
|
|
|
|
%doc %{qemudocdir}/qemu-qmp-ref.html
|
|
|
|
%doc %{qemudocdir}/qemu-qmp-ref.txt
|
2019-11-12 20:47:45 +00:00
|
|
|
%doc %{qemudocdir}/README.rst
|
2020-03-25 20:22:54 +00:00
|
|
|
%doc %{qemudocdir}/index.html
|
2019-03-20 20:57:15 +00:00
|
|
|
%doc %{qemudocdir}/interop
|
2019-07-11 20:04:49 +00:00
|
|
|
%doc %{qemudocdir}/specs
|
2020-03-25 20:22:54 +00:00
|
|
|
%doc %{qemudocdir}/system
|
|
|
|
%doc %{qemudocdir}/tools
|
|
|
|
%doc %{qemudocdir}/user
|
2019-11-12 20:47:45 +00:00
|
|
|
%license %{qemudocdir}/COPYING
|
|
|
|
%license %{qemudocdir}/COPYING.LIB
|
|
|
|
%license %{qemudocdir}/LICENSE
|
2009-05-20 15:24:23 +00:00
|
|
|
%dir %{_datadir}/%{name}/
|
2019-03-20 20:57:15 +00:00
|
|
|
%{_datadir}/applications/qemu.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
2019-07-25 12:57:58 +00:00
|
|
|
%exclude %{_datadir}/%{name}/qemu-nsis.bmp
|
2009-05-20 15:24:23 +00:00
|
|
|
%{_datadir}/%{name}/keymaps/
|
2016-08-03 17:51:47 +00:00
|
|
|
%{_datadir}/%{name}/trace-events-all
|
2017-03-29 17:01:40 +00:00
|
|
|
%{_datadir}/%{name}/vgabios.bin
|
|
|
|
%{_datadir}/%{name}/vgabios-cirrus.bin
|
|
|
|
%{_datadir}/%{name}/vgabios-qxl.bin
|
|
|
|
%{_datadir}/%{name}/vgabios-stdvga.bin
|
|
|
|
%{_datadir}/%{name}/vgabios-vmware.bin
|
|
|
|
%{_datadir}/%{name}/vgabios-virtio.bin
|
2019-06-18 10:07:55 +00:00
|
|
|
%{_datadir}/%{name}/vgabios-ramfb.bin
|
|
|
|
%{_datadir}/%{name}/vgabios-bochs-display.bin
|
2019-07-11 20:04:49 +00:00
|
|
|
%{_datadir}/%{name}/vgabios-ati.bin
|
2017-03-29 17:01:40 +00:00
|
|
|
%{_datadir}/%{name}/pxe-e1000.rom
|
|
|
|
%{_datadir}/%{name}/efi-e1000.rom
|
|
|
|
%{_datadir}/%{name}/pxe-e1000e.rom
|
|
|
|
%{_datadir}/%{name}/efi-e1000e.rom
|
|
|
|
%{_datadir}/%{name}/pxe-eepro100.rom
|
|
|
|
%{_datadir}/%{name}/efi-eepro100.rom
|
|
|
|
%{_datadir}/%{name}/pxe-ne2k_pci.rom
|
|
|
|
%{_datadir}/%{name}/efi-ne2k_pci.rom
|
|
|
|
%{_datadir}/%{name}/pxe-pcnet.rom
|
|
|
|
%{_datadir}/%{name}/efi-pcnet.rom
|
|
|
|
%{_datadir}/%{name}/pxe-rtl8139.rom
|
|
|
|
%{_datadir}/%{name}/efi-rtl8139.rom
|
|
|
|
%{_datadir}/%{name}/pxe-virtio.rom
|
|
|
|
%{_datadir}/%{name}/efi-virtio.rom
|
|
|
|
%{_datadir}/%{name}/pxe-vmxnet3.rom
|
|
|
|
%{_datadir}/%{name}/efi-vmxnet3.rom
|
2019-07-11 20:04:49 +00:00
|
|
|
%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
|
2020-01-28 14:48:34 +00:00
|
|
|
%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
|
2009-05-21 06:52:45 +00:00
|
|
|
%{_mandir}/man1/qemu.1*
|
2019-03-20 20:57:15 +00:00
|
|
|
%{_mandir}/man1/qemu-trace-stap.1*
|
2012-07-05 13:45:27 +00:00
|
|
|
%{_mandir}/man1/virtfs-proxy-helper.1*
|
2020-03-25 20:22:54 +00:00
|
|
|
%{_mandir}/man1/virtiofsd.1*
|
2017-11-20 00:00:15 +00:00
|
|
|
%{_mandir}/man7/qemu-block-drivers.7*
|
2018-11-16 00:50:28 +00:00
|
|
|
%{_mandir}/man7/qemu-cpu-models.7*
|
2017-03-15 16:01:07 +00:00
|
|
|
%{_mandir}/man7/qemu-ga-ref.7*
|
|
|
|
%{_mandir}/man7/qemu-qmp-ref.7*
|
2019-03-20 20:57:15 +00:00
|
|
|
%{_bindir}/elf2dmp
|
2018-11-16 00:50:28 +00:00
|
|
|
%{_bindir}/qemu-edid
|
2017-11-20 00:00:15 +00:00
|
|
|
%{_bindir}/qemu-keymap
|
2017-09-22 08:13:19 +00:00
|
|
|
%{_bindir}/qemu-pr-helper
|
2020-03-25 20:22:54 +00:00
|
|
|
%{_bindir}/qemu-storage-daemon
|
2019-03-21 10:35:56 +00:00
|
|
|
%{_bindir}/qemu-trace-stap
|
2019-03-20 20:57:15 +00:00
|
|
|
%{_bindir}/virtfs-proxy-helper
|
2017-09-22 08:13:19 +00:00
|
|
|
%{_unitdir}/qemu-pr-helper.service
|
|
|
|
%{_unitdir}/qemu-pr-helper.socket
|
2013-11-06 00:42:39 +00:00
|
|
|
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
|
2019-07-11 20:04:49 +00:00
|
|
|
%{_libexecdir}/vhost-user-gpu
|
2020-01-28 14:48:34 +00:00
|
|
|
%{_libexecdir}/virtiofsd
|
2016-01-07 20:00:58 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
|
2013-05-25 18:54:03 +00:00
|
|
|
%dir %{_sysconfdir}/qemu
|
|
|
|
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
|
2016-11-11 09:52:23 +00:00
|
|
|
%dir %{_libdir}/qemu
|
2013-05-25 18:54:03 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2011-10-05 15:00:36 +00:00
|
|
|
%files guest-agent
|
|
|
|
%{_bindir}/qemu-ga
|
2015-11-17 20:45:12 +00:00
|
|
|
%{_mandir}/man8/qemu-ga.8*
|
2011-10-05 15:00:36 +00:00
|
|
|
%{_unitdir}/qemu-guest-agent.service
|
2012-03-19 11:03:03 +00:00
|
|
|
%{_udevdir}/99-qemu-guest-agent.rules
|
2017-11-28 09:52:06 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/qemu-ga
|
|
|
|
%{_sysconfdir}/qemu-ga
|
2017-11-28 23:39:08 +00:00
|
|
|
%ghost %{_localstatedir}/log/qga-fsfreeze-hook.log
|
2011-10-05 15:00:36 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2015-11-18 15:28:10 +00:00
|
|
|
%files img
|
|
|
|
%{_bindir}/qemu-img
|
|
|
|
%{_bindir}/qemu-io
|
|
|
|
%{_bindir}/qemu-nbd
|
|
|
|
%{_mandir}/man1/qemu-img.1*
|
|
|
|
%{_mandir}/man8/qemu-nbd.8*
|
|
|
|
|
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
%files block-curl
|
|
|
|
%{_libdir}/qemu/block-curl.so
|
|
|
|
%files block-dmg
|
2016-12-05 01:21:16 +00:00
|
|
|
%{_libdir}/qemu/block-dmg-bz2.so
|
2019-03-01 12:00:47 +00:00
|
|
|
%if %{with_block_gluster}
|
2016-11-11 09:52:23 +00:00
|
|
|
%files block-gluster
|
2019-03-01 12:00:47 +00:00
|
|
|
%{_libdir}/qemu/block-gluster.so
|
|
|
|
%endif
|
2016-11-11 09:52:23 +00:00
|
|
|
%files block-iscsi
|
|
|
|
%{_libdir}/qemu/block-iscsi.so
|
2016-12-05 01:21:16 +00:00
|
|
|
%files block-nfs
|
|
|
|
%{_libdir}/qemu/block-nfs.so
|
2018-12-10 18:39:46 +00:00
|
|
|
%if %{with_block_rbd}
|
2016-11-11 09:52:23 +00:00
|
|
|
%files block-rbd
|
|
|
|
%{_libdir}/qemu/block-rbd.so
|
2018-12-10 18:39:46 +00:00
|
|
|
%endif
|
2016-11-11 09:52:23 +00:00
|
|
|
%files block-ssh
|
|
|
|
%{_libdir}/qemu/block-ssh.so
|
|
|
|
|
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
%files audio-alsa
|
|
|
|
%{_libdir}/qemu/audio-alsa.so
|
|
|
|
%files audio-oss
|
|
|
|
%{_libdir}/qemu/audio-oss.so
|
|
|
|
%files audio-pa
|
|
|
|
%{_libdir}/qemu/audio-pa.so
|
|
|
|
%files audio-sdl
|
|
|
|
%{_libdir}/qemu/audio-sdl.so
|
|
|
|
|
|
|
|
|
|
|
|
%files ui-curses
|
|
|
|
%{_libdir}/qemu/ui-curses.so
|
|
|
|
%files ui-gtk
|
|
|
|
%{_libdir}/qemu/ui-gtk.so
|
|
|
|
%files ui-sdl
|
|
|
|
%{_libdir}/qemu/ui-sdl.so
|
2019-11-15 14:39:29 +00:00
|
|
|
%if %{have_spice}
|
2019-11-12 20:47:45 +00:00
|
|
|
%files ui-spice-app
|
|
|
|
%{_libdir}/qemu/ui-spice-app.so
|
2019-11-15 14:39:29 +00:00
|
|
|
%endif
|
2018-03-21 23:01:36 +00:00
|
|
|
|
|
|
|
|
2015-11-18 15:28:10 +00:00
|
|
|
%files -n ivshmem-tools
|
|
|
|
%{_bindir}/ivshmem-client
|
|
|
|
%{_bindir}/ivshmem-server
|
|
|
|
|
|
|
|
|
|
|
|
%if %{have_kvm}
|
|
|
|
%files kvm
|
|
|
|
# Deliberately empty
|
2016-11-11 09:52:23 +00:00
|
|
|
|
|
|
|
%files kvm-core
|
|
|
|
# Deliberately empty
|
2015-11-18 15:28:10 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%files user
|
2010-03-09 16:18:48 +00:00
|
|
|
%{_bindir}/qemu-i386
|
|
|
|
%{_bindir}/qemu-x86_64
|
2014-03-17 14:01:36 +00:00
|
|
|
%{_bindir}/qemu-aarch64
|
2018-03-21 23:01:36 +00:00
|
|
|
%{_bindir}/qemu-aarch64_be
|
2008-06-11 11:03:50 +00:00
|
|
|
%{_bindir}/qemu-alpha
|
2008-03-24 21:23:41 +00:00
|
|
|
%{_bindir}/qemu-arm
|
|
|
|
%{_bindir}/qemu-armeb
|
2008-06-11 11:03:50 +00:00
|
|
|
%{_bindir}/qemu-cris
|
2017-03-15 16:01:07 +00:00
|
|
|
%{_bindir}/qemu-hppa
|
2008-03-24 21:23:41 +00:00
|
|
|
%{_bindir}/qemu-m68k
|
2012-10-19 07:51:50 +00:00
|
|
|
%{_bindir}/qemu-microblaze
|
|
|
|
%{_bindir}/qemu-microblazeel
|
2008-03-24 21:23:41 +00:00
|
|
|
%{_bindir}/qemu-mips
|
|
|
|
%{_bindir}/qemu-mipsel
|
2013-05-21 16:12:56 +00:00
|
|
|
%{_bindir}/qemu-mips64
|
|
|
|
%{_bindir}/qemu-mips64el
|
|
|
|
%{_bindir}/qemu-mipsn32
|
|
|
|
%{_bindir}/qemu-mipsn32el
|
2017-03-15 16:01:07 +00:00
|
|
|
%{_bindir}/qemu-nios2
|
|
|
|
%{_bindir}/qemu-or1k
|
2011-07-26 10:48:36 +00:00
|
|
|
%{_bindir}/qemu-ppc
|
|
|
|
%{_bindir}/qemu-ppc64
|
|
|
|
%{_bindir}/qemu-ppc64abi32
|
2014-07-04 19:08:59 +00:00
|
|
|
%{_bindir}/qemu-ppc64le
|
2018-03-21 23:01:36 +00:00
|
|
|
%{_bindir}/qemu-riscv32
|
|
|
|
%{_bindir}/qemu-riscv64
|
2012-10-19 07:51:50 +00:00
|
|
|
%{_bindir}/qemu-s390x
|
2008-06-11 11:03:50 +00:00
|
|
|
%{_bindir}/qemu-sh4
|
|
|
|
%{_bindir}/qemu-sh4eb
|
2011-07-26 10:48:36 +00:00
|
|
|
%{_bindir}/qemu-sparc
|
|
|
|
%{_bindir}/qemu-sparc32plus
|
|
|
|
%{_bindir}/qemu-sparc64
|
2018-03-26 21:03:23 +00:00
|
|
|
%{_bindir}/qemu-tilegx
|
|
|
|
%{_bindir}/qemu-xtensa
|
|
|
|
%{_bindir}/qemu-xtensaeb
|
2016-07-13 12:42:21 +00:00
|
|
|
|
2020-03-25 20:22:54 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-i386*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-x86_64*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-aarch64*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-alpha*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-arm*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-cris*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-hppa*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-m68k*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-microblaze*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-mips*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-nios2*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-or1k*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-ppc*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-riscv*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-s390x*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-sh4*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-sparc*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-tilegx*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-xtensa*.stp
|
|
|
|
|
2016-07-13 12:42:21 +00:00
|
|
|
|
|
|
|
%files user-binfmt
|
|
|
|
%{_exec_prefix}/lib/binfmt.d/qemu-*-dynamic.conf
|
|
|
|
|
|
|
|
%if %{user_static}
|
|
|
|
%files user-static
|
2018-03-26 21:03:23 +00:00
|
|
|
# Just use wildcard matches here: we will catch any new/missing files
|
|
|
|
# in the qemu-user filelists
|
2016-07-13 12:42:21 +00:00
|
|
|
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
|
2018-03-26 21:03:23 +00:00
|
|
|
%{_bindir}/qemu-*-static
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-*-static.stp
|
2016-07-13 12:42:21 +00:00
|
|
|
%endif
|
2010-11-03 17:20:53 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-aarch64
|
|
|
|
%files system-aarch64-core
|
|
|
|
%{_bindir}/qemu-system-aarch64
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-aarch64.1*
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2010-11-03 17:20:53 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%files system-alpha
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-alpha-core
|
2012-10-19 08:14:23 +00:00
|
|
|
%{_bindir}/qemu-system-alpha
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-alpha.1*
|
2012-10-19 08:14:23 +00:00
|
|
|
%{_datadir}/%{name}/palcode-clipper
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%files system-arm
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-arm-core
|
2008-03-24 21:23:41 +00:00
|
|
|
%{_bindir}/qemu-system-arm
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-arm.1*
|
2013-06-15 16:41:18 +00:00
|
|
|
|
2010-11-03 17:20:53 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%files system-cris
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-cris-core
|
2011-03-02 17:09:57 +00:00
|
|
|
%{_bindir}/qemu-system-cris
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-cris*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-cris.1*
|
2010-11-03 17:20:53 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-hppa
|
|
|
|
%files system-hppa-core
|
|
|
|
%{_bindir}/qemu-system-hppa
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-hppa*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-hppa.1*
|
|
|
|
%{_datadir}/%{name}/hppa-firmware.img
|
|
|
|
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-lm32
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-lm32-core
|
2012-10-19 08:05:06 +00:00
|
|
|
%{_bindir}/qemu-system-lm32
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-lm32*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-lm32.1*
|
2012-10-19 08:05:06 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%files system-m68k
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-m68k-core
|
2009-03-02 20:23:54 +00:00
|
|
|
%{_bindir}/qemu-system-m68k
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-m68k*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-m68k.1*
|
2010-11-03 17:20:53 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%files system-microblaze
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-microblaze-core
|
2012-10-19 08:14:23 +00:00
|
|
|
%{_bindir}/qemu-system-microblaze
|
|
|
|
%{_bindir}/qemu-system-microblazeel
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-microblaze*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-microblaze.1*
|
|
|
|
%{_mandir}/man1/qemu-system-microblazeel.1*
|
2012-10-19 08:14:23 +00:00
|
|
|
%{_datadir}/%{name}/petalogix*.dtb
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-mips
|
|
|
|
%files system-mips-core
|
|
|
|
%{_bindir}/qemu-system-mips
|
|
|
|
%{_bindir}/qemu-system-mipsel
|
|
|
|
%{_bindir}/qemu-system-mips64
|
|
|
|
%{_bindir}/qemu-system-mips64el
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-mips.1*
|
|
|
|
%{_mandir}/man1/qemu-system-mipsel.1*
|
|
|
|
%{_mandir}/man1/qemu-system-mips64el.1*
|
|
|
|
%{_mandir}/man1/qemu-system-mips64.1*
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
|
|
|
|
%files system-moxie
|
|
|
|
%files system-moxie-core
|
|
|
|
%{_bindir}/qemu-system-moxie
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-moxie*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-moxie.1*
|
|
|
|
|
|
|
|
|
|
|
|
%files system-nios2
|
|
|
|
%files system-nios2-core
|
|
|
|
%{_bindir}/qemu-system-nios2
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-nios2*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-nios2.1*
|
|
|
|
|
|
|
|
|
|
|
|
%files system-or1k
|
2017-03-15 16:01:07 +00:00
|
|
|
%files system-or1k-core
|
|
|
|
%{_bindir}/qemu-system-or1k
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-or1k*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-or1k.1*
|
2012-10-19 08:05:06 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-ppc
|
|
|
|
%files system-ppc-core
|
|
|
|
%{_bindir}/qemu-system-ppc
|
|
|
|
%{_bindir}/qemu-system-ppc64
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-ppc*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-ppc.1*
|
|
|
|
%{_mandir}/man1/qemu-system-ppc64.1*
|
|
|
|
%{_datadir}/%{name}/bamboo.dtb
|
|
|
|
%{_datadir}/%{name}/canyonlands.dtb
|
|
|
|
%{_datadir}/%{name}/qemu_vga.ndrv
|
|
|
|
%{_datadir}/%{name}/skiboot.lid
|
|
|
|
%{_datadir}/%{name}/u-boot.e500
|
|
|
|
%{_datadir}/%{name}/u-boot-sam460-20100605.bin
|
|
|
|
%ifarch %{power64}
|
|
|
|
%{_sysconfdir}/security/limits.d/95-kvm-ppc64-memlock.conf
|
|
|
|
%endif
|
2018-03-21 23:01:36 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
|
|
|
|
%files system-riscv
|
2018-03-21 23:01:36 +00:00
|
|
|
%files system-riscv-core
|
|
|
|
%{_bindir}/qemu-system-riscv32
|
|
|
|
%{_bindir}/qemu-system-riscv64
|
2019-07-25 12:57:58 +00:00
|
|
|
%{_datadir}/%{name}/opensbi-riscv*.bin
|
2018-03-21 23:01:36 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-riscv*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-riscv*.1*
|
|
|
|
|
|
|
|
|
2020-03-25 20:22:54 +00:00
|
|
|
%files system-rx
|
|
|
|
%files system-rx-core
|
|
|
|
%{_bindir}/qemu-system-rx
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-rx*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-rx.1*
|
|
|
|
|
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
%files system-s390x
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-s390x-core
|
2012-10-19 08:14:23 +00:00
|
|
|
%{_bindir}/qemu-system-s390x
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-s390x.1*
|
2013-05-21 16:12:56 +00:00
|
|
|
%{_datadir}/%{name}/s390-ccw.img
|
2017-08-03 13:12:28 +00:00
|
|
|
%{_datadir}/%{name}/s390-netboot.img
|
2012-10-19 08:14:23 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%files system-sh4
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-sh4-core
|
2008-06-11 11:03:50 +00:00
|
|
|
%{_bindir}/qemu-system-sh4
|
|
|
|
%{_bindir}/qemu-system-sh4eb
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-sh4*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-sh4.1*
|
|
|
|
%{_mandir}/man1/qemu-system-sh4eb.1*
|
2010-11-03 17:20:53 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%files system-sparc
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-sparc-core
|
2012-08-13 14:48:00 +00:00
|
|
|
%{_bindir}/qemu-system-sparc
|
|
|
|
%{_bindir}/qemu-system-sparc64
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-sparc.1*
|
|
|
|
%{_mandir}/man1/qemu-system-sparc64.1*
|
2013-12-03 11:36:52 +00:00
|
|
|
%{_datadir}/%{name}/QEMU,tcx.bin
|
2014-03-17 14:01:36 +00:00
|
|
|
%{_datadir}/%{name}/QEMU,cgthree.bin
|
2012-08-13 14:48:00 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-tricore
|
|
|
|
%files system-tricore-core
|
|
|
|
%{_bindir}/qemu-system-tricore
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-tricore*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-tricore.1*
|
2008-03-24 21:23:41 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
|
|
|
%files system-unicore32
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-unicore32-core
|
2012-10-19 08:05:06 +00:00
|
|
|
%{_bindir}/qemu-system-unicore32
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-unicore32*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-unicore32.1*
|
2012-10-19 08:05:06 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
%files system-x86
|
|
|
|
%files system-x86-core
|
|
|
|
%{_bindir}/qemu-system-i386
|
|
|
|
%{_bindir}/qemu-system-x86_64
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-i386*.stp
|
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
|
|
|
|
%{_mandir}/man1/qemu-system-i386.1*
|
|
|
|
%{_mandir}/man1/qemu-system-x86_64.1*
|
|
|
|
%{_datadir}/%{name}/bios.bin
|
|
|
|
%{_datadir}/%{name}/bios-256k.bin
|
2019-11-14 00:57:10 +00:00
|
|
|
%{_datadir}/%{name}/bios-microvm.bin
|
2019-03-20 20:57:15 +00:00
|
|
|
%{_datadir}/%{name}/kvmvapic.bin
|
2018-03-22 15:31:08 +00:00
|
|
|
%{_datadir}/%{name}/linuxboot.bin
|
|
|
|
%{_datadir}/%{name}/linuxboot_dma.bin
|
|
|
|
%{_datadir}/%{name}/multiboot.bin
|
2019-03-20 20:57:15 +00:00
|
|
|
%{_datadir}/%{name}/pvh.bin
|
|
|
|
%{_datadir}/%{name}/sgabios.bin
|
2018-03-22 15:31:08 +00:00
|
|
|
%if 0%{?need_qemu_kvm}
|
|
|
|
%{_bindir}/qemu-kvm
|
|
|
|
%{_mandir}/man1/qemu-kvm.1*
|
2018-07-31 22:39:03 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/modprobe.d/kvm.conf
|
2018-03-22 15:31:08 +00:00
|
|
|
%endif
|
2016-11-11 09:52:23 +00:00
|
|
|
|
2018-03-22 15:31:08 +00:00
|
|
|
|
|
|
|
%files system-xtensa
|
2016-11-11 09:52:23 +00:00
|
|
|
%files system-xtensa-core
|
2012-10-19 08:05:06 +00:00
|
|
|
%{_bindir}/qemu-system-xtensa
|
|
|
|
%{_bindir}/qemu-system-xtensaeb
|
2014-11-16 01:39:24 +00:00
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-xtensa*.stp
|
2013-05-25 18:54:03 +00:00
|
|
|
%{_mandir}/man1/qemu-system-xtensa.1*
|
|
|
|
%{_mandir}/man1/qemu-system-xtensaeb.1*
|
2012-10-19 08:05:06 +00:00
|
|
|
|
2015-03-27 19:15:26 +00:00
|
|
|
|
2005-02-13 12:57:23 +00:00
|
|
|
%changelog
|
2020-07-28 03:14:53 +00:00
|
|
|
* Mon Jul 27 2020 Kevin Fenzi <kevin@scrye.com> - 5.0.0-3
|
|
|
|
- Rebuild for new xen
|
|
|
|
|
2020-05-13 17:34:26 +00:00
|
|
|
* Wed May 13 2020 Cole Robinson <crobinso@redhat.com> - 5.0.0-2
|
|
|
|
- Fix iouring hang (bz #1823751)
|
|
|
|
|
2020-05-06 13:27:16 +00:00
|
|
|
* Wed May 06 2020 Cole Robinson <crobinso@redhat.com> - 5.0.0-1
|
|
|
|
- Update to version 5.0.0
|
|
|
|
|
2020-04-16 09:23:57 +00:00
|
|
|
* Thu Apr 16 2020 Cole Robinson <aintdiscole@gmail.com> - 5.0.0-0.3.rc3
|
|
|
|
- Update to qemu 5.0.0 rc3
|
|
|
|
|
2020-04-09 09:45:24 +00:00
|
|
|
* Thu Apr 09 2020 Cole Robinson <aintdiscole@gmail.com> - 5.0.0-0.3.rc2
|
|
|
|
- Update to qemu 5.0.0 rc2
|
|
|
|
|
2020-04-08 00:30:05 +00:00
|
|
|
* Wed Apr 08 2020 Adam Williamson <awilliam@redhat.com> - 2:5.0.0-0.2.rc0
|
|
|
|
- Rebuild for new brltty
|
|
|
|
|
|
|
|
* Wed Mar 25 2020 Cole Robinson <crobinso@redhat.com> - 2:5.0.0-0.1.rc0
|
|
|
|
- Update to qemu-5.0.0-rc0
|
|
|
|
|
2020-03-17 10:12:56 +00:00
|
|
|
* Tue Mar 17 2020 Fabiano Fidêncio <fidencio@redhat.com> - 2:4.2.0-7
|
|
|
|
- Fix segfault with SR-IOV hot-{plug,unplug} (bz #1814017)
|
|
|
|
|
2020-02-25 19:47:44 +00:00
|
|
|
* Tue Feb 25 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-6
|
|
|
|
- Rebuild for libiscsi soname bump
|
|
|
|
|
2020-02-16 02:11:36 +00:00
|
|
|
* Sat Feb 15 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-5
|
|
|
|
- Fix ppc shutdown issue (bz #1784961)
|
|
|
|
|
2020-01-28 14:48:34 +00:00
|
|
|
* Tue Jan 28 2020 Cole Robinson <crobinso@redhat.com> - 2:4.2.0-4
|
|
|
|
- virtio-fs support
|
|
|
|
|
|
|
|
* Sat Jan 25 2020 Richard W.M. Jones <rjones@redhat.com> - 4.2.0-3
|
2020-01-25 09:19:23 +00:00
|
|
|
- Add miscellaneous fixes for RISC-V (RHBZ#1794902).
|
|
|
|
|
2019-12-19 15:55:04 +00:00
|
|
|
* Thu Dec 19 2019 Mohan Boddu <mboddu@bhujji.com> - 4.2.0-2
|
|
|
|
- Rebuild for xen 4.13
|
|
|
|
|
2019-12-13 14:32:23 +00:00
|
|
|
* Fri Dec 13 2019 Cole Robinson <aintdiscole@gmail.com> - 4.2.0-1
|
|
|
|
- Update to qemu-4.2.0 GA
|
|
|
|
|
2019-12-10 21:50:49 +00:00
|
|
|
* Tue Dec 10 2019 Cole Robinson <aintdiscole@gmail.com> - 4.2.0-0.4.rc5
|
|
|
|
- Update to qemu-4.2.0 rc5
|
|
|
|
|
2019-12-02 11:35:47 +00:00
|
|
|
* Mon Dec 2 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:4.2.0-0.3.rc2
|
|
|
|
- Disable RDMA on 32-bit arm (rhbz #1778517)
|
|
|
|
|
2019-11-20 18:06:13 +00:00
|
|
|
* Wed Nov 20 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.2.0-0.2.rc2
|
|
|
|
- Update to qemu-4.2.0 rc2
|
|
|
|
|
2019-11-12 20:47:45 +00:00
|
|
|
* Tue Nov 12 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.2.0-0.1.rc1
|
|
|
|
- Update to qemu-4.2.0 rc1
|
|
|
|
|
2019-11-11 14:33:46 +00:00
|
|
|
* Mon Nov 11 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-6
|
|
|
|
- Fix compressed qcow2 'qemu-img check' errors (bz #1768541)
|
|
|
|
|
2019-10-24 15:34:55 +00:00
|
|
|
* Thu Oct 24 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-5
|
|
|
|
- Workaround for qcow2 triggered XFS corruption (bz #1763519)
|
|
|
|
|
2019-10-03 17:43:23 +00:00
|
|
|
* Thu Oct 03 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-4
|
|
|
|
- Rebuild for new virglrenderer
|
|
|
|
|
2019-09-11 10:33:43 +00:00
|
|
|
* Wed Sep 11 2019 Leigh Scott <leigh123linux@googlemail.com> - 2:4.1.0-3
|
|
|
|
- Rebuild for new libnfs version
|
|
|
|
|
2019-09-04 14:37:55 +00:00
|
|
|
* Wed Sep 04 2019 Cole Robinson <crobinso@redhat.com> - 2:4.1.0-2
|
|
|
|
- gluster 4K block size fixes (bz #1737256)
|
|
|
|
|
2019-08-19 19:19:33 +00:00
|
|
|
* Mon Aug 19 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-1
|
|
|
|
- Update to qemu-4.1.0 GA
|
|
|
|
|
2019-07-24 17:18:46 +00:00
|
|
|
* Wed Jul 17 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-0.1.rc2
|
|
|
|
- Update to qemu-4.1.0-rc2
|
|
|
|
- Re-add libattr for qemu-user-static (bz 1731756)
|
|
|
|
|
2019-07-17 22:45:07 +00:00
|
|
|
* Wed Jul 17 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-0.1.rc1
|
|
|
|
- Update to qemu-4.1.0-rc1
|
|
|
|
|
2019-07-11 20:04:49 +00:00
|
|
|
* Thu Jul 11 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.1.0-0.1.rc0
|
|
|
|
- Update to qemu-4.1.0-rc0
|
|
|
|
|
2019-06-28 20:47:44 +00:00
|
|
|
* Fri Jun 28 2019 Kevin Fenzi <kevin@scrye.com> - 2:4.0.0-5
|
|
|
|
- Rebuild for new brltty.
|
|
|
|
|
2019-06-20 21:31:11 +00:00
|
|
|
* Thu Jun 20 2019 Cole Robinson <crobinso@redhat.com> - 2:4.0.0-4
|
|
|
|
- CVE-2019-12155: qxl: null pointer dereference while releasing spice
|
|
|
|
resources (bz #1712727, bz #1712670)
|
|
|
|
- qemu-4.0.0-2.fc31 ppc64le: rpm hash calculation buggy (bz #1715017)
|
|
|
|
- Fix rawhide build (bz #1718926)
|
|
|
|
- Link against libslirp (bz #1712980)
|
|
|
|
- Add vgabios-ramfb.bin and vgabios-bochs-display.bin (bz #1721445)
|
|
|
|
|
2019-05-14 11:31:27 +00:00
|
|
|
* Tue May 14 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:4.0.0-2
|
|
|
|
- Define md-clear CPUID bit
|
|
|
|
- Resolves: rhbz #1710002 (CVE-2018-12126), rhbz #1710004 (CVE-2018-12127),
|
|
|
|
rhbz #1710003 (CVE-2018-12130), rhbz #1710006 (CVE-2019-11091)
|
|
|
|
|
|
|
|
* Wed Apr 24 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-1
|
2019-04-24 21:18:50 +00:00
|
|
|
- Update to qemu-4.0.0 GA
|
|
|
|
|
2019-04-17 01:48:03 +00:00
|
|
|
* Tue Apr 16 2019 Cole Robinson <crobinso@redhat.com> - 2:4.0.0-0.7.rc3
|
|
|
|
- Don't block migration with nested VMX (bz #1697997)
|
|
|
|
- Update to qemu-4.0.0-rc3
|
|
|
|
|
2019-04-06 15:28:00 +00:00
|
|
|
* Sat Apr 06 2019 Richard W.M. Jones <rjones@redhat.com> - 2:4.0.0-0.6.rc2
|
|
|
|
- Rebuild against xen 4.12.
|
|
|
|
|
2019-04-03 13:46:28 +00:00
|
|
|
* Wed Apr 03 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.5.rc2
|
|
|
|
- Update to 4.0.0-rc2
|
|
|
|
|
2019-03-27 21:28:12 +00:00
|
|
|
* Wed Mar 27 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.4.rc1
|
|
|
|
- Update to 4.0.0-rc1
|
|
|
|
|
2019-03-25 18:49:20 +00:00
|
|
|
* Mon Mar 25 2019 Adam Williamson <awilliam@redhat.com> - 2:4.0.0-0.3.rc0
|
|
|
|
- Backport patch to fix 3D crasher bug (bz #1692323)
|
|
|
|
|
2019-03-21 10:35:56 +00:00
|
|
|
* Thu Mar 21 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.2.rc0
|
|
|
|
- Fix python paths for qemu-trace-stap
|
|
|
|
|
|
|
|
* Wed Mar 20 2019 Cole Robinson <aintdiscole@gmail.com> - 2:4.0.0-0.2.rc0
|
2019-03-20 20:57:15 +00:00
|
|
|
- Update to 4.0.0-rc0
|
|
|
|
|
2019-03-20 16:22:51 +00:00
|
|
|
* Wed Mar 20 2019 Daniel P. Berrangé <berrange@redhat.com> - 2:3.1.0-5
|
|
|
|
- Fix compat with latest glibc which has gettid func
|
|
|
|
|
2019-03-03 22:42:14 +00:00
|
|
|
* Sun Mar 03 2019 Cole Robinson <aintdiscole@gmail.com> - 2:3.1.0-4.3
|
|
|
|
- Temporarily disable glusterfs (bz #1684298)
|
|
|
|
|
2019-02-28 22:00:40 +00:00
|
|
|
* Thu Feb 28 2019 Cole Robinson <aintdiscole@gmail.com> - 2:3.1.0-4.2
|
|
|
|
- Rebuild for brltty soname bump
|
|
|
|
|
2019-02-02 10:30:22 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:3.1.0-4.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-12 07:35:33 +00:00
|
|
|
* Sat Jan 12 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-4
|
|
|
|
- Remove temporary patch and rebuild against fixed capstone.
|
|
|
|
|
2019-01-11 09:16:11 +00:00
|
|
|
* Fri Jan 11 2019 Richard W.M. Jones <rjones@redhat.com> - 2:3.1.0-3
|
|
|
|
- Rebuild for unannounced libcapstone soname bump from 3 to 4.
|
2019-01-11 09:43:39 +00:00
|
|
|
- Add a temporary patch to fix capstone header location.
|
2019-01-11 09:16:11 +00:00
|
|
|
|
2018-12-18 18:35:22 +00:00
|
|
|
* Tue Dec 18 2018 Adam Williamson <awilliam@redhat.com> - 2:3.1.0-1.1
|
|
|
|
- Restore patch to drop phantom 86 key from en-us keymap (bz #1658676)
|
|
|
|
|
2018-12-11 23:40:51 +00:00
|
|
|
* Tue Dec 11 2018 Cole Robinson <crobinso@redhat.com> - 2:3.1.0-1
|
|
|
|
- Rebase to qemu-3.1.0 GA
|
|
|
|
|
2018-12-10 18:39:46 +00:00
|
|
|
* Mon Dec 10 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:3.1.0-0.2.rc1
|
|
|
|
- Disable RBD on 32-bit arches
|
|
|
|
|
2018-11-16 00:50:28 +00:00
|
|
|
* Thu Nov 15 2018 Cole Robinson <crobinso@redhat.com> - 2:3.1.0-0.1.rc1
|
|
|
|
- Rebase to qemu-3.1.0-rc1
|
|
|
|
|
2018-08-15 14:19:27 +00:00
|
|
|
* Wed Aug 15 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-1
|
|
|
|
- Rebase to qemu-3.0.0 GA
|
|
|
|
|
2018-08-13 21:07:28 +00:00
|
|
|
* Mon Aug 13 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-0.2.rc3
|
|
|
|
- Drop ksm package, moved to ksmtuned srpm
|
|
|
|
|
2018-07-31 20:36:31 +00:00
|
|
|
* Tue Jul 31 2018 Cole Robinson <crobinso@redhat.com> - 2:3.0.0-0.1.rc3
|
|
|
|
- Rebase to qemu-3.0.0-rc3
|
|
|
|
- Drop now unneeded s390x conf (bz #1609706)
|
2018-07-31 22:39:03 +00:00
|
|
|
- Only install modprobe kvm.conf on x86 (bz #1517989)
|
2018-07-31 20:36:31 +00:00
|
|
|
|
2018-07-13 10:36:41 +00:00
|
|
|
* Fri Jul 13 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.12.0-4
|
|
|
|
- Rebuild for Xen 4.11
|
|
|
|
|
2018-06-18 12:45:14 +00:00
|
|
|
* Mon Jun 18 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:2.12.0-3
|
|
|
|
- New CPU features for speculative store bypass (CVE-2018-3639)
|
|
|
|
|
2018-06-05 18:28:06 +00:00
|
|
|
* Tue Jun 05 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-2
|
|
|
|
- Fix qxl memslot_get_virt crashes (bz #1565354)
|
|
|
|
|
2018-04-30 16:19:11 +00:00
|
|
|
* Mon Apr 30 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-1
|
|
|
|
- Update to qemu-2.12.0 GA
|
|
|
|
|
2018-04-16 11:09:53 +00:00
|
|
|
* Mon Apr 16 2018 Richard W.M. Jones <rjones@redhat.com> - 2:2.12.0-0.7.rc3
|
|
|
|
- Update to qemu-2.12.0-rc3
|
|
|
|
- Remove upstream patch.
|
|
|
|
- Fixes issues with partition / LV minimum alignment (RHBZ#1565714).
|
|
|
|
|
2018-04-05 18:22:58 +00:00
|
|
|
* Thu Apr 05 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.6.rc2
|
|
|
|
- Update to qemu-2.12.0-rc2
|
|
|
|
|
2018-03-28 15:01:32 +00:00
|
|
|
* Wed Mar 28 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.5.rc1
|
|
|
|
- Update to qemu-2.12.0-rc1
|
|
|
|
|
2018-03-26 21:03:23 +00:00
|
|
|
* Mon Mar 26 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.4.rc0
|
|
|
|
- Enable missing tilegx, xtensa* qemu-user targets
|
|
|
|
|
2018-03-25 11:33:32 +00:00
|
|
|
* Sun Mar 25 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.3.rc0
|
|
|
|
- Generate binfmt configs with qemu-binfmt-conf.sh
|
|
|
|
|
2018-03-23 23:40:00 +00:00
|
|
|
* Fri Mar 23 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.2.rc0
|
|
|
|
- Fix audio and ui module RPM deps
|
|
|
|
- Drop some arch restrictions for rdma, spice, xen, numactl
|
|
|
|
- Fix hppa firmware packaging
|
|
|
|
|
2018-03-21 23:01:36 +00:00
|
|
|
* Thu Mar 22 2018 Cole Robinson <crobinso@redhat.com> - 2:2.12.0-0.1.rc0
|
|
|
|
- Rebase to qemu-2.12.0-rc0
|
|
|
|
- Add hppa and riscv32/64 targets
|
|
|
|
- Add audio and ui modules
|
|
|
|
|
2018-03-19 18:30:49 +00:00
|
|
|
* Mon Mar 19 2018 Daniel P. Berrangé <berrange@redhat.com> - 2:2.11.1-2
|
|
|
|
- Re-enable normal hardened build macros to fix ksmctl.c hardening
|
|
|
|
- Don't strip _FORTIFY_SOURCE from compiler flags
|
|
|
|
- Don't pass -pie as an extra ldflags when we use --enable-pie
|
|
|
|
|
2018-02-28 22:11:13 +00:00
|
|
|
* Wed Feb 28 2018 Cole Robinson <crobinso@redhat.com> - 2:2.11.1-1
|
|
|
|
- Rebase to qemu 2.11.1 bugfix release
|
|
|
|
|
2018-02-27 16:31:19 +00:00
|
|
|
* Tue Feb 27 2018 Daniel P. Berrange <berrange@redhat.com> - 2:2.11.0-5
|
|
|
|
- Improve License tag
|
|
|
|
- Honour CC/LD flags for ksmctl
|
|
|
|
- Fix non-deterministic test failure
|
2018-02-28 10:02:38 +00:00
|
|
|
- Use explicit "python2" binary to avoid "python" brokeness (rhbz#1550010)
|
2018-02-28 18:02:25 +00:00
|
|
|
- Avoid breakage in TLS tests due to stricter crypto policies
|
2018-02-27 16:31:19 +00:00
|
|
|
|
2018-02-09 12:10:24 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.11.0-4.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-12-22 10:38:58 +00:00
|
|
|
* Thu Dec 21 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.11.0-4
|
2017-12-21 16:29:06 +00:00
|
|
|
- Re-enable RBD on arm/ppc (rhbz #1528378)
|
|
|
|
|
2017-12-21 00:51:21 +00:00
|
|
|
* Wed Dec 20 2017 Adam Williamson <awilliam@redhat.com> - 2:2.11.0-3
|
|
|
|
- Fix problem with typing some characters via VNC (LP#1738283)
|
|
|
|
|
2017-12-20 12:05:41 +00:00
|
|
|
* Wed Dec 20 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-2
|
|
|
|
- Rebuild for xen 4.10
|
|
|
|
|
2017-12-18 19:37:02 +00:00
|
|
|
* Mon Dec 18 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-1
|
|
|
|
- Rebase to 2.11.0 GA
|
|
|
|
|
2017-12-04 16:54:22 +00:00
|
|
|
* Mon Dec 04 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-0.3-rc3
|
|
|
|
- Rebase to 2.11.0-rc3
|
|
|
|
|
|
|
|
* Tue Nov 28 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.11.0-0.2.rc2
|
2017-11-28 09:52:06 +00:00
|
|
|
- Fix compilation
|
|
|
|
- Upgrade qemu-ga packaging based on RHEL 7
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Cole Robinson <crobinso@redhat.com> - 2:2.11.0-0.1.rc1
|
|
|
|
- Rebase to 2.11.0-rc1
|
|
|
|
|
2017-10-19 16:59:57 +00:00
|
|
|
* Thu Oct 19 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.1-1
|
|
|
|
- Fix ppc64 KVM failure (bz #1501936)
|
|
|
|
- CVE-2017-15038: 9p: information disclosure when reading extended
|
|
|
|
attributes (bz #1499111)
|
|
|
|
- CVE-2017-15268: potential memory exhaustion via websock connection to VNC
|
|
|
|
(bz #1496882)
|
|
|
|
|
2017-10-17 17:31:38 +00:00
|
|
|
* Tue Oct 17 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-7
|
|
|
|
- Update patch 1014 for new libmultipath/libmpathpersist API
|
|
|
|
- Force build to fail if multipath is not available
|
|
|
|
- Tighten permissions on the qemu-pr-helper socket
|
|
|
|
|
2017-10-09 09:29:00 +00:00
|
|
|
* Mon Oct 9 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.10.0-6
|
|
|
|
- Rebuild for libiscsi changed soname again
|
|
|
|
|
2017-10-03 15:36:43 +00:00
|
|
|
* Tue Oct 03 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-5
|
|
|
|
- Rebuild with new libiscsi for iSER support
|
|
|
|
|
2017-09-28 13:12:58 +00:00
|
|
|
* Thu Sep 28 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-4
|
|
|
|
- Stop using tcmalloc, glibc got faster
|
|
|
|
|
2017-09-22 08:13:19 +00:00
|
|
|
* Fri Sep 22 2017 Paolo Bonzini <pbonzini@redhat.com> - 2:2.10.0-3
|
|
|
|
- Backport persistent reservation manager in preparation for SELinux work
|
|
|
|
- Fix previous patch
|
|
|
|
|
2017-09-18 20:27:33 +00:00
|
|
|
* Mon Sep 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.10.0-2
|
|
|
|
- Fix endianness of e_type in the ppc64le binfmt
|
|
|
|
|
2017-09-07 20:08:24 +00:00
|
|
|
* Thu Sep 07 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-1
|
|
|
|
- Rebase to 2.10.0 GA
|
|
|
|
|
2017-08-29 16:59:07 +00:00
|
|
|
* Tue Aug 29 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.10.0-0.5.rc4
|
|
|
|
- Fix incorrect byte order in e_machine field in ppc64le binfmt (#1486379)
|
|
|
|
|
2017-08-25 22:14:00 +00:00
|
|
|
* Fri Aug 25 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.4.rc4
|
2017-08-25 22:13:05 +00:00
|
|
|
- Rebase to 2.10.0-rc4
|
|
|
|
|
2017-08-23 00:39:41 +00:00
|
|
|
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 2:2.10.0-0.3.rc3
|
|
|
|
- Don't build against rdma on 32-bit ARM (#1484155)
|
|
|
|
|
|
|
|
* Wed Aug 16 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.2.rc3
|
2017-08-16 21:38:41 +00:00
|
|
|
- Rebase to 2.10.0-rc3
|
|
|
|
|
2017-08-23 00:39:41 +00:00
|
|
|
* Thu Aug 03 2017 Cole Robinson <crobinso@redhat.com> - 2:2.10.0-0.1.rc1
|
2017-08-03 13:12:28 +00:00
|
|
|
- Rebase to 2.10.0-rc1
|
|
|
|
|
2017-07-30 13:53:03 +00:00
|
|
|
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2:2.9.0-9
|
|
|
|
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
|
|
2017-07-25 08:35:08 +00:00
|
|
|
* Tue Jul 25 2017 Daniel Berrange <berrange@redhat.com> - 2:2.9.0-8
|
2017-07-26 10:42:02 +00:00
|
|
|
- Disabled RBD on arm & ppc64 (rhbz #1474743)
|
2017-07-25 08:35:08 +00:00
|
|
|
|
2017-07-20 14:36:28 +00:00
|
|
|
* Thu Jul 20 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.9.0-7
|
|
|
|
- Fix binfmt dependencies and post scriptlets
|
|
|
|
- Add binfmt for ppc64le
|
|
|
|
|
|
|
|
* Wed Jul 19 2017 Daniel Berrange <berrange@redhat.com> - 2:2.9.0-6
|
2017-07-19 11:26:23 +00:00
|
|
|
- Fixes for compat with Xen 4.9
|
|
|
|
|
2017-07-18 18:51:21 +00:00
|
|
|
* Tue Jul 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 2:2.9.0-5
|
|
|
|
- Fix ucontext_t references
|
|
|
|
|
2017-07-18 14:28:08 +00:00
|
|
|
* Tue Jul 18 2017 Daniel P. Berrange <berrange@redhat.com> - 2:2.9.0-4
|
|
|
|
- Rebuild for changed Xen sonames
|
|
|
|
|
2017-07-12 22:16:27 +00:00
|
|
|
* Wed Jul 12 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-3
|
|
|
|
- CVE-2017-8112: vmw_pvscsi: infinite loop in pvscsi_log2 (bz #1445622)
|
|
|
|
- CVE-2017-8309: audio: host memory lekage via capture buffer (bz #1446520)
|
|
|
|
- CVE-2017-8379: input: host memory lekage via keyboard events (bz #1446560)
|
|
|
|
- CVE-2017-8380: scsi: megasas: out-of-bounds read in megasas_mmio_write (bz
|
|
|
|
#1446578)
|
|
|
|
- CVE-2017-7493: 9pfs: guest privilege escalation in virtfs mapped-file mode
|
|
|
|
(bz #1451711)
|
|
|
|
- CVE-2017-9503: megasas: null pointer dereference while processing megasas
|
|
|
|
command (bz #1459478)
|
|
|
|
- CVE-2017-10806: usb-redirect: stack buffer overflow in debug logging (bz
|
|
|
|
#1468497)
|
|
|
|
- CVE-2017-9524: nbd: segfault due to client non-negotiation (bz #1460172)
|
|
|
|
- CVE-2017-10664: qemu-nbd: server breaks with SIGPIPE upon client abort (bz
|
|
|
|
#1466192)
|
|
|
|
|
2017-05-22 08:56:26 +00:00
|
|
|
* Mon May 22 2017 Richard W.M. Jones <rjones@redhat.com> - 2:2.9.0-2
|
|
|
|
- Bump release and rebuild to try to fix _ZdlPvm symbol (see RHBZ#1452813).
|
|
|
|
|
2017-04-25 20:03:50 +00:00
|
|
|
* Tue Apr 25 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-1
|
|
|
|
- Rebase to qemu-2.9.0 GA
|
|
|
|
|
2017-04-13 23:25:22 +00:00
|
|
|
* Thu Apr 13 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.2-rc4
|
|
|
|
- Rebase to qemu-2.9.0-rc4
|
|
|
|
- Fix ipxe rom links for aarch64
|
|
|
|
|
2017-04-08 08:39:38 +00:00
|
|
|
* Sat Apr 08 2017 Richard W.M. Jones <rjones@redhat.com> - 2:2.9.0-0.2-rc3
|
|
|
|
- Backport upstream fix for assertion when copy-on-read=true (RHBZ#1439922).
|
|
|
|
|
2017-04-04 22:27:53 +00:00
|
|
|
* Tue Apr 04 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc3
|
|
|
|
- Rebase to qemu-2.9.0-rc3
|
|
|
|
|
2017-03-29 15:43:01 +00:00
|
|
|
* Wed Mar 29 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc2
|
|
|
|
- Rebase to qemu-2.9.0-rc2
|
|
|
|
- Add Obsoletes for or32-or1k rename (bz 1435016)
|
|
|
|
- spec: Pull in vga and pxe roms for ppc64 (bz 1431403)
|
|
|
|
|
2017-03-21 22:42:44 +00:00
|
|
|
* Tue Mar 21 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc1
|
|
|
|
- Rebase to qemu-2.9.0-rc1
|
|
|
|
|
2017-03-15 16:01:07 +00:00
|
|
|
* Wed Mar 15 2017 Cole Robinson <crobinso@redhat.com> - 2:2.9.0-0.1-rc0
|
|
|
|
* Rebase to qemu-2.9.0-rc0
|
|
|
|
|
2017-02-20 17:49:12 +00:00
|
|
|
* Mon Feb 20 2017 Daniel Berrange <berrange@redhat.com> - 2:2.8.0-2
|
|
|
|
- Drop texi2html BR, since QEMU switched to using makeinfo back in 2010
|
|
|
|
|
2017-02-11 11:12:06 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.8.0-1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|